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

Published Oct 18, 2026
·
Updated

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 sevmigratefrom(): src->active = false;

CPU2 running concurrent unmap: Since active is false, the automatic cache flush in sevguestmemoryreclaimed is skipped. The host frees and reallocates the page.

CPU1 in sevmigratefrom(): sevwritebackcaches(srckvm); Executes a hardware cache flush (wbnoinvd), which writes the guest's old dirty ciphertext over the new page owner's data.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    During intra-host SEV migration, perform cache maintenance with sev_writeback_caches(src_kvm) before clearing the source VM's SEV state (before setting src->active = false).

Event History

Oct 18, 2026
CVE Published
via MITRE·03:46 PM
Data Sourced
via MITRE·03:46 PM
Description
Data Sourced
via NVD·04:17 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Linux kernel systems using KVM with SEV are exposed during an intra-host migration of an SEV guest. The race involves the source VM and concurrent guest-memory unmapping or reclaim.

2

What conditions trigger the unsafe behavior?

The source VM's SEV active state must be cleared before its cache maintenance completes, while another CPU concurrently reclaims guest memory. The reclaimed page can be returned to the host and reallocated before the delayed hardware cache flush runs.

3

What is the potential impact of a successful race?

The later cache flush can write the guest's old dirty ciphertext over data belonging to the page's new owner. This can corrupt the newly allocated page's data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203