KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
Summary
GSD-2021-1001244: KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak. Affects Kernel versions >= b3cebfe8c1cadf1817939dcc3688a2504a69c662, < e14ef1095387f764d95614d3ec9e4d07c82a3533. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Kernel package is an essential component of the Linux operating system. It provides the core functionality and acts as an interface between the hardware and software layers. The KVM (Kernel-based Virtual Machine) subsystem within the Kernel package allows running virtual machines on the host system. The PowerPC (PPC) architecture is one of the supported architectures for KVM. This vulnerability specifically affects the PPC implementation of the kvm_arch_vcpu_ioctl function.
Vulnerability Detail
The vulnerability in the kvm_arch_vcpu_ioctl function of the KVM subsystem for PPC architecture allows for a resource leak. When handling certain ioctl commands related to vCPU (virtual CPU) load, the function fails to release allocated resources, leading to a memory leak. This can result in resource exhaustion and potential denial-of-service conditions. The vulnerability was introduced in version v4.18 of the Linux Kernel and has been fixed in version v5.10.54.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a workaround, users can apply patches or backports provided by their Linux distribution to address the vulnerability without updating the entire Kernel. It is important to consult the documentation and support channels of the specific Linux distribution for guidance on applying patches or backports.
Conclusion
The KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak vulnerability in the Kernel package for Linux can lead to resource exhaustion and potential denial-of-service conditions. It is crucial to update the Linux Kernel to version v5.10.54 or later to mitigate this vulnerability. Users can also consult their Linux distribution for patches or backports. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to resource exhaustion and potential denial-of-service conditions on systems running the affected version of the Linux Kernel.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.
At the time of this report, there are no known exploits for this vulnerability. However, it is important to apply the necessary updates or workarounds to mitigate the risk.
This vulnerability requires local access to the system. It cannot be exploited remotely over a network.
For more details about this vulnerability, including the specific code changes that fix it, you can refer to the source link in the database specific section of this report (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001244.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.