# CVE-2026-98472: KVM: SEV: Free have_run_cpus during VM destruction even if VM is no longer SEV

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 6% of CVEs (2026-11-30)
- Published: 2026-10-18T15:15:24.654Z
- Modified: 2026-10-19T10:18:57.743Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6f38f8c574642a822f2e85f079fa29a49176c49c before 6aef7cf800098749ff5d660222efaf6e01e98c09; from 6f38f8c574642a822f2e85f079fa29a49176c49c before 9784e5ca91b37b387f3f414af4340c54f7a63566; from 6f38f8c574642a822f2e85f079fa29a49176c49c before 12c1f6e03f944e399bd2c88441dca5dc702b95a5; 6.17 (not affected: before 6.17; from 6.18.55 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/6aef7cf800098749ff5d660222efaf6e01e98c09>
- <https://git.kernel.org/stable/c/9784e5ca91b37b387f3f414af4340c54f7a63566>
- <https://git.kernel.org/stable/c/12c1f6e03f944e399bd2c88441dca5dc702b95a5>

## Sources

- CVE List: [CVE-2026-98472](https://www.cve.org/CVERecord?id=CVE-2026-98472), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98472](https://nvd.nist.gov/vuln/detail/CVE-2026-98472), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98472 · Whole record: https://cve.day/CVE-2026-98472.json · Rebuilt by cve.day 2026-11-25T22:59:45.193Z
