{"id":"CVE-2026-98718","revision":"e6ff1969fc454e9fae7be81454173979","records":[{"revision":"e6ff1969fc454e9fae7be81454173979","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98718","aliases":[],"title":"KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state\n\nExplicitly flush caches after intra-host migration before clearing \"SEV\nactive\" on the source VM, as doing cache maintenance afterwards creates a\ntiny window where memory reclaim could return memory to the host without\nperforming a cache flush, e.g. as pointed out by Sashiko:\n\n  CPU1 in sev_migrate_from():\n    src->active = false;\n\n  CPU2 running concurrent unmap:\n    Since active is false, the automatic cache flush in\n    sev_guest_memory_reclaimed is skipped.\n    The host frees and reallocates the page.\n\n  CPU1 in sev_migrate_from():\n    sev_writeback_caches(src_kvm);\n    Executes a hardware cache flush (wbnoinvd), which writes the guest's old\n    dirty ciphertext over the new page owner's data.","state":0,"publishedAt":"2026-10-18T15:46:53.611+00:00","modifiedAt":"2026-10-19T09:24:29.156+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"arch/x86/kvm/svm/sev.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"37dfb676fafd1eef36fe0bb649607afbb0d5521b\",\n                            \"lessThan\": \"8b7d4f68fef96cebe0b6dbb6e5607772337f7369\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d4cc2dff12116a700add601c0262132cc26e1b2c\",\n                            \"lessThan\": \"de83ff6a4d8f3618473bedb3c4400020c22e8a8a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"93de2a6a4b91b72607136dd656edf03fb399d27f\",\n                            \"lessThan\": \"973ea70393e885e540f714904e51bc6cac80e3d7\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"arch/x86/kvm/svm/sev.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.18.55\",\n                            \"lessThan\": \"6.18.56\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.9\",\n                            \"lessThan\": \"7.2.10\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/8b7d4f68fef96cebe0b6dbb6e5607772337f7369","https://git.kernel.org/stable/c/de83ff6a4d8f3618473bedb3c4400020c22e8a8a","https://git.kernel.org/stable/c/973ea70393e885e540f714904e51bc6cac80e3d7"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98718","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98718","identifiers":["CVE-2026-98718"]},"retained":false,"historicalAffected":[]}],"coverage":[]}