Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-98719

UNSCOREDEPSS 6%

KVM: SEV: Nullify "have run CPUs" mask pointer when freeing it

Mitigation

  • Upgrade Linux to 8abbc76120a74bfba1851bd97528099d715e45c6 or later.
  • Upgrade Linux to 7.2.10 or later.

Who should check

  • Anyone running Linux >= 6aef7cf800098749ff5d660222efaf6e01e98c09, < b1de3ebf59507e0edacaa5cfa2225bc1869e1b63; >= 9784e5ca91b37b387f3f414af4340c54f7a63566, < 0fbc7fec2242de6c3dcea6de55573c428e820173; >= 12c1f6e03f944e399bd2c88441dca5dc702b95a5, < 8abbc76120a74bfba1851bd97528099d715e45c6
  • Anyone running Linux >= 6.18.55, < 6.18.56; >= 7.2.9, < 7.2.10

Vulnerability facts

Affected
Linux >= 6aef7cf800098749ff5d660222efaf6e01e98c09, < b1de3ebf59507e0edacaa5cfa2225bc1869e1b63; >= 9784e5ca91b37b387f3f414af4340c54f7a63566, < 0fbc7fec2242de6c3dcea6de55573c428e820173; >= 12c1f6e03f944e399bd2c88441dca5dc702b95a5, < 8abbc76120a74bfba1851bd97528099d715e45c6; Linux >= 6.18.55, < 6.18.56; >= 7.2.9, < 7.2.10
Fixed in
Linux 0fbc7fec2242de6c3dcea6de55573c428e820173, Linux 8abbc76120a74bfba1851bd97528099d715e45c6, Linux 6.18.56, Linux 7.2.10
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: SEV: Nullify "have run CPUs" mask pointer when freeing it Nullify have_run_cpus when freeing the mask, particularly in the error path of __sev_guest_init(), so that KVM doesn't have to subtly use sev->active to track whether or not the mask has been freed. As pointed out by Sashiko, blindly freeing the mask in sev_vm_destroy() results in a double-free if the mask is freed if __sev_guest_init() fails. Throw the logic in a helper as nullifying the pointer is frustratingly difficult and weird due to have_run_cpus being a single-entry array when CPUMASK_OFFSTACK=n. Deliberately don't use CPUMASK_VAR_NULL, as it's not directly assignable when the cpumask is on-stack, e.g. requires using a local variable and a memcpy(), which is beyond ridiculous. Furthermore, while clearing the on-stack bitmask is an unnecessary and arguably unwanted side effect, KVM absolutely relies on '0' being the "null" value given that the struct is zero-allocated. Opportunistically add an alloc() helper to pair with free(); there are just enough call sites to make doing so worthwhile.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 6aef7cf800098749ff5d660222efaf6e01e98c09, < b1de3ebf59507e0edacaa5cfa2225bc1869e1b63; >= 9784e5ca91b37b387f3f414af4340c54f7a63566, < 0fbc7fec2242de6c3dcea6de55573c428e820173; >= 12c1f6e03f944e399bd2c88441dca5dc702b95a5, < 8abbc76120a74bfba1851bd97528099d715e45c6—cvelist
Linux>= 6.18.55, < 6.18.56; >= 7.2.9, < 7.2.10—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-98719.md
Affected: Linux >= 6aef7cf800098749ff5d660222efaf6e01e98c09, < b1de3ebf59507e0edacaa5cfa2225bc1869e1b63; >= 9784e5ca91b37b387f3f414af4340c54f7a63566, < 0fbc7fec2242de6c3dcea6de55573c428e820173; >= 12c1f6e03f944e399bd2c88441dca5dc702b95a5, < 8abbc76120a74bfba1851bd97528099d715e45c6; Linux >= 6.18.55, < 6.18.5…
Fixed in: Linux 0fbc7fec2242de6c3dcea6de55573c428e820173, Linux 8abbc76120a74bfba1851bd97528099d715e45c6, Linux 6.18.56, Linux 7.2.10

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.

References

FAQ

Is CVE-2026-98719 being exploited?

There is no confirmed exploitation: CVE-2026-98719 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-98719?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-98719?

Linux >= 6aef7cf800098749ff5d660222efaf6e01e98c09, < b1de3ebf59507e0edacaa5cfa2225bc1869e1b63; >= 9784e5ca91b37b387f3f414af4340c54f7a63566, < 0fbc7fec2242de6c3dcea6de55573c428e820173; >= 12c1f6e03f944e399bd2c88441dca5dc702b95a5, < 8abbc76120a74bfba1851bd97528099d715e45c6; Linux >= 6.18.55, < 6.18.56; >= 7.2.9, < 7.2.10.

Is there a fix for CVE-2026-98719?

Yes. Fixed in Linux 0fbc7fec2242de6c3dcea6de55573c428e820173, Linux 8abbc76120a74bfba1851bd97528099d715e45c6, Linux 6.18.56, Linux 7.2.10. Upgrade Linux to 8abbc76120a74bfba1851bd97528099d715e45c6 or later. Upgrade Linux to 7.2.10 or later.

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

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.

Sponsors