From: Paolo Bonzini <pbonzini@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: bdas@redhat.com, wanpeng.li@linux.intel.com, kvm@vger.kernel.org,
jan.kiszka@siemens.com, mtosatti@redhat.com
Subject: [PATCH 0/2] KVM: nVMX: fix lifetime issues for vmcs02 and shadow VMCS
Date: Mon, 21 Jul 2014 14:33:23 +0200 [thread overview]
Message-ID: <1405946005-4228-1-git-send-email-pbonzini@redhat.com> (raw)
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
next reply other threads:[~2014-07-21 12:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-21 12:33 Paolo Bonzini [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1405946005-4228-1-git-send-email-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=bdas@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=wanpeng.li@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®