[PATCH 0/2] KVM: nVMX: fix lifetime issues for vmcs02 and shadow VMCS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux