Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-98719

published

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

Published
18 Oct 2026, 15:46:54 UTC
Updated
19 Oct 2026, 09:24:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux6aef7cf800098749ff5d660222efaf6e01e98c09 to < b1de3ebf59507e0edacaa5cfa2225bc1869e1b63 · 9784e5ca91b37b387f3f414af4340c54f7a63566 to < 0fbc7fec2242de6c3dcea6de55573c428e820173 · 12c1f6e03f944e399bd2c88441dca5dc702b95a5 to < 8abbc76120a74bfba1851bd97528099d715e45c6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.18.55 to < 6.18.56 · 7.2.9 to < 7.2.10 · Other versions: unaffected Affected Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu noble linux-buildinfo-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-buildinfo-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-cloud-tools-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-headers-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-headers-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-hwe-7.0 Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-hwe-7.0-cloud-tools-7.0.0-43 Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-hwe-7.0-headers-7.0.0-43 Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-hwe-7.0-tools-7.0.0-43 Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-image-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-image-unsigned-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-image-unsigned-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-lib-rust-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-modules-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-modules-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-tools-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-tools-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu resolute bpftool Advisory build 7.7.0+7.0.0-43.43 USN-9018-1
Ubuntu resolute linux Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-aws Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-aws-cloud-tools-7.0.0-1017 Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-aws-headers-7.0.0-1017 Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-aws-tools-7.0.0-1017 Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-buildinfo-7.0.0-1016-oracle Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-buildinfo-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-buildinfo-7.0.0-1017-aws Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-buildinfo-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-buildinfo-7.0.0-1017-gcp Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-buildinfo-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-buildinfo-7.0.0-1018-ibm Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-buildinfo-7.0.0-1018-oem Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-buildinfo-7.0.0-43-generic Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-buildinfo-7.0.0-43-generic-64k Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-cloud-tools-7.0.0-1017-aws Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-cloud-tools-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-cloud-tools-7.0.0-43 Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-cloud-tools-7.0.0-43-generic Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-cloud-tools-common Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-gcp Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-gcp-headers-7.0.0-1017 Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-gcp-tools-7.0.0-1017 Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-headers-7.0.0-1016-oracle Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-headers-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-headers-7.0.0-1017-aws Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-headers-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-headers-7.0.0-1017-gcp Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-headers-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-headers-7.0.0-1018-ibm Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-headers-7.0.0-1018-oem Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-headers-7.0.0-43 Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-headers-7.0.0-43-generic Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-headers-7.0.0-43-generic-64k Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-ibm Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-ibm-headers-7.0.0-1018 Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-ibm-tools-7.0.0-1018 Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-image-7.0.0-43-generic Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-image-unsigned-7.0.0-1016-oracle Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-image-unsigned-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-image-unsigned-7.0.0-1017-aws Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-image-unsigned-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-image-unsigned-7.0.0-1017-gcp Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-image-unsigned-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-image-unsigned-7.0.0-1018-ibm Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-image-unsigned-7.0.0-1018-oem Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-image-unsigned-7.0.0-43-generic Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-image-unsigned-7.0.0-43-generic-64k Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-lib-rust-7.0.0-43-generic Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-modules-7.0.0-1016-oracle Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-modules-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-modules-7.0.0-1017-aws Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-modules-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-modules-7.0.0-1017-gcp Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-modules-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-modules-7.0.0-1018-ibm Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-modules-7.0.0-1018-oem Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-modules-7.0.0-43-generic Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-modules-7.0.0-43-generic-64k Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-oem-7.0 Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-oem-7.0-headers-7.0.0-1018 Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-oem-7.0-tools-7.0.0-1018 Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-oracle Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-oracle-headers-7.0.0-1016 Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-oracle-tools-7.0.0-1016 Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-perf Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-source-7.0.0 Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-tools-7.0.0-1016-oracle Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-tools-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18 USN-9018-1
Ubuntu resolute linux-tools-7.0.0-1017-aws Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-tools-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-tools-7.0.0-1017-gcp Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-tools-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19 USN-9018-1
Ubuntu resolute linux-tools-7.0.0-1018-ibm Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-tools-7.0.0-1018-oem Advisory build 7.0.0-1018.18 USN-9018-1
Ubuntu resolute linux-tools-7.0.0-43 Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-tools-7.0.0-43-generic Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-tools-7.0.0-43-generic-64k Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-tools-common Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-tools-host Advisory build 7.0.0-43.43 USN-9018-1

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 6aef7cf800098749ff5d660222efaf6e01e98c09 to < b1de3ebf59507e0edacaa5cfa2225bc1869e1b63 (affected · git)9784e5ca91b37b387f3f414af4340c54f7a63566 to < 0fbc7fec2242de6c3dcea6de55573c428e820173 (affected · git)12c1f6e03f944e399bd2c88441dca5dc702b95a5 to < 8abbc76120a74bfba1851bd97528099d715e45c6 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.18.55 to < 6.18.56 (affected · semver)7.2.9 to < 7.2.10 (affected · semver)Default: unaffected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
4437daf6a9a976e8256edceead8131cdece773fcc0c3a9d87cd509a7dc784096
Ingested
19 Oct 2026, 09:36:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected