From: Paolo Bonzini Date: Mon, 20 Jan 2025 11:36:40 +0000 (-0500) Subject: Merge tag 'kvm-x86-vcpu_array-6.14' of https://github.com/kvm-x86/linux into HEAD X-Git-Tag: v6.14-rc1~94^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a9164dc69fd56d0f5c4af6fce6552837b2b0bad;p=thirdparty%2Fkernel%2Flinux.git Merge tag 'kvm-x86-vcpu_array-6.14' of https://github.com/kvm-x86/linux into HEAD KVM vcpu_array fixes and cleanups for 6.14: - Explicitly verify the target vCPU is online in kvm_get_vcpu() to fix a bug where KVM would return a pointer to a vCPU prior to it being fully online, and give kvm_for_each_vcpu() similar treatment to fix a similar flaw. - Wait for a vCPU to come online prior to executing a vCPU ioctl to fix a bug where userspace could coerce KVM into handling the ioctl on a vCPU that isn't yet onlined. - Gracefully handle xa_insert() failures even though such failuires should be impossible in practice. --- 7a9164dc69fd56d0f5c4af6fce6552837b2b0bad