Christoffer Dall c3058d5da2 arm/arm64: KVM: Ensure memslots are within KVM_PHYS_SIZE
When creating or moving a memslot, make sure the IPA space is within the
addressable range of the guest.  Otherwise, user space can create too
large a memslot and KVM would try to access potentially unallocated page
table entries when inserting entries in the Stage-2 page tables.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2014-10-14 05:48:25 -07:00
..
2014-08-08 11:14:29 -07:00
2014-08-08 11:00:26 -07:00
2014-08-08 11:00:26 -07:00
2014-08-08 11:00:26 -07:00
2014-08-08 11:00:26 -07:00
2014-08-08 11:00:26 -07:00
2014-07-23 00:51:30 +02:00
2014-08-08 11:14:29 -07:00