KVM: x86: Fix of previously incomplete fix for CVE-2014-8480
authorNadav Amit <nadav.amit@gmail.com>
Thu, 8 Jan 2015 10:59:03 +0000 (11:59 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 23 Jan 2015 12:56:56 +0000 (13:56 +0100)
commit63ea0a49ae0b145b91ff2b070c01b66fc75854b9
treeae3f08e47d20f4f1dccf8433ca23280c98d828c4
parentcdef511985374dd042a40bb32c1c346c2662c9dc
KVM: x86: Fix of previously incomplete fix for CVE-2014-8480

STR and SLDT with rip-relative operand can cause a host kernel oops.
Mark them as DstMem as well.

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