Re: [PATCH 0/2] KVM: VMX: Clear vmx->fail on exit to userspace
From: Sean Christopherson
Date: Fri Nov 13 2026 - 11:08:30 EST
On Thu, 22 Oct 2026 12:05:28 -0700, Sean Christopherson wrote:
> Clear vmx->fail before exiting to userspace to report a failed VM-Entry to
> fix a splat triggered by syzkaller where the stale vmx->fail confuses the
> force nested VM-Exit flow. Found on a Google-internal kernel, but the
> reproducer (will attach) works on upstream (but only on CPUs without CET,
> because it generates a VM-Fail by injecting #UD with an error code).
>
> Sean Christopherson (2):
> KVM: VMX: Clear vmx->fail before exiting to userspace on failed
> VM-Enter
> KVM: VMX: Dedup VM-Enter error handling for VM-Fail and VM-Exit
>
> [...]
Applied to kvm-x86 vmx, thanks!
[1/2] KVM: VMX: Clear vmx->fail before exiting to userspace on failed VM-Enter
https://github.com/kvm-x86/linux/commit/40c0e9dd6b6d
[2/2] KVM: VMX: Dedup VM-Enter error handling for VM-Fail and VM-Exit
https://github.com/kvm-x86/linux/commit/df070e4616e7
--
https://github.com/kvm-x86/linux/tree/next