CVE-2026-98472

Source
https://cve.org/CVERecord?id=CVE-2026-98472
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98472.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98472
Downstream
Published
2026-10-18T15:15:24Z
Modified
2026-10-19T02:46:16Z
Summary
KVM: SEV: Free have_run_cpus during VM destruction even if VM is no longer SEV
Details

In the Linux kernel, the following vulnerability has been resolved:

KVM: SEV: Free have_run_cpus during VM destruction even if VM is no longer SEV

Unconditionally free SEV's "have run CPUs" cpumask in the VM destroy path, i.e. even for what appear to be non-SEV VMs, as an SEV VM becomes a non-SEV VM if its state is intra-host migrated. Alternatively, the mask could be freed in sev_migrate_from() when "converting" the source VM, but that gets annoying because ideally KVM would nullify the mask to guard against UAF, and nullifying the mask would need be conditioned on CPUMASK_OFFSTACK=y.

Freeing the mask during sev_migrate_from() is also not robust against other KVM bugs, though that's kind of a moot point since any such bugs would show up even if sev->active is never set. I.e. KVM must get that side of things correct. But, that's not a great reason to add more code just to make things marginally less robust.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98472.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6f38f8c574642a822f2e85f079fa29a49176c49c
Fixed
6aef7cf800098749ff5d660222efaf6e01e98c09
Fixed
9784e5ca91b37b387f3f414af4340c54f7a63566
Fixed
12c1f6e03f944e399bd2c88441dca5dc702b95a5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98472.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98472.json"