linux_dsm_epyc7002/arch
Paolo Bonzini 88dddc11a8 KVM: nVMX: do not use dangling shadow VMCS after guest reset
If a KVM guest is reset while running a nested guest, free_nested will
disable the shadow VMCS execution control in the vmcs01.  However,
on the next KVM_RUN vmx_vcpu_run would nevertheless try to sync
the VMCS12 to the shadow VMCS which has since been freed.

This causes a vmptrld of a NULL pointer on my machime, but Jan reports
the host to hang altogether.  Let's see how much this trivial patch fixes.

Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Liran Alon <liran.alon@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-07-20 09:00:47 +02:00
..
alpha Kconfig updates for v5.3 2019-07-12 16:06:27 -07:00
arc Kbuild updates for v5.3 2019-07-12 16:03:16 -07:00
arm ARM: 2019-07-12 15:35:14 -07:00
arm64 Kconfig updates for v5.3 2019-07-12 16:06:27 -07:00
c6x
csky Kconfig updates for v5.3 2019-07-12 16:06:27 -07:00
h8300
hexagon
ia64
m68k
microblaze
mips asm-generic: remove ptrace.h 2019-07-12 15:41:33 -07:00
nds32 Kconfig updates for v5.3 2019-07-12 16:06:27 -07:00
nios2 nios2 update for v5.3-rc1 2019-07-12 15:38:05 -07:00
openrisc dma-mapping updates for Linux 5.3 2019-07-12 15:13:55 -07:00
parisc Kbuild updates for v5.3 2019-07-12 16:03:16 -07:00
powerpc Kbuild updates for v5.3 2019-07-12 16:03:16 -07:00
riscv Kconfig updates for v5.3 2019-07-12 16:06:27 -07:00
s390 KVM: s390: Use kvm_vcpu_wake_up in kvm_s390_vcpu_wakeup 2019-07-20 09:00:45 +02:00
sh asm-generic: remove ptrace.h 2019-07-12 15:41:33 -07:00
sparc
um Kbuild updates for v5.3 2019-07-12 16:03:16 -07:00
unicore32 Kconfig updates for v5.3 2019-07-12 16:06:27 -07:00
x86 KVM: nVMX: do not use dangling shadow VMCS after guest reset 2019-07-20 09:00:47 +02:00
xtensa dma-mapping updates for Linux 5.3 2019-07-12 15:13:55 -07:00
.gitignore
Kconfig