CVE-2026-98718

KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 37dfb676fafd1eef36fe0bb649607afbb0d5521b to before 8b7d4f68fef96cebe0b6dbb6e5607772337f7369Affected
  • d4cc2dff12116a700add601c0262132cc26e1b2c to before de83ff6a4d8f3618473bedb3c4400020c22e8a8aAffected
  • 93de2a6a4b91b72607136dd656edf03fb399d27f to before 973ea70393e885e540f714904e51bc6cac80e3d7Affected
LinuxLinux
  • 6.18.55 to before 6.18.56Affected
  • 7.2.9 to before 7.2.10Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.