CVE-2026-98718

Source
https://cve.org/CVERecord?id=CVE-2026-98718
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98718.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98718
Downstream
Published
2026-10-18T15:46:53Z
Modified
2026-10-20T02:45:46Z
Summary
KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98718.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
37dfb676fafd1eef36fe0bb649607afbb0d5521b
Fixed
8b7d4f68fef96cebe0b6dbb6e5607772337f7369
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d4cc2dff12116a700add601c0262132cc26e1b2c
Fixed
de83ff6a4d8f3618473bedb3c4400020c22e8a8a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
93de2a6a4b91b72607136dd656edf03fb399d27f
Fixed
973ea70393e885e540f714904e51bc6cac80e3d7

Affected versions

v6.*
v6.18.55
v7.*
v7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98718.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.18.55
Fixed
6.18.56
Type
ECOSYSTEM
Events
Introduced
7.2.9
Fixed
7.2.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98718.json"