KVM: arm64: Don't leak PFN when kvm_translate_vncr() races MMU notifier
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.397.1.47.2In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: Don't leak PFN when kvm_translate_vncr() races MMU notifier
In the case that kvm_translate_vncr() races with an MMU notifier the early return does not release a reference on the faulted in PFN. Add the necessary call to kvm_release_faultin_page() for the unused PFN.
From the CVE record · Linux
In the Linux kernel’s KVM arm64 code, a race between kvm_translate_vncr() and an MMU notifier can leave a reference to a faulted-in PFN unreleased. An attacker who can trigger this race could cause a PFN reference leak. The input does not specify access requirements or whether user interaction is needed.
Engineers running Linux kernels with KVM arm64 should check their affected versions; none are specified in the input.