Re: [PATCH] KVM: nVMX: Nullify cached vmcs12 pointers if entering VMX operation fails

From: Sean Christopherson

Date: Fri Nov 13 2026 - 11:09:17 EST


On Thu, 22 Oct 2026 13:27:33 -0700, Sean Christopherson wrote:
> Nullify the cached vmcs12 pointers after freeing them if "entering" VMX
> ultimately fails (because of an allocation failure), so that if a stale
> pointer is consumed, KVM hits a NULL pointer dereference instead of a
> use-after-free. I.e. crash the host instead of providing a potential
> guest escape vector if KVM is buggy.
>
>
> [...]

Applied to kvm-x86 vmx, thanks!

[1/1] KVM: nVMX: Nullify cached vmcs12 pointers if entering VMX operation fails
https://github.com/kvm-x86/linux/commit/7597bc333891

--
https://github.com/kvm-x86/linux/tree/next