[PATCH] KVM: arm64: Mark freed S2 MMUs as invalid
Oliver Upton
oliver.upton at linux.dev
Fri Sep 5 02:41:08 PDT 2025
On Fri, 05 Sep 2025 08:28:59 +0100, Marc Zyngier wrote:
> When freeing an S2 MMU, we free the associated pgd, but omit to
> mark the structure as invalid. Subsequently, a call to
> kvm_nested_s2_unmap() would pick these invalid S2 MMUs and
> pass them down the teardown path.
>
> This ends up with a nasty warning as we try to unmap an unallocated
> set of page tables.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Mark freed S2 MMUs as invalid
https://git.kernel.org/kvmarm/kvmarm/c/34b8f4adedd5
--
Best,
Oliver
More information about the linux-arm-kernel
mailing list