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

Summary

CVECVE-2026-98718
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-18 16:17:25 UTC
Updated2026-10-19 10:19:36 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 37dfb676fafd1eef36fe0bb649607afbb0d5521b 8b7d4f68fef96cebe0b6dbb6e5607772337f7369 git Not specified
CNA Linux Linux affected d4cc2dff12116a700add601c0262132cc26e1b2c de83ff6a4d8f3618473bedb3c4400020c22e8a8a git Not specified
CNA Linux Linux affected 93de2a6a4b91b72607136dd656edf03fb399d27f 973ea70393e885e540f714904e51bc6cac80e3d7 git Not specified
CNA Linux Linux affected 6.18.55 6.18.56 semver Not specified
CNA Linux Linux affected 7.2.9 7.2.10 semver Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/8b7d4f68fef96cebe0b6dbb6e5607772337f7369 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/973ea70393e885e540f714904e51bc6cac80e3d7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/de83ff6a4d8f3618473bedb3c4400020c22e8a8a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report