[PATCH v3 0/2] KVM: x86: Fix VM-Entry fail due to stale CR8 intercept
From: Sean Christopherson
Date: Thu Jun 18 2026 - 13:43:58 EST
Carlos' fix for a bug where KVM neglects to update TPR_THRESHOLD and runs
afoul of VMX's consistency check that the current TPR won't immediately
generate a VM-Exit.
v3: Call get_vmcs12() iff is_guest_mode() is true to workaround a lockdep
false positive. [syzbot]
v2:
- https://lore.kernel.org/all/20260610214523.2905255-2-clopez@xxxxxxx
- Call kvm_lapic_update_cr8_intercept() from apic_update_ppr() instead
of issuing KVM_REQ_EVENTS from handle_tpr_below_threshold().
Carlos López (1):
KVM: x86: Unconditionally recompute CR8 intercept on PPR update
Sean Christopherson (1):
KVM: VMX: Grab vmcs12 on CR8 interception update iff vCPU is in guest
mode
arch/x86/kvm/lapic.c | 2 ++
arch/x86/kvm/vmx/vmx.c | 3 +--
arch/x86/kvm/x86.c | 5 +----
3 files changed, 4 insertions(+), 6 deletions(-)
base-commit: 9d4853b044beefa21c4ee3e18c40653601a64ced
--
2.55.0.rc0.738.g0c8ab3ebcc-goog