mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: nVMX: fix lifetime issues for vmcs02 and shadow VMCS
@ 2014-07-21 12:33 Paolo Bonzini
  2014-07-21 12:33 ` [PATCH 1/2] KVM: nVMX: fix lifetime issues for vmcs02 Paolo Bonzini
  2014-07-21 12:33 ` [PATCH 2/2] KVM: nVMX: clean up nested_release_vmcs12 and code around it Paolo Bonzini
  0 siblings, 2 replies; 3+ messages in thread
From: Paolo Bonzini @ 2014-07-21 12:33 UTC (permalink / raw)
  To: linux-kernel; +Cc: bdas, wanpeng.li, kvm, jan.kiszka, mtosatti

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-21 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-21 12:33 [PATCH 0/2] KVM: nVMX: fix lifetime issues for vmcs02 and shadow VMCS Paolo Bonzini
2014-07-21 12:33 ` [PATCH 1/2] KVM: nVMX: fix lifetime issues for vmcs02 Paolo Bonzini
2014-07-21 12:33 ` [PATCH 2/2] KVM: nVMX: clean up nested_release_vmcs12 and code around it Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®