{"api_version":"1","generated_at":"2026-11-05T12:02:06+00:00","cve":"CVE-2026-98718","urls":{"html":"https://cve.report/CVE-2026-98718","api":"https://cve.report/api/cve/CVE-2026-98718.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98718","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98718"},"summary":{"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":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:17:25","updated_at":"2026-10-19 10:19:36"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/8b7d4f68fef96cebe0b6dbb6e5607772337f7369","name":"https://git.kernel.org/stable/c/8b7d4f68fef96cebe0b6dbb6e5607772337f7369","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/973ea70393e885e540f714904e51bc6cac80e3d7","name":"https://git.kernel.org/stable/c/973ea70393e885e540f714904e51bc6cac80e3d7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/de83ff6a4d8f3618473bedb3c4400020c22e8a8a","name":"https://git.kernel.org/stable/c/de83ff6a4d8f3618473bedb3c4400020c22e8a8a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98718","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98718","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 37dfb676fafd1eef36fe0bb649607afbb0d5521b 8b7d4f68fef96cebe0b6dbb6e5607772337f7369 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d4cc2dff12116a700add601c0262132cc26e1b2c de83ff6a4d8f3618473bedb3c4400020c22e8a8a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 93de2a6a4b91b72607136dd656edf03fb399d27f 973ea70393e885e540f714904e51bc6cac80e3d7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.55 6.18.56 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.2.9 7.2.10 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/x86/kvm/svm/sev.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"8b7d4f68fef96cebe0b6dbb6e5607772337f7369","status":"affected","version":"37dfb676fafd1eef36fe0bb649607afbb0d5521b","versionType":"git"},{"lessThan":"de83ff6a4d8f3618473bedb3c4400020c22e8a8a","status":"affected","version":"d4cc2dff12116a700add601c0262132cc26e1b2c","versionType":"git"},{"lessThan":"973ea70393e885e540f714904e51bc6cac80e3d7","status":"affected","version":"93de2a6a4b91b72607136dd656edf03fb399d27f","versionType":"git"}]},{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/x86/kvm/svm/sev.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6.18.56","status":"affected","version":"6.18.55","versionType":"semver"},{"lessThan":"7.2.10","status":"affected","version":"7.2.9","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.56","versionStartIncluding":"6.18.55","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.10","versionStartIncluding":"7.2.9","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-10-19T09:24:29.156Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/8b7d4f68fef96cebe0b6dbb6e5607772337f7369"},{"url":"https://git.kernel.org/stable/c/de83ff6a4d8f3618473bedb3c4400020c22e8a8a"},{"url":"https://git.kernel.org/stable/c/973ea70393e885e540f714904e51bc6cac80e3d7"}],"title":"KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98718","datePublished":"2026-10-18T15:46:53.611Z","dateReserved":"2026-09-25T10:25:14.366Z","dateUpdated":"2026-10-19T09:24:29.156Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:17:25","lastModifiedDate":"2026-10-19 10:19:36","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98718","Ordinal":"1","Title":"KVM: SEV: Do cache maintenance on the source VM *before* clearin","CVE":"CVE-2026-98718","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98718","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"KVM: SEV: Do cache maintenance on the source VM *before* clearin"}]}}}