]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: x86: Inter-privilege level ret emulation is not implemeneted
authorNadav Amit <namit@cs.technion.ac.il>
Sun, 15 Jun 2014 13:12:59 +0000 (16:12 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Sep 2014 23:34:15 +0000 (16:34 -0700)
commitf0ed4477b731c45fe4d4f22a657a8854a9664164
treebf02d5104d773689208fba7dcfe9c4f48096dc1c
parentda660d1a92bdbe1b8bf74ec93ac89c4e2371e09b
KVM: x86: Inter-privilege level ret emulation is not implemeneted

commit 9e8919ae793f4edfaa29694a70f71a515ae9942a upstream.

Return unhandlable error on inter-privilege level ret instruction.  This is
since the current emulation does not check the privilege level correctly when
loading the CS, and does not pop RSP/SS as needed.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/emulate.c