Vulnerability in Kernel: cpufreq: CPPC: Potential Memory Leak in cppc_cpufreq_cpu_init
Summary
GSD-2021-1001181: cpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init. Affects Kernel versions >= a28b2bfc099c6b9caa6ef697660408e076a32019, < e1b2b2b61d30d7ce057ec17237c217d152ed97f2. 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 is a critical component of the Linux operating system that manages the communication between hardware and software. It provides essential functionalities, such as process management, memory management, and device drivers. The cpufreq subsystem within the Kernel is responsible for dynamically adjusting the CPU frequency to optimize power consumption and performance. However, a vulnerability has been identified in the CPPC (Collaborative Processor Performance Control) implementation of cpufreq, specifically in the cppc_cpufreq_cpu_init function.
Vulnerability Detail
The vulnerability in cppc_cpufreq_cpu_init can potentially lead to a memory leak. A memory leak occurs when allocated memory is not properly released, resulting in a gradual depletion of available memory resources. This can lead to system instability, performance degradation, and even denial-of-service conditions. The vulnerability was introduced in version v5.11 of the Linux Kernel and was fixed in version v5.13.4. 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
There is no specific workaround mentioned for this vulnerability.
Conclusion
In conclusion, a vulnerability has been identified in the Kernel's cpufreq subsystem, specifically in the cppc_cpufreq_cpu_init function, which could potentially result in a memory leak. It is recommended to update the Linux Kernel to version v5.13.4 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The Kernel is a critical component of the Linux operating system that manages the communication between hardware and software. It provides essential functionalities, such as process management, memory management, and device drivers.
The cpufreq subsystem within the Kernel is responsible for dynamically adjusting the CPU frequency to optimize power consumption and performance.
CPPC (Collaborative Processor Performance Control) is an implementation within the cpufreq subsystem that enables collaborative control of CPU performance between the operating system and the hardware platform.
A memory leak occurs when allocated memory is not properly released, resulting in a gradual depletion of available memory resources.
A memory leak can lead to system instability, performance degradation, and even denial-of-service conditions.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.