Linux
KVM: arm64: nv: Fix handling of XN[0] when !FEAT_XNX
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= d93febe2ed2e0491af9d47f0ee6d4b01918877f4, < b95976c2ea446044553a5f469c0bae13553d75ab
- >= d93febe2ed2e0491af9d47f0ee6d4b01918877f4, < 49b32ddb87a3a109afecea89e55d70f73956b8bc
Fixed in b95976c2ea446044553a5f469c0bae13553d75ab, 49b32ddb87a3a109afecea89e55d70f73956b8bc
- 6.19
Fixed in 0, 7.0.13, 7.1
Mitigation
Upgrade Linux to b95976c2ea446044553a5f469c0bae13553d75ab or 49b32ddb87a3a109afecea89e55d70f73956b8bc or later.
Upgrade Linux to 0 or 7.0.13 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.