[PATCH 0/2] KVM: VMX: Clear vmx->fail on exit to userspace
From: Sean Christopherson
Date: Thu Oct 22 2026 - 15:15:51 EST
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
arch/x86/kvm/vmx/vmx.c | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
base-commit: 164405e8e9a0378c7e1aff2254625a6553a291f1
--
2.56.0.257.gf7497c7d27-goog