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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-18T15:15:24.654Z
- **Modified:** 2026-10-19T10:18:57.743Z

## Who should check

- Anyone running Linux \>= 6f38f8c574642a822f2e85f079fa29a49176c49c, \< 6aef7cf800098749ff5d660222efaf6e01e98c09; \>= 6f38f8c574642a822f2e85f079fa29a49176c49c, \< 9784e5ca91b37b387f3f414af4340c54f7a63566; \>= 6f38f8c574642a822f2e85f079fa29a49176c49c, \< 12c1f6e03f944e399bd2c88441dca5dc702b95a5
- Anyone running Linux 6.17

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

## Affected and fixed versions

- Linux: \>= 6f38f8c574642a822f2e85f079fa29a49176c49c, \< 6aef7cf800098749ff5d660222efaf6e01e98c09; \>= 6f38f8c574642a822f2e85f079fa29a49176c49c, \< 9784e5ca91b37b387f3f414af4340c54f7a63566; \>= 6f38f8c574642a822f2e85f079fa29a49176c49c, \< 12c1f6e03f944e399bd2c88441dca5dc702b95a5 (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- Upgrade Linux to 12c1f6e03f944e399bd2c88441dca5dc702b95a5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98472. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98472.md
Affected: Linux >= 6f38f8c574642a822f2e85f079fa29a49176c49c, < 6aef7cf800098749ff5d660222efaf6e01e98c09; >= 6f38f8c574642a822f2e85f079fa29a49176c49c, < 9784e5ca91b37b387f3f414af4340c54f7a63566; >= 6f38f8c574642a822f2e85f079fa29a49176c49c, < 12c1f6e03f944e399bd2c88441dca5dc702b95a5; Linux 6.17
Fixed in: Linux 6aef7cf800098749ff5d660222efaf6e01e98c09, Linux 9784e5ca91b37b387f3f414af4340c54f7a63566, Linux 12c1f6e03f944e399bd2c88441dca5dc702b95a5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98472 being exploited?

There is no confirmed exploitation: CVE-2026-98472 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98472?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98472?

Linux \>= 6f38f8c574642a822f2e85f079fa29a49176c49c, \< 6aef7cf800098749ff5d660222efaf6e01e98c09; \>= 6f38f8c574642a822f2e85f079fa29a49176c49c, \< 9784e5ca91b37b387f3f414af4340c54f7a63566; \>= 6f38f8c574642a822f2e85f079fa29a49176c49c, \< 12c1f6e03f944e399bd2c88441dca5dc702b95a5; Linux 6.17.

### Is there a fix for CVE-2026-98472?

Yes. Fixed in Linux 6aef7cf800098749ff5d660222efaf6e01e98c09, Linux 9784e5ca91b37b387f3f414af4340c54f7a63566, Linux 12c1f6e03f944e399bd2c88441dca5dc702b95a5. Upgrade Linux to 12c1f6e03f944e399bd2c88441dca5dc702b95a5 or later.

### How do I check if I'm affected by CVE-2026-98472?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98472>

HTML: <https://flawdb.com/CVE-2026-98472> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98472>
