Linux
KVM: arm64: nv: Inject SEA if kvm_translate_vncr() can't resolve PFN
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: nv: Inject SEA if kvm_translate_vncr() can't resolve PFN kvm_handle_vncr_abort() assumes that s1_walk_result conveys an abort when kvm_translate_vncr() returns -EFAULT. This is not always the case as it's possible to encounter 'late' failures on the output of S1 translation, e.g. a GFN outside of the memslots. Fix it by preparing an external abort before returning from kvm_translate_vncr(). Get rid of the BUG_ON() in the fault injection path while at it.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2a359e072596fcb2e9e85017a865e3618a2fe5b5, < 4ead4def04659739c399bfcb063f8a906194c79f
- >= 2a359e072596fcb2e9e85017a865e3618a2fe5b5, < 53804b6839573c9c6fff5f4cf075d6746267345e
- >= 2a359e072596fcb2e9e85017a865e3618a2fe5b5, < 9f3e83345a56280efffe235c65593c7e544c0fcc
Fixed in 4ead4def04659739c399bfcb063f8a906194c79f, 53804b6839573c9c6fff5f4cf075d6746267345e, 9f3e83345a56280efffe235c65593c7e544c0fcc
- 6.16
Fixed in 0, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 4ead4def04659739c399bfcb063f8a906194c79f or 53804b6839573c9c6fff5f4cf075d6746267345e or 9f3e83345a56280efffe235c65593c7e544c0fcc 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.