Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Don't WARN on an unknown VM ioctl in protected mode kvm_pkvm_ioctl_allowed() WARNs when kvm_get_cap_for_kvm_ioctl() doesn't find the ioctl number in vm_ioctl_caps[], and kvm_arch_vm_ioctl() calls it for every number the generic code doesn't handle, so ioctl(vm_fd, 0xdeadbeef) from userspace taints a pKVM host and panics it under panic_on_warn. The lookup is fed userspace input: return false, and userspace gets the -EINVAL kvm_arch_vm_ioctl() returns for that number on a host without pKVM.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b12b3b04f6ba072ca5a618a75e546c996be94bd1 before cc53eb5c6515e3221314624a22c9da9c80a67f63; affected b12b3b04f6ba072ca5a618a75e546c996be94bd1 before 49d9d295d69d07e850cae35933ba8519e2915f26 |
| Linux / Linux | affected 7.0; unaffected 0 before 7.0; unaffected 7.2.9 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.