commit | 90f6e150e44a0dc3883110eeb3ab35d1be42b6bb | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Thu Mar 16 18:20:49 2017 +0000 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Mon Mar 20 10:48:32 2017 +0000 |
tree | 50939fe5740001b0f66c5682d66647a701047126 | |
parent | 955a3fc6d2a1c11d6d00bce4f3816100ce0530cf [diff] |
arm/arm64: KVM: Take mmap_sem in stage2_unmap_vm We don't hold the mmap_sem while searching for the VMAs when we try to unmap each memslot for a VM. Fix this properly to avoid unexpected results. Fixes: commit 957db105c997 ("arm/arm64: KVM: Introduce stage2_unmap_vm") Cc: stable@vger.kernel.org # v3.19+ Reviewed-by: Christoffer Dall <cdall@linaro.org> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>