diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-19 19:41:10 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-20 10:00:47 +0300 |
commit | 88dddc11a8d6b09201b4db9d255b3394d9bc9e57 (patch) | |
tree | 286cb8c531c862040deb05e5746f65dacf1c9150 /Documentation/virtual | |
parent | 3b20e03a1066ab2056711166c1b41d421d1ff7b7 (diff) | |
download | linux-88dddc11a8d6b09201b4db9d255b3394d9bc9e57.tar.xz |
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>
Diffstat (limited to 'Documentation/virtual')
0 files changed, 0 insertions, 0 deletions