KVM: arm64: Don't WARN on an unknown VM ioctl in protected mode
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 7.2.9
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From b12b3b04f6ba072ca5a618a75e546c996be94bd1 · fixed in cc53eb5c6515e3221314624a22c9da9c80a67f63; From b12b3b04f6ba072ca5a618a75e546c996be94bd1 · fixed in 49d9d295d69d07e850cae35933ba8519e2915f26
- Linux Linux
7.0
- KernelLinux
From 7.0.0 · fixed in 7.2.9