WSL2-Linux-Kernel/arch/x86/kvm
Jan Kiszka 29bf08f12b KVM: nVMX: Unconditionally uninit the MMU on nested vmexit
Three reasons for doing this: 1. arch.walk_mmu points to arch.mmu anyway
in case nested EPT wasn't in use. 2. this aligns VMX with SVM. But 3. is
most important: nested_cpu_has_ept(vmcs12) queries the VMCS page, and if
one guest VCPU manipulates the page of another VCPU in L2, we may be
fooled to skip over the nested_ept_uninit_mmu_context, leaving mmu in
nested state. That can crash the host later on if nested_ept_get_cr3 is
invoked while L1 already left vmxon and nested.current_vmcs12 became
NULL therefore.

Cc: stable@kernel.org
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2014-01-02 11:22:14 -02:00
..
Kconfig kvm: Add VFIO device 2013-10-30 19:02:03 +01:00
Makefile kvm: Add VFIO device 2013-10-30 19:02:03 +01:00
cpuid.c kvm, cpuid: Fix sparse warning 2013-11-07 12:27:46 +02:00
cpuid.h kvm: Add KVM_GET_EMULATED_CPUID 2013-10-30 18:54:39 +01:00
emulate.c KVM: emulator: cleanup decode_register_operand() a bit 2013-11-05 09:11:30 +02:00
i8254.c
i8254.h
i8259.c
irq.c
irq.h
kvm_cache_regs.h
lapic.c KVM: x86: Fix APIC map calculation after re-enabling 2013-12-30 18:58:17 -02:00
lapic.h KVM: x86: Convert vapic synchronization to _cached functions (CVE-2013-6368) 2013-12-12 22:39:46 +01:00
mmu.c KVM: mmu: change useless int return types to void 2013-10-03 15:44:02 +03:00
mmu.h KVM: mmu: change useless int return types to void 2013-10-03 15:44:02 +03:00
mmu_audit.c kvm: mmu: delay mmu audit activation 2013-11-20 11:12:56 +02:00
mmutrace.h
paging_tmpl.h KVM: mmu: allow page tables to be in read-only slots 2013-09-17 12:52:31 +03:00
pmu.c
svm.c KVM: mmu: change useless int return types to void 2013-10-03 15:44:02 +03:00
trace.h
tss.h
vmx.c KVM: nVMX: Unconditionally uninit the MMU on nested vmexit 2014-01-02 11:22:14 -02:00
x86.c KVM: x86: Convert vapic synchronization to _cached functions (CVE-2013-6368) 2013-12-12 22:39:46 +01:00
x86.h KVM: x86: mask unsupported XSAVE entries from leaf 0Dh index 0 2013-10-03 12:29:04 +03:00