Jan Kiszka cf64527bb3 KVM: nVMX: Clear pending KVM_REQ_GET_VMCS12_PAGES when leaving nested
Letting this pend may cause nested_get_vmcs12_pages to run against an
invalid state, corrupting the effective vmcs of L1.

This was triggerable in QEMU after a guest corruption in L2, followed by
a L1 reset.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Liran Alon <liran.alon@oracle.com>
Cc: stable@vger.kernel.org
Fixes: 7f7f1ba33cf2 ("KVM: x86: do not load vmcs12 pages while still in SMM")
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-07-22 13:55:46 +02:00
..
2019-07-12 16:06:27 -07:00
2019-07-12 16:03:16 -07:00
2019-07-12 15:35:14 -07:00
2019-07-12 16:06:27 -07:00
2019-07-12 16:06:27 -07:00
2019-07-11 10:09:44 -07:00
2019-07-12 15:41:33 -07:00
2019-07-12 16:06:27 -07:00
2019-07-12 15:38:05 -07:00
2019-07-12 16:03:16 -07:00
2019-07-12 16:03:16 -07:00
2019-07-12 16:06:27 -07:00
2019-07-12 15:41:33 -07:00
2019-07-12 16:03:16 -07:00
2019-07-12 16:06:27 -07:00
2019-07-12 15:13:55 -07:00