diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-08-11 11:58:13 +0100 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2016-08-12 12:01:28 +0200 |
commit | 8985d50382359e5bf118fdbefc859d0dbf6cebc7 (patch) | |
tree | 90e23e5a2b3f3e6cce8fa1bfe6d0b3609efb48cd /Documentation/acpi | |
parent | c604cffa93478f8888bec62b23d6073dad03d43a (diff) |
MIPS: KVM: Add missing gfn range check
kvm_mips_handle_mapped_seg_tlb_fault() calculates the guest frame number
based on the guest TLB EntryLo values, however it is not range checked
to ensure it lies within the guest_pmap. If the physical memory the
guest refers to is out of range then dump the guest TLB and emit an
internal error.
Fixes: 858dd5d45733 ("KVM/MIPS32: MMU/TLB operations for the Guest.")
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Cc: <stable@vger.kernel.org> # 3.10.x-
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'Documentation/acpi')
0 files changed, 0 insertions, 0 deletions