[3.13.y.z extended stable] Patch "KVM: x86: Emulator fixes for eip canonical checks on near branches" has been added to staging queue

Kamal Mostafa kamal at canonical.com
Mon Nov 3 18:50:53 UTC 2014


On Mon, 2014-11-03 at 12:17 +0100, Paolo Bonzini wrote:
> 
> On 02/11/2014 09:42, Nadav Amit wrote:
> > > > Dan Carpenter indicated this patch has a bug, so the patch here
> > > > -http://www.spinics.net/lists/kvm/msg109664.html - should go on top of this
> > > > patch.
> > > 
> > > The bug is not breaking anything though, I will send the patch to
> > > Linus this week.
> > 
> > Unfortunately, it does break something. Performing a far jump from
> > 64-bit mode to compatibility mode (cs.l = 0) with RIP >= 2^32 is
> > broken (results in VM-entry failure instead of a #GP). The additional
> > patch fixes it.
> 
> That isn't supposed to happen in the real world though. :)
> 
> The additional patch is now in Linus tree.
> 
> Paolo
> 

Okay, this additional patch is now also queued up for 3.13-stable:

7e46ddd ("KVM: x86: Fix far-jump to non-canonical check")

Thanks Nadav and Paolo!

 -Kamal






More information about the kernel-team mailing list