KVM: VMX: Clear vmx->fail on exit to userspace
Status from this message: Applied to kvm-x86 vmx, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: VMX: Clear vmx->fail before exiting to userspace on failed VM-Enterarch/ | +1 | 0 replies | |
| 2/2 | KVM: VMX: Dedup VM-Enter error handling for VM-Fail and VM-Exitarch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] KVM: VMX: Clear vmx->fail on exit to userspace
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
Signature · 1 line
2.56.0.257.gf7497c7d27-goog