Linux
KVM: arm64: nv: Re-translate VNCR before injecting abort
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: nv: Re-translate VNCR before injecting abort KVM faults in the VNCR page with FOLL_WRITE whenever the guest aborts for a write, similar to how a regular stage-2 mapping is handled. It is entirely possible that the guest reads from the VNCR before writing to it, in which case the PFN could only be read-only. Invalidate the VNCR TLB and re-fetch the translation upon taking a VNCR abort, allowing the host mapping to be faulted in for write the second time around. Interestingly enough, this also satisfies the ordering requirements of FEAT_ETS2/3 between descriptor updates and MMU faults.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2a359e072596fcb2e9e85017a865e3618a2fe5b5, < ea7a76d7d614b5f82b4d0785f9af3550e860a71a
- >= 2a359e072596fcb2e9e85017a865e3618a2fe5b5, < 0a5dd8cf4d58ea28da132c2097cd1c525302ac48
- >= 2a359e072596fcb2e9e85017a865e3618a2fe5b5, < bb645aa0a4caeaf7f9cd32e9a948594d434c1a8f
Fixed in ea7a76d7d614b5f82b4d0785f9af3550e860a71a, 0a5dd8cf4d58ea28da132c2097cd1c525302ac48, bb645aa0a4caeaf7f9cd32e9a948594d434c1a8f
- 6.16
Fixed in 0, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to ea7a76d7d614b5f82b4d0785f9af3550e860a71a or 0a5dd8cf4d58ea28da132c2097cd1c525302ac48 or bb645aa0a4caeaf7f9cd32e9a948594d434c1a8f or later.
Upgrade Linux to 0 or 6.18.40 or 7.1.5 or 7.2 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.