KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
Summary
GSD-2021-1001312: KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak. Affects Kernel versions >= b3cebfe8c1cadf1817939dcc3688a2504a69c662, < f38527f1890543cdfca8dfd06f75f9887cce6151. 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 a crucial component of the Linux operating system. It provides the core functionality and acts as an interface between the hardware and software layers. The vulnerability in question affects the PowerPC (PPC) architecture of the Kernel package. The specific issue lies in the kvm_arch_vcpu_ioctl function, which is responsible for handling virtual CPU (vCPU) related operations. Due to a coding error, there is a memory leak when loading vCPUs, potentially leading to resource exhaustion and system instability.
Vulnerability Detail
The vulnerability arises from a memory leak in the kvm_arch_vcpu_ioctl function of the Kernel package's PowerPC architecture. When loading vCPUs, the function fails to release allocated memory, resulting in a gradual depletion of system resources. An attacker could potentially exploit this vulnerability to exhaust system memory, leading to denial-of-service conditions or other unpredictable behavior. The impact and attack plausibility of this vulnerability have not been proven yet.
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
No specific workaround has been mentioned for this vulnerability.
Conclusion
The vulnerability in the Kernel package's PowerPC architecture has been addressed in version v5.4.136. Users are advised to update their Kernel package to this version or a later release to mitigate the risk of resource exhaustion and system instability. For further support or assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially lead to resource exhaustion and system instability due to a memory leak when loading vCPUs.
An attacker could exploit this vulnerability to exhaust system memory, causing denial-of-service conditions or other unpredictable behavior.
There is no evidence of active exploitation of this vulnerability at the moment.
The vulnerability was introduced in version v4.18 and is present in all subsequent versions until v5.4.136.
For more details, you can refer to the vulnerability's source in the GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001312.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.