Messages in this thread | | | From | Paolo Bonzini <> | Subject | [PATCH 0/2] KVM: nVMX: fix lifetime issues for vmcs02 and shadow VMCS | Date | Mon, 21 Jul 2014 14:33:23 +0200 |
| |
I think that commit 26a865f4aa8e (KVM: VMX: fix use after free of vmx->loaded_vmcs, 2014-01-03) was wrong, as it introduced a use of a dangling vmcs02.
The first patch introduces what I think is the right fix, while the second patch strengthens the invariants around nested_release_vmcs12.
Paolo Bonzini (2): KVM: nVMX: fix lifetime issues for vmcs02 KVM: nVMX: clean up nested_release_vmcs12 and code around it
arch/x86/kvm/vmx.c | 91 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 54 insertions(+), 37 deletions(-)
-- 1.8.3.1
| |