Skip to contentSkip to conversation

CVE-2026-46131: KVM: x86: check for nEPT/nNPT in slow flush hypercalls

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 28

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: x86: check for nEPT/nNPT in slow flush hypercalls

Checking is_guest_mode(vcpu) is incorrect, because translate_nested_gpa() is only valid if an L2 guest is running *with nested EPT/NPT enabled*. Instead use the same condition as translate_nested_gpa() itself.

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

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

	Issue introduced in 6.2 with commit aee738236dca0d0870789138ec494e15d6303566 and fixed in 6.6.140 with commit 971f17f5d91045404e3914029ea57c3da90179a4
	Issue introduced in 6.2 with commit aee738236dca0d0870789138ec494e15d6303566 and fixed in 6.12.88 with commit 45fc766bc756ff1d66f8ca026a9c4f7f764adfae
	Issue introduced in 6.2 with commit aee738236dca0d0870789138ec494e15d6303566 and fixed in 6.18.30 with commit d6f4e217d663ede5becc2fd6cb612c749677387b
	Issue introduced in 6.2 with commit aee738236dca0d0870789138ec494e15d6303566 and fixed in 7.0.7 with commit 4c7f8436b19a2a3acc0cb6b6e3becd6796ae5c57
	Issue introduced in 6.2 with commit aee738236dca0d0870789138ec494e15d6303566 and fixed in 7.1-rc3 with commit 464af6fc2b1dcc74005b7f58ee3812b17777efee

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-46131

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/hyperv.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/971f17f5d91045404e3914029ea57c3da90179a4
	https://git.kernel.org/stable/c/45fc766bc756ff1d66f8ca026a9c4f7f764adfae
	https://git.kernel.org/stable/c/d6f4e217d663ede5becc2fd6cb612c749677387b
	https://git.kernel.org/stable/c/4c7f8436b19a2a3acc0cb6b6e3becd6796ae5c57
	https://git.kernel.org/stable/c/464af6fc2b1dcc74005b7f58ee3812b17777efee