[PATCH v3 2/3] arm/arm64: KVM: Ensure memslots are within KVM_PHYS_SIZE

Marc Zyngier marc.zyngier at arm.com
Sat Oct 11 02:01:12 PDT 2014


On 2014-10-10 11:14, Christoffer Dall wrote:
> 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.
>
> Signed-off-by: Christoffer Dall <christoffer.dall at linaro.org>

Acked-by: Marc Zyngier <marc.zyngier at arm.com>

         M.
-- 
Fast, cheap, reliable. Pick two.



More information about the linux-arm-kernel mailing list