# CVE-2026-98718: KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-18T15:46:53.611Z
- Modified: 2026-10-19T10:19:36.047Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 37dfb676fafd1eef36fe0bb649607afbb0d5521b before 8b7d4f68fef96cebe0b6dbb6e5607772337f7369; from d4cc2dff12116a700add601c0262132cc26e1b2c before de83ff6a4d8f3618473bedb3c4400020c22e8a8a; from 93de2a6a4b91b72607136dd656edf03fb399d27f before 973ea70393e885e540f714904e51bc6cac80e3d7; from 6.18.55 before 6.18.56; from 7.2.9 before 7.2.10

## References

- <https://git.kernel.org/stable/c/8b7d4f68fef96cebe0b6dbb6e5607772337f7369>
- <https://git.kernel.org/stable/c/de83ff6a4d8f3618473bedb3c4400020c22e8a8a>
- <https://git.kernel.org/stable/c/973ea70393e885e540f714904e51bc6cac80e3d7>

## Sources

- CVE List: [CVE-2026-98718](https://www.cve.org/CVERecord?id=CVE-2026-98718), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98718](https://nvd.nist.gov/vuln/detail/CVE-2026-98718), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98718 · Whole record: https://cve.day/CVE-2026-98718.json · Rebuilt by cve.day 2026-11-25T22:59:45.279Z
