{"schema":"threatline.record/2","record":{"id":"CVE-2026-98718","aliases":[],"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:\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.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98718","source_modified_at":"2026-10-19T09:24:29.156Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"37dfb676fafd1eef36fe0bb649607afbb0d5521b","lessThan":"8b7d4f68fef96cebe0b6dbb6e5607772337f7369","status":"affected","versionType":"git"},{"version":"d4cc2dff12116a700add601c0262132cc26e1b2c","lessThan":"de83ff6a4d8f3618473bedb3c4400020c22e8a8a","status":"affected","versionType":"git"},{"version":"93de2a6a4b91b72607136dd656edf03fb399d27f","lessThan":"973ea70393e885e540f714904e51bc6cac80e3d7","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98718","source_modified_at":"2026-10-19T09:24:29.156Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.18.55","lessThan":"6.18.56","status":"affected","versionType":"semver"},{"version":"7.2.9","lessThan":"7.2.10","status":"affected","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98718","source_modified_at":"2026-10-19T09:24:29.156Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"8b7d4f68fef96cebe0b6dbb6e5607772337f7369","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98718","source_modified_at":"2026-10-19T09:24:29.156Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"973ea70393e885e540f714904e51bc6cac80e3d7","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98718","source_modified_at":"2026-10-19T09:24:29.156Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"6.18.56","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98718","source_modified_at":"2026-10-19T09:24:29.156Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"7.2.10","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00166,"percentile":0.05526,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:46:53.611Z","modified_at":"2026-10-19T09:24:29.156Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98718","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:24:29.156Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98718","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/8b7d4f68fef96cebe0b6dbb6e5607772337f7369"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/de83ff6a4d8f3618473bedb3c4400020c22e8a8a"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/973ea70393e885e540f714904e51bc6cac80e3d7"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:24:29.156Z","content_hash":"c279303f5605e2a2557413cbd14c3e104ed0e3dcf02ad4005f04dd8df4711921"}}
