[PATCH] KVM: arm64: Release mmap_lock when using VM_SHARED with MTE
Marc Zyngier
maz at kernel.org
Tue Oct 5 05:23:28 PDT 2021
On Tue, 5 Oct 2021 13:20:31 +0100, Quentin Perret wrote:
> VM_SHARED mappings are currently forbidden in a memslot with MTE to
> prevent two VMs racing to sanitise the same page. However, this check
> is performed while holding current->mm's mmap_lock, but fails to release
> it. Fix this by releasing the lock when needed.
Applied to fixes, thanks!
[1/1] KVM: arm64: Release mmap_lock when using VM_SHARED with MTE
commit: 6e6a8ef088e1222cb1250942f51ad9c1ab219ab2
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list