CVE-2026-53200: KVM: arm64: nv: Fix handling of XN[0] when !FEAT_XNX
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: nv: Fix handling of XN[0] when !FEAT_XNX
XN has already been extracted from its bitfield position so using FIELD_PREP() on the mask that clears XN[0] is completely broken, having the effect of unconditionally granting execute permissions...
Fix the obvious mistake by manipulating the right bit.
The Linux kernel CVE team has assigned CVE-2026-53200 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.19 with commit d93febe2ed2e0491af9d47f0ee6d4b01918877f4 and fixed in 7.0.13 with commit b95976c2ea446044553a5f469c0bae13553d75ab Issue introduced in 6.19 with commit d93febe2ed2e0491af9d47f0ee6d4b01918877f4 and fixed in 7.1 with commit 49b32ddb87a3a109afecea89e55d70f73956b8bc
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-53200
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/arm64/include/asm/kvm_nested.h
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/b95976c2ea446044553a5f469c0bae13553d75ab https://git.kernel.org/stable/c/49b32ddb87a3a109afecea89e55d70f73956b8bc