Skip to main content
Vulnerability Database/CVE-2026-98715

CVE-2026-98715: Linux Kernel KVM Privilege Escalation Flaw

CVE-2026-98715 is a privilege escalation vulnerability in Linux Kernel KVM that affects TLB flush handling on failed VMRUN operations. This post explains the technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98715 Overview

CVE-2026-98715 affects the Linux kernel's Kernel-based Virtual Machine (KVM) subsystem on AMD CPUs using Secure Virtual Machine (SVM) extensions. The flaw resides in how KVM handles the Virtual Machine Control Block (VMCB) Translation Lookaside Buffer (TLB) control field after a failed VMRUN instruction. KVM previously reset the TLB control field to "do nothing" following a failed VMRUN, which effectively dropped pending TLB flush requests. Because the CPU only performs the requested TLB flush when VMRUN succeeds, clearing the field on failure leaves stale TLB entries intact, creating a potential correctness and isolation hazard between virtual CPUs.

Critical Impact

Dropped TLB flushes on failed VMRUN can leave stale address translations active, risking guest isolation issues on AMD SVM hosts.

Affected Products

  • Linux kernel KVM subsystem (AMD SVM module, arch/x86/kvm/svm)
  • Systems running KVM virtualization on AMD processors
  • Distributions shipping affected upstream kernel versions prior to the fix commits

Discovery Timeline

  • 2026-10-18 - CVE-2026-98715 published to the National Vulnerability Database
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-98715

Vulnerability Analysis

The vulnerability exists in the KVM SVM code path that handles VMRUN failures. Empirical testing confirmed that AMD CPUs execute the TLB flush encoded in the VMCB tlb_ctl field only when VMRUN completes successfully. KVM's prior behavior unconditionally cleared tlb_ctl back to TLB_CONTROL_DO_NOTHING after VMRUN returned, including on failure paths. The result: a pending TLB flush requested before the failed VMRUN is silently lost, and subsequent successful entries into the guest run against stale TLB state. This is a kernel-level correctness defect in a hypervisor hot path, with implications for memory translation integrity across guests sharing a physical CPU.

Root Cause

The root cause is improper state management of the VMCB TLB control field across failed VM entries. The TLB flush semantics are tied to successful VMRUN execution, but KVM treated the field as consumed regardless of outcome. Compounding this, the ASID (Address Space Identifier) reuse condition is tied to the physical CPU, not the virtual CPU, so per-vCPU tracking alone was insufficient to recover a dropped flush.

Attack Vector

The condition is reachable through normal guest execution patterns that cause VMRUN to fail while a TLB flush is pending. A guest can already influence ASID allocation through emulated INIT sequences, which clear the ASID and trigger new_asid(), meaning guest-triggerable flush scenarios exist in the broader code path. Exploitation requires local access to a KVM guest on an AMD SVM host; no network vector applies. No public proof-of-concept exploit is listed for this CVE, and it is not present on the CISA Known Exploited Vulnerabilities catalog.

The upstream fix explicitly tracks the need to flush all ASIDs on a per-pCPU basis and preserves TLB control state across failed VMRUN attempts. See the kernel commits 60d93c2 and fd873c3 for the full patch set.

Detection Methods for CVE-2026-98715

Indicators of Compromise

  • No specific host-side IOCs are published for this vulnerability given its nature as a kernel correctness defect rather than a remote exploit.
  • Unexpected guest memory corruption, stale page table behavior, or VM instability on AMD SVM hosts running unpatched kernels may warrant investigation.

Detection Strategies

  • Inventory Linux hosts running AMD processors with KVM enabled and compare running kernel versions against the fixed commits 60d93c2 and fd873c3.
  • Query package management telemetry (uname -r, rpm -q kernel, dpkg -l linux-image-*) across the fleet to identify unpatched hypervisor hosts.
  • Monitor dmesg and KVM tracepoints such as kvm_entry and kvm_exit for abnormal VMRUN failure rates.

Monitoring Recommendations

  • Track kernel package versions on all virtualization hosts and alert when hosts drift from approved patched baselines.
  • Enable KVM tracing (trace-cmd record -e kvm) during triage of guest instability on AMD SVM hosts.
  • Correlate guest-reported memory anomalies with host kernel version data in your SIEM to prioritize patching of affected hypervisors.

How to Mitigate CVE-2026-98715

Immediate Actions Required

  • Identify all AMD-based Linux hypervisor hosts running KVM and determine their current kernel version.
  • Schedule kernel updates to a version containing commits 60d93c2 and fd873c3, following your organization's change management process for virtualization hosts.
  • Coordinate guest migration or planned downtime so hypervisor hosts can be rebooted into the patched kernel.

Patch Information

The fix is upstream in the Linux kernel. The patch preserves tlb_ctl across failed VMRUN and introduces per-pCPU tracking of the need to flush all ASIDs, aligning KVM's TLB flush accounting with the CPU's actual behavior. Reference commits: Kernel commit 60d93c2 and Kernel commit fd873c3. Apply the vendor-backported kernel from your Linux distribution when available.

Workarounds

  • No supported runtime workaround exists; the defect is in the KVM SVM entry path and requires a kernel update.
  • Where patching must be deferred, limit untrusted guest workloads on affected AMD SVM hosts and avoid co-tenanting sensitive guests on the same physical CPU.
  • Consider temporarily migrating critical workloads to patched hosts or to Intel VMX hosts, which are not affected by this specific SVM code path.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.