{"id":"CVE-2026-98472","aliases":["CVE-2026-98472"],"related":[],"kind":"vulnerability","state":"published","title":"KVM: SEV: Free have_run_cpus during VM destruction even if VM is no longer SEV","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: SEV: Free have_run_cpus during VM destruction even if VM is no longer SEV\n\nUnconditionally free SEV's \"have run CPUs\" cpumask in the VM destroy path,\ni.e. even for what appear to be non-SEV VMs, as an SEV VM becomes a non-SEV\nVM if its state is intra-host migrated.  Alternatively, the mask could be\nfreed in sev_migrate_from() when \"converting\" the source VM, but that gets\nannoying because ideally KVM would nullify the mask to guard against UAF,\nand nullifying the mask would need be conditioned on CPUMASK_OFFSTACK=y.\n\nFreeing the mask during sev_migrate_from() is also not robust against other\nKVM bugs, though that's kind of a moot point since any such bugs would show\nup even if sev->active is never set.  I.e. KVM must get that side of things\ncorrect.  But, that's not a great reason to add more code just to make\nthings marginally less robust.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: SEV: Free have_run_cpus during VM destruction even if VM is no longer SEV\n\nUnconditionally free SEV's \"have run CPUs\" cpumask in the VM destroy path,\ni.e. even for what appear to be non-SEV VMs, as an SEV VM becomes a non-SEV\nVM if its state is intra-host migrated.  Alternatively, the mask could be\nfreed in sev_migrate_from() when \"converting\" the source VM, but that gets\nannoying because ideally KVM would nullify the mask to guard against UAF,\nand nullifying the mask would need be conditioned on CPUMASK_OFFSTACK=y.\n\nFreeing the mask during sev_migrate_from() is also not robust against other\nKVM bugs, though that's kind of a moot point since any such bugs would show\nup even if sev->active is never set.  I.e. KVM must get that side of things\ncorrect.  But, that's not a great reason to add more code just to make\nthings marginally less robust.","source":"cvelist"}],"published":"2026-10-18T15:15:24.654Z","modified":"2026-10-19T10:18:57.743Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6f38f8c574642a822f2e85f079fa29a49176c49c","fixed":"6aef7cf800098749ff5d660222efaf6e01e98c09","status":"affected"},{"type":"git","introduced":"6f38f8c574642a822f2e85f079fa29a49176c49c","fixed":"9784e5ca91b37b387f3f414af4340c54f7a63566","status":"affected"},{"type":"git","introduced":"6f38f8c574642a822f2e85f079fa29a49176c49c","fixed":"12c1f6e03f944e399bd2c88441dca5dc702b95a5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6aef7cf800098749ff5d660222efaf6e01e98c09","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9784e5ca91b37b387f3f414af4340c54f7a63566","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12c1f6e03f944e399bd2c88441dca5dc702b95a5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98472","url":"https://www.cve.org/CVERecord?id=CVE-2026-98472","licence":"CVE Terms of Use","modified":"2026-10-19T09:20:10.096Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98472","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98472","licence":"Public domain","modified":"2026-10-19T10:18:57.743Z"}],"updatedAt":"2026-11-25T22:59:45.193Z","epss":{"score":0.00206,"percentile":0.06036,"date":"2026-11-30T12:00:22.000Z"}}