Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 2a359e072596fcb2e9e85017a865e3618a2fe5b5 before ea7a76d7d614b5f82b4d0785f9af3550e860a71a; affected 2a359e072596fcb2e9e85017a865e3618a2fe5b5 before 0a5dd8cf4d58ea28da132c2097cd1c525302ac48; affected 2a359e072596fcb2e9e85017a865e3618a2fe5b5 before bb645aa0a4caeaf7f9cd32e9a948594d434c1a8f |
| Linux / Linux | affected 6.16; unaffected 0 before 6.16; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.