KernelScan.io

HIGH Introduced in 5.17

kvm EnlightenedVmcs Bypass

CVE-2026-98720

CVSS 7.3 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:H

01

In the Linux kernel, the following vulnerability has been resolved: KVM: nVMX: Force MSR bitmap refresh if runtime eVMCS controls are modified Force a refresh of the vmcs02 MSR bitmap during nested VM-Enter if the runtime eVMCS controls (pin, primary, secondary, etc.) are being updated. If L1 isn't intercepting TPR writes, runs L2 with TPR virtualization, and then runs the same L2 with TPR virtualization disabled, KVM will fail to refresh msr_bitmap02 and leave TPR in passthrough mode even though TPR virtualization is disabled. I.e. failure to refresh the bitmap lets L2 (or L1 by proxy) read and write L0's TPR.

02

Engine v0.9.0

Risk summary

A malicious or compromised L1 nested hypervisor can manipulate eVMCS runtime controls to leave the L2 MSR bitmap in a stale state, allowing the L2 guest (or L1 directly) to read and write the host's Task Priority Register (TPR). This breaks isolation between the nested guest and the host, enabling information disclosure, host interrupt disruption, and potential further privilege escalation. Exploitation requires root privileges on the host to set up nested KVM with Hyper-V enlightened VMCS.

Affectedarch/x86/kvm/vmx/nested.c (KVM nVMX)

Vulnerability analysis

KVM's nested virtualization support uses an optimized MSR bitmap feature for Hyper-V guests. When the nested hypervisor (L1) changes certain processor control settings for a nested guest (L2) — specifically settings that control Task Priority Register (TPR) virtualization — KVM failed to update the MSR bitmap that governs L2's access to model-specific registers. This left the TPR in a passthrough state even after TPR virtualization was turned off, allowing the nested guest (or the nested hypervisor acting on its behalf) to directly read and write the physical host's TPR. The fix ensures that whenever these processor control settings change, KVM marks the MSR bitmap for recalculation so it always matches the current virtualization configuration.

03

BranchIntroducedFixed inPatch commit
6.125.176.12.1132db11598b59f
6.185.176.18.56f6189e26d023
7.25.177.2.101e497e3bdab6
mainline5.177.32abb25273c82
cip/6.125.176.12.114-cip342db11598b59f

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.114-cip34
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)