KVM: arm64: Don't WARN on an unknown VM ioctl in protected mode
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 49d9d295d69d07e850cae35933ba8519e2915f26 and Kernel cc53eb5c6515e3221314624a22c9da9c80a67f63.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.0, >=b12b3b04f6ba072ca5a618a75e546c996be94bd1 <49d9d295d69d07e850cae35933ba8519e2915f26, >=b12b3b04f6ba072ca5a618a75e546c996be94bd1 <cc53eb5c6515e3221314624a22c9da9c80a67f63 | 49d9d295d69d07e850cae35933ba8519e2915f26, cc53eb5c6515e3221314624a22c9da9c80a67f63 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket