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

CVE-2026-98720: Linux Kernel KVM Privilege Escalation

CVE-2026-98720 is a privilege escalation vulnerability in Linux Kernel KVM that allows unauthorized TPR register access. This article covers technical details, affected versions, security impact, and mitigation strategies.

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-98720 Overview

CVE-2026-98720 is a Linux kernel vulnerability in the KVM nested VMX (nVMX) subsystem. The flaw affects how KVM handles enlightened VMCS (eVMCS) runtime control updates during nested VM-Enter. When Level-1 (L1) hypervisors modify runtime eVMCS controls, KVM fails to refresh the vmcs02 MSR bitmap. This leaves the Task Priority Register (TPR) in passthrough mode even after TPR virtualization is disabled for Level-2 (L2) guests.

The condition allows an L2 guest, or L1 acting by proxy, to read and write the Level-0 (L0) host's TPR. The issue has been resolved in the mainline Linux kernel through multiple stable branch backports.

Critical Impact

An L2 guest can read and modify the L0 hypervisor's TPR when nested virtualization uses eVMCS with changing TPR virtualization state, breaking guest isolation boundaries.

Affected Products

  • Linux kernel KVM subsystem (nVMX code path)
  • Hosts running nested virtualization with Hyper-V enlightened VMCS (eVMCS) support
  • Linux stable branches prior to the fix commits 1e497e3, 2abb252, 2db1159, and f6189e2

Discovery Timeline

  • 2026-10-18 - CVE-2026-98720 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-98720

Vulnerability Analysis

The vulnerability lives in KVM's nested VMX implementation, specifically in the handling of enlightened VMCS runtime controls. KVM maintains two VMCS structures when running nested guests: vmcs01 for L1 and vmcs02 for L2. The vmcs02 MSR bitmap determines which Model Specific Register (MSR) accesses by L2 cause VM-Exits to the L0 hypervisor.

When L1 does not intercept TPR writes and executes L2 with TPR virtualization enabled, KVM configures the MSR bitmap to pass through TPR MSR accesses. If L1 subsequently re-enters the same L2 with TPR virtualization disabled, KVM should refresh the bitmap to re-enable interception. The flawed code path skips this refresh when only runtime eVMCS controls (pin-based, primary processor-based, secondary processor-based) change.

This is a kernel logic flaw in state tracking rather than a memory safety bug. The impact is an information disclosure and integrity violation across virtualization privilege rings.

Root Cause

The root cause is missing invalidation of cached MSR bitmap state when runtime eVMCS execution controls are modified between nested VM-Enters. KVM assumed the bitmap derived from prior control values remained valid, but control changes can alter which MSR passthroughs are safe. The fix forces an unconditional bitmap refresh when runtime eVMCS controls are updated.

Attack Vector

Exploitation requires an attacker to control an L1 hypervisor or L2 guest running on a vulnerable Linux KVM host with nested virtualization and eVMCS enabled. The attack sequence manipulates L2 execution with TPR virtualization enabled, then disables it while mutating runtime eVMCS controls. L2 then reads or writes the TPR MSR directly, accessing the L0 host's TPR register. Successful exploitation breaks the isolation boundary between the L0 host and nested guests.

No verified public exploit code is available. See the upstream patches referenced below for technical details of the fix.

Detection Methods for CVE-2026-98720

Indicators of Compromise

  • No specific file-based or network IOCs are published for this kernel-level logic flaw
  • Anomalous nested guest behavior involving unexpected TPR MSR accesses from L2 guests
  • Kernel log anomalies from KVM subsystems on hosts running nested Hyper-V or Windows guests with eVMCS

Detection Strategies

  • Inventory Linux hosts running KVM with nested virtualization enabled using cat /sys/module/kvm_intel/parameters/nested and cat /sys/module/kvm_intel/parameters/enlightened_vmcs
  • Compare running kernel versions against distribution advisories referencing commits 1e497e3bdab6, 2abb25273c82, 2db11598b59f, and f6189e26d023
  • Monitor for guests performing unexpected MSR access patterns targeting the TPR (0x808) in auditd or KVM tracepoints

Monitoring Recommendations

  • Enable KVM tracepoints (kvm:kvm_msr, kvm:kvm_nested_vmenter) on hypervisors running untrusted nested workloads
  • Collect host kernel version telemetry across the virtualization fleet and alert on unpatched versions
  • Review hypervisor host logs for repeated nested VM-Enter sequences with changing execution controls

How to Mitigate CVE-2026-98720

Immediate Actions Required

  • Apply the Linux kernel update from your distribution vendor containing the referenced stable backports
  • Reboot hypervisor hosts after updating to activate the patched kernel
  • Prioritize patching of hosts that run untrusted nested guests or multi-tenant virtualization workloads

Patch Information

The fix forces a vmcs02 MSR bitmap refresh during nested VM-Enter when runtime eVMCS controls are modified. Upstream remediation is available in the following commits: Linux Kernel Commit 1e497e3, Linux Kernel Commit 2abb252, Linux Kernel Commit 2db1159, and Linux Kernel Commit f6189e2.

Workarounds

  • Disable nested virtualization on affected KVM hosts if not required by setting the kvm_intel module parameter nested=0
  • Disable enlightened VMCS support by loading kvm_intel with enlightened_vmcs=0 where Hyper-V enlightenments are not needed
  • Restrict nested virtualization to trusted workloads only until patches are deployed
bash
# Disable nested virtualization and eVMCS until patched
sudo modprobe -r kvm_intel
echo 'options kvm_intel nested=0 enlightened_vmcs=0' | sudo tee /etc/modprobe.d/kvm-intel.conf
sudo modprobe kvm_intel

# Verify settings
cat /sys/module/kvm_intel/parameters/nested
cat /sys/module/kvm_intel/parameters/enlightened_vmcs

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.