From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:35710 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758065AbcDISaZ (ORCPT ); Sat, 9 Apr 2016 14:30:25 -0400 Subject: Patch "KVM: VMX: avoid guest hang on invalid invvpid instruction" has been added to the 4.4-stable tree To: pbonzini@redhat.com, dmatlack@google.com, gregkh@linuxfoundation.org Cc: , From: Date: Sat, 09 Apr 2016 11:30:23 -0700 Message-ID: <1460226623119237@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled KVM: VMX: avoid guest hang on invalid invvpid instruction to the 4.4-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-invvpid-instruction.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From f6870ee9e53430f2a318ccf0dd5e66bb46194e43 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 18 Mar 2016 16:53:42 +0100 Subject: KVM: VMX: avoid guest hang on invalid invvpid instruction From: Paolo Bonzini commit f6870ee9e53430f2a318ccf0dd5e66bb46194e43 upstream. A guest executing an invalid invvpid instruction would hang because the instruction pointer was not updated. Reported-by: jmontleo@redhat.com Tested-by: jmontleo@redhat.com Fixes: 99b83ac893b84ed1a62ad6d1f2b6cc32026b9e85 Reviewed-by: David Matlack Signed-off-by: Paolo Bonzini Signed-off-by: Greg Kroah-Hartman --- arch/x86/kvm/vmx.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -7399,6 +7399,7 @@ static int handle_invvpid(struct kvm_vcp 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-4.4/kvm-vmx-fix-nested-vpid-for-old-kvm-guests.patch queue-4.4/kvm-x86-fix-missed-hardware-breakpoints.patch queue-4.4/kvm-vmx-avoid-guest-hang-on-invalid-invvpid-instruction.patch queue-4.4/kvm-i8254-change-pit-discard-tick-policy.patch queue-4.4/kvm-fix-spin_lock_init-order-on-x86.patch queue-4.4/kvm-vmx-avoid-guest-hang-on-invalid-invept-instruction.patch