summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/guest.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-08-27 16:10:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-13 09:07:51 -0700
commitf223ee716ec995fd863e5ba1006150c3ea03defc (patch)
treeb064be46aeb77f35a37fba6d5ad4de6d74b51708 /arch/arm64/kvm/guest.c
parent6d02086227037e9dea0e15ae0b59cb9910f047e1 (diff)
arm64: KVM: Fix host crash when injecting a fault into a 32bit guest
commit 126c69a0bd0e441bf6766a5d9bf20de011be9f68 upstream. When injecting a fault into a misbehaving 32bit guest, it seems rather idiotic to also inject a 64bit fault that is only going to corrupt the guest state. This leads to a situation where we perform an illegal exception return at EL2 causing the host to crash instead of killing the guest. Just fix the stupid bug that has been there from day 1. Reported-by: Russell King <rmk+kernel@arm.linux.org.uk> Tested-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm64/kvm/guest.c')
0 files changed, 0 insertions, 0 deletions