CVE-2026-89931: KVM: nVMX: Ensure KVM_REQ_GET_NESTED_STATE_PAGES is cleared on VM-Exit
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
KVM: nVMX: Ensure KVM_REQ_GET_NESTED_STATE_PAGES is cleared on VM-Exit
Always check and clear KVM_REQ_GET_NESTED_STATE_PAGES when emulating a nested VM-Exit to ensure the request is cleared, even when KVM was built with CONFIG_KVM_HYPERV=n, as KVM subtly relies on the "check" to clear the flag and thus avoid double-mapping the vmcs12 pages, e.g. if KVM manages to bail from VM-Enter without processing the request, and then emulates VMLAUNCH or VMRESUME.
The Linux kernel CVE team has assigned CVE-2026-89931 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.8 with commit b4f69df0f65e97fec439130a0d0a8b9c7cc02df2 and fixed in 6.12.110 with commit ae190f2439ca30067927077bf570d4c5edf07a0f Issue introduced in 6.8 with commit b4f69df0f65e97fec439130a0d0a8b9c7cc02df2 and fixed in 6.18.51 with commit 674a3244f07f323f21a106a7bdcaebb6db6a5058 Issue introduced in 6.8 with commit b4f69df0f65e97fec439130a0d0a8b9c7cc02df2 and fixed in 7.2.5 with commit bbec4adc2f340d85f4a77a9ddcddaa6b1f4639c5 Issue introduced in 6.8 with commit b4f69df0f65e97fec439130a0d0a8b9c7cc02df2 and fixed in 7.3-rc1 with commit 11722439fb206c88e6f31be54173efa9880b4ccb
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-89931
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/ae190f2439ca30067927077bf570d4c5edf07a0f https://git.kernel.org/stable/c/674a3244f07f323f21a106a7bdcaebb6db6a5058 https://git.kernel.org/stable/c/bbec4adc2f340d85f4a77a9ddcddaa6b1f4639c5 https://git.kernel.org/stable/c/11722439fb206c88e6f31be54173efa9880b4ccb