diff options
| author | Oliver Upton <oupton@kernel.org> | 2026-06-02 16:54:46 -0700 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-06-03 21:06:43 +0100 |
| commit | 9f76b039a72d7e06374aa96862f0232ed53f7787 (patch) | |
| tree | a61e16922337ce94aba3ecefbf37e314372b62e4 /rust/kernel/alloc | |
| parent | a62b4226ae47202eb00306b576859131c4c7196e (diff) | |
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.
Cc: stable@vger.kernel.org
Fixes: 069a05e535496 ("KVM: arm64: nv: Handle VNCR_EL2-triggered faults")
Reported-by: Sashiko (local):gemini-3.1-pro
Signed-off-by: Oliver Upton <oupton@kernel.org>
Link: https://patch.msgid.link/20260602235450.103057-2-oupton@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
