Re: [PATCH v2 0/4] KVM: x86: Hyper-V SEND_IPI fix and partial testcase

From: Sean Christopherson
Date: Fri Feb 14 2025 - 19:51:23 EST


On Fri, 17 Jan 2025 16:34:50 -0800, Sean Christopherson wrote:
> Fix a NULL pointer deref due to exposing Hyper-V enlightments to a guest
> without an in-kernel local APIC (found by syzkaller, highly unlikely to
> affect any "real" VMMs). Expand the Hyper-V CPUID test to verify that KVM
> doesn't incorrectly advertise support.
>
> v2
> - Fix the stable@ email. Hilariously, I was _this_ close to sending this
> with stable@vger.kernel@xxxxxxxxxx instead of stable@xxxxxxxxxxxxxxx,
> *after* I wrote this exact blurb about fat-fingering the email a second
> time. Thankfully, git send-email told me I was being stupid :-)
> - Don't free the system-scoped CPUID entries object. [Vitaly]
> - Collect reviews. [Vitaly]
>
> [...]

Applied to kvm-x86 fixes, thanks!

[1/4] KVM: x86: Reject Hyper-V's SEND_IPI hypercalls if local APIC isn't in-kernel
https://github.com/kvm-x86/linux/commit/a8de7f100bb5
[2/4] KVM: selftests: Mark test_hv_cpuid_e2big() static in Hyper-V CPUID test
https://github.com/kvm-x86/linux/commit/0b6db0dc43ee
[3/4] KVM: selftests: Manage CPUID array in Hyper-V CPUID test's core helper
https://github.com/kvm-x86/linux/commit/cd5a0c2f0fae
[4/4] KVM: selftests: Add CPUID tests for Hyper-V features that need in-kernel APIC
https://github.com/kvm-x86/linux/commit/e36454461c5e

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