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

Nadav Amit nadav.amit at gmail.com
Sun Nov 2 08:42:33 UTC 2014


> On Nov 1, 2014, at 20:34, Paolo Bonzini <pbonzini at redhat.com> 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.

Nadav



More information about the kernel-team mailing list