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.
Published: 2026-10-18
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Information Exposure through SEV Cache Maintenance
Action: Upgrade Kernel
AI Analysis

Impact

The vulnerability resides in the Linux kernel’s KVM SEV implementation. During an intra‑host migration, the host clears the SEV 'active' flag before performing a hardware cache flush on the source virtual machine. The resulting race creates a brief period in which the host can reclaim memory from the migrated VM. If the host performs a page unmap at that time the automatic cache flush is skipped, allowing the host to reclaim the memory without flushing the stale encrypted data. The stale ciphertext can then overwrite the new page owner's data, exposing sensitive guest memory to the host. This flaw is a data confidentiality issue triggered by improper cache‑maintenance sequencing.

Affected Systems

Linux kernel running KVM with SEV (Secure Encrypted Virtualization) enabled on the host. Any virtual machine that participates in an intra‑host migration of a SEV‑enabled guest is potentially affected. The vulnerability is present on all kernel releases prior to the fix and does not depend on vendor‑specific patches.

Risk and Exploitability

With a CVSS score of 7.5, the flaw presents a moderate to high risk to confidentiality for KVM hosts that manage SEV‑enabled guests. The exploit requires local host privilege and concurrent migration and unmap operations, conditions that arise naturally during normal VM migrations. No public exploit is known and the EPSS score is <1%, but the mechanism is straightforward enough that a skilled adversary could craft a malicious migration scenario. The vulnerability is not listed in the CISA KEV catalog, suggesting no widespread exploited incidents at the time of reporting. Nevertheless, a host that can control memory reclaim operations can read or modify guest memory, which is considered a severe data exposure.

Generated by OpenCVE AI on October 23, 2026 at 07:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the SEV cache‑maintenance fix
  • If an immediate kernel upgrade is not feasible, avoid performing intra‑host migrations of SEV‑enabled virtual machines until the patch is applied
  • Consider temporarily disabling SEV on affected guests or the KVM host until the kernel update is applied

Generated by OpenCVE AI on October 23, 2026 at 07:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 06:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:H'}

threat_severity

Important


Sun, 18 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
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.
Title KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:24:29.156Z

Reserved: 2026-09-25T10:25:14.366Z

Link: CVE-2026-98718

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:25.363

Modified: 2026-10-19T10:19:36.047

Link: CVE-2026-98718

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98718 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T07:45:17Z

Weaknesses
  • CWE-366

    Race Condition within a Thread