diff options
author | James Hogan <[email protected]> | 2016-08-11 11:58:13 +0100 |
---|---|---|
committer | Radim Krčmář <[email protected]> | 2016-08-12 12:01:28 +0200 |
commit | 8985d50382359e5bf118fdbefc859d0dbf6cebc7 (patch) | |
tree | 90e23e5a2b3f3e6cce8fa1bfe6d0b3609efb48cd /scripts/gdb/linux | |
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 <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim Krčmář" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: <[email protected]> # 3.10.x-
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions