Skip to contentSkip to conversation

CVE-2026-98720: KVM: nVMX: Force MSR bitmap refresh if runtime eVMCS controls are modified

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-98720 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.17 with commit 502d2bf5f2fd7c05adc2d4f057910bd5d4c4c63e and fixed in 6.12.113 with commit 2db11598b59f16ddb6420693f9a4ac4efc3d4789
	Issue introduced in 5.17 with commit 502d2bf5f2fd7c05adc2d4f057910bd5d4c4c63e and fixed in 6.18.56 with commit f6189e26d0237e47e2f04f9cb1e43fd19a9b2f3a
	Issue introduced in 5.17 with commit 502d2bf5f2fd7c05adc2d4f057910bd5d4c4c63e and fixed in 7.2.10 with commit 1e497e3bdab6983deb68a1d26b488027deb4527f
	Issue introduced in 5.17 with commit 502d2bf5f2fd7c05adc2d4f057910bd5d4c4c63e and fixed in 7.3-rc6 with commit 2abb25273c82061dd4670690c81c319c03740bf6

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98720

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	arch/x86/kvm/vmx/nested.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/2db11598b59f16ddb6420693f9a4ac4efc3d4789
	https://git.kernel.org/stable/c/f6189e26d0237e47e2f04f9cb1e43fd19a9b2f3a
	https://git.kernel.org/stable/c/1e497e3bdab6983deb68a1d26b488027deb4527f
	https://git.kernel.org/stable/c/2abb25273c82061dd4670690c81c319c03740bf6