On Thu, Dec 14, 2017 at 10:04:21PM +0100, Christoffer Dall wrote: > From: Marc Zyngier <marc.zyngier@xxxxxxx> > > Commit 5553b142be11e794ebc0805950b2e8313f93d718 upstream. > > VTTBR_BADDR_MASK is used to sanity check the size and alignment of the > VTTBR address. It seems to currently be off by one, thereby only > allowing up to 39-bit addresses (instead of 40-bit) and also > insufficiently checking the alignment. This patch fixes it. > > This patch is the 32bit pendent of Kristina's arm64 fix, and > she deserves the actual kudos for pinpointing that one. > > Fixes: f7ed45be3ba52 ("KVM: ARM: World-switch implementation") > Cc: <stable@xxxxxxxxxxxxxxx> # 3.9 > Reported-by: Kristina Martsenko <kristina.martsenko@xxxxxxx> > Reviewed-by: Christoffer Dall <christoffer.dall@xxxxxxxxxx> > Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx> > Signed-off-by: Christoffer Dall <christoffer.dall@xxxxxxxxxx> > --- > arch/arm/include/asm/kvm_arm.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Now applied, thanks. greg k-h