HIGH Introduced in 5.17
kvm EnlightenedVmcs Bypass
CVE-2026-98720
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:H
01Description
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.
02KernelScan AI Analysis
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.
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.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.12 | 5.17 | 6.12.113 | 2db11598b59f |
| 6.18 | 5.17 | 6.18.56 | f6189e26d023 |
| 7.2 | 5.17 | 7.2.10 | 1e497e3bdab6 |
| mainline | 5.17 | 7.3 | 2abb25273c82 |
| cip/6.12 | 5.17 | 6.12.114-cip34 | 2db11598b59f |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.114-cip34 |
| cip/6.1 | Affected — no CIP fix yet (latest 6.1.190-cip62) |
| cip/6.1-rt | Affected — no CIP fix yet (latest 6.1.189-cip61-rt32) |