[3.13.y.z extended stable] Patch "KVM: x86: Emulator fixes for eip canonical checks on near branches" has been added to staging queue
Paolo Bonzini
pbonzini at redhat.com
Mon Nov 3 11:17:55 UTC 2014
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
More information about the kernel-team
mailing list