]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: x86: em_ret_far overrides cpl
authorNadav Amit <nadav.amit@gmail.com>
Thu, 11 Dec 2014 11:27:14 +0000 (12:27 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Dec 2014 11:27:32 +0000 (12:27 +0100)
commitab646f54f4fd1a8b9671b8707f0739fdd28ce2b1
tree1c9bdd996c291cc2aaf0d2eeddac426a43ea776e
parent78051e3b7e35722ad3f31dd611f1b34770bddab8
KVM: x86: em_ret_far overrides cpl

commit d50eaa18039b ("KVM: x86: Perform limit checks when assigning EIP")
mistakenly used zero as cpl on em_ret_far. Use the actual one.

Fixes: d50eaa18039b8b848c2285478d0775335ad5e930
Cc: stable@vger.kernel.org
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c