Re: [PATCH v2 0/3] KVM: SVM: Fix AVIC Physical ID table UAF
From: Sean Christopherson
Date: Fri Oct 02 2026 - 17:11:54 EST
On Wed, 23 Sep 2026 08:51:05 -0700, Sean Christopherson wrote:
> Naveen's fix to clear AVIC Physical ID table entries if vCPU creation fails,
> to ensure the CPU doesn't access the freed virtual APIC state.
>
> v2: Add prep patches to consolidate the table bounds checks.
>
> v1: https://lore.kernel.org/all/20260903062856.2090499-1-naveen@xxxxxxxxxx
>
> [...]
Applied to kvm-x86 fixes, thanks!
[1/3] KVM: SVM: Add paranoid helper for checking if vCPU is AVIC-addressable
https://github.com/kvm-x86/linux/commit/86a24feec191
[2/3] KVM: SVM: Use "is AVIC-addressable" helper to sanity check load()/put()
https://github.com/kvm-x86/linux/commit/12e0d427c335
[3/3] KVM: SVM: Clear AVIC Physical ID table entry if vCPU creation fails
https://github.com/kvm-x86/linux/commit/88c15bbd43ae
--
https://github.com/kvm-x86/kvm-unit-tests/tree/next