Thread (10 messages) read the whole thread 10 messages, 3 authors, 2026-03-06

Re: [PATCH v1 0/2] KVM: arm64: Fix a couple of latent bugs in user_mem_abort()

From: Marc Zyngier <maz@kernel.org>
Date: 2026-03-06 10:48:32
Also in: kvm, kvmarm

On Wed, 04 Mar 2026 16:22:20 +0000, Fuad Tabba wrote:
While digging into arch/arm64/kvm/mmu.c with the intention of finally
refactoring user_mem_abort(), I ran into a couple of latent bugs that
we should probably fix right now before attempting any major plumbing.

You might experience some deja-vu looking at the first patch. A while
back (in 5f9466b50c1b), I fixed a struct page reference leak on an
early error return in this exact same block. It turns out that another
early exit was introduced later on (for exclusive/atomic faults), and it
fell into the exact same trap of leaking the page.

[...]
Applied to fixes, thanks!

[1/2] KVM: arm64: Fix page leak in user_mem_abort() on atomic fault
      commit: e07fc9e2da91f6d9eeafa2961be9dc09d65ed633
[2/2] KVM: arm64: Fix vma_shift staleness on nested hwpoison path
      commit: 244acf1976b889b80b234982a70e9550c6f0bab7

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help