Thread (3 messages) 3 messages, 3 authors, 2026-02-23

Re: [PATCH v1] KVM: arm64: Revert accidental drop of kvm_uninit_stage2_mmu() for non-NV VMs

From: Marc Zyngier <maz@kernel.org>
Date: 2026-02-23 16:31:34
Also in: kvmarm

On Sun, 22 Feb 2026 08:33:52 +0000, Fuad Tabba wrote:
Commit 0c4762e26879 ("KVM: arm64: nv: Avoid NV stage-2 code when NV is
not supported") added an early return to several functions in
arch/arm64/kvm/nested.c to prevent a UBSAN shift-out-of-bounds error
when accessing the pgt union for non-nested VMs.

However, this early return was inadvertently applied to
kvm_arch_flush_shadow_all() as well, causing it to skip the call to
kvm_uninit_stage2_mmu(kvm) for all non-nested VMs.

[...]
Applied to fixes, thanks!

[1/1] KVM: arm64: Revert accidental drop of kvm_uninit_stage2_mmu() for non-NV VMs
      commit: ec197dca8735f7627e5cff7e3fa8839b53a28514

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