Re: [PATCH] KVM: arm64: Release mmap_lock when using VM_SHARED with MTE

From: Marc Zyngier
Date: Tue Oct 05 2021 - 08:23:36 EST


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.