CVE-2026-98718
KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state
Check your servers for CVE-2026-98718
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98718 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state
Explicitly flush caches after intra-host migration before clearing "SEV active" on the source VM, as doing cache maintenance afterwards creates a tiny window where memory reclaim could return memory to the host without performing a cache flush, e.g. as pointed out by Sashiko:
CPU1 in sev_migrate_from(): src->active = false;
CPU2 running concurrent unmap: Since active is false, the automatic cache flush in sev_guest_memory_reclaimed is skipped. The host frees and reallocates the page.
CPU1 in sev_migrate_from(): sev_writeback_caches(src_kvm); Executes a hardware cache flush (wbnoinvd), which writes the guest's old dirty ciphertext over the new page owner's data.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.02% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 37dfb676fafd1eef36fe0bb649607afbb0d5521b, before 8b7d4f68fef96cebe0b6dbb6e5607772337f7369 affected from d4cc2dff12116a700add601c0262132cc26e1b2c, before de83ff6a4d8f3618473bedb3c4400020c22e8a8a affected from 93de2a6a4b91b72607136dd656edf03fb399d27f, before 973ea70393e885e540f714904e51bc6cac80e3d7
Other versions: unaffected
|
| Linux |
affected from 6.18.55, before 6.18.56 affected from 7.2.9, before 7.2.10
Other versions: unaffected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98718 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98718
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98718
trivy image --scanners vuln IMAGE | grep CVE-2026-98718
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/8b7d4f68fef96cebe0b6dbb6e5607772337f7369 git.kernel.org
- https://git.kernel.org/stable/c/de83ff6a4d8f3618473bedb3c4400020c22e8a8a git.kernel.org
- https://git.kernel.org/stable/c/973ea70393e885e540f714904e51bc6cac80e3d7 git.kernel.org
Source: the record CVE-2026-98718 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse