[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1405946005-4228-1-git-send-email-pbonzini@redhat.com>
Date: Mon, 21 Jul 2014 14:33:23 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: bdas@...hat.com, wanpeng.li@...ux.intel.com, kvm@...r.kernel.org,
jan.kiszka@...mens.com, mtosatti@...hat.com
Subject: [PATCH 0/2] KVM: nVMX: fix lifetime issues for vmcs02 and shadow VMCS
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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists