mbox series

[0/2] KVM: Reject vCPU IDs above 2^32

Message ID 20240605220504.2941958-1-minipli@grsecurity.net (mailing list archive)
Headers show
Series KVM: Reject vCPU IDs above 2^32 | expand

Message

Mathias Krause June 5, 2024, 10:05 p.m. UTC
vCPU IDs above 2^32 are currently not rejected as invalid for
KVM_CREATE_VCPU.

Below patches fix this and add a selftest for it.

Please apply!

Thanks,
Mathias

Mathias Krause (2):
  KVM: Reject overly excessive IDs in KVM_CREATE_VCPU
  KVM: selftests: Test vCPU IDs above 2^32

 .../selftests/kvm/x86_64/max_vcpuid_cap_test.c        | 11 ++++++++++-
 virt/kvm/kvm_main.c                                   |  2 +-
 2 files changed, 11 insertions(+), 2 deletions(-)