* Patch "KVM: VMX: avoid guest hang on invalid invept instruction" has been added to the 3.14-stable tree
@ 2016-04-09 18:40 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-04-09 18:40 UTC (permalink / raw)
To: pbonzini, dmatlack, gregkh; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
KVM: VMX: avoid guest hang on invalid invept instruction
to the 3.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
kvm-vmx-avoid-guest-hang-on-invalid-invept-instruction.patch
and it can be found in the queue-3.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From 2849eb4f99d54925c543db12917127f88b3c38ff Mon Sep 17 00:00:00 2001
From: Paolo Bonzini <pbonzini@redhat.com>
Date: Fri, 18 Mar 2016 16:53:29 +0100
Subject: KVM: VMX: avoid guest hang on invalid invept instruction
From: Paolo Bonzini <pbonzini@redhat.com>
commit 2849eb4f99d54925c543db12917127f88b3c38ff upstream.
A guest executing an invalid invept instruction would hang
because the instruction pointer was not updated.
Fixes: bfd0a56b90005f8c8a004baf407ad90045c2b11e
Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/x86/kvm/vmx.c | 1 +
1 file changed, 1 insertion(+)
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -6423,6 +6423,7 @@ static int handle_invept(struct kvm_vcpu
if (!(types & (1UL << type))) {
nested_vmx_failValid(vcpu,
VMXERR_INVALID_OPERAND_TO_INVEPT_INVVPID);
+ skip_emulated_instruction(vcpu);
return 1;
}
Patches currently in stable-queue which might be from pbonzini@redhat.com are
queue-3.14/kvm-i8254-change-pit-discard-tick-policy.patch
queue-3.14/kvm-fix-spin_lock_init-order-on-x86.patch
queue-3.14/kvm-vmx-avoid-guest-hang-on-invalid-invept-instruction.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-09 18:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-09 18:40 Patch "KVM: VMX: avoid guest hang on invalid invept instruction" has been added to the 3.14-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox