Re: [GIT PULL] KVM: non-x86 changes for 6.8

From: Paolo Bonzini
Date: Mon Jan 08 2024 - 07:55:00 EST


On Thu, Jan 4, 2024 at 8:33 PM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
>
> Please pull a few minor changes that aren't (just) x86. The
> vmemdup_array_user() patches were sent as a series, and the s390 folks were
> quick on the draw with acks, so it was easiest for all involved to just grab
> everything in one shot.
>
> The following changes since commit e9e60c82fe391d04db55a91c733df4a017c28b2f:
>
> selftests/kvm: fix compilation on non-x86_64 platforms (2023-11-21 11:58:25 -0500)
>
> are available in the Git repository at:
>
> https://github.com/kvm-x86/linux.git tags/kvm-x86-generic-6.8
>
> for you to fetch changes up to 1f829359c8c37f77a340575957686ca8c4bca317:
>
> KVM: Harden copying of userspace-array against overflow (2023-12-01 08:00:53 -0800)

Pulled, thanks.

Paolo

> ----------------------------------------------------------------
> Common KVM changes for 6.8:
>
> - Use memdup_array_user() to harden against overflow.
>
> - Unconditionally advertise KVM_CAP_DEVICE_CTRL for all architectures.
>
> ----------------------------------------------------------------