Memory leaks in perf report
Summary
GSD-2021-1002446: perf report: Fix memory leaks around perf_tip(). Affects Kernel versions < df5990db088d4c7fea9a2f9b8195a7859e1768c4. 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 interfaces for various hardware devices, system resources, and software components. The perf report tool is a part of the Kernel package and is used for performance analysis and profiling. It collects and analyzes performance data to identify bottlenecks and optimize system performance.
Vulnerability Detail
The perf report tool in the Kernel package has been found to have memory leaks around the perf_tip() function. Memory leaks occur when allocated memory is not properly released, leading to a gradual depletion of available memory resources. This vulnerability could potentially result in system instability, performance degradation, and denial-of-service attacks. An attacker could exploit this vulnerability to exhaust system memory, causing the system to crash or become unresponsive. The vulnerability has been fixed in Linux Kernel version v5.4.164 by commit df5990db088d4c7fea9a2f9b8195a7859e1768c4.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Kernel package to version v5.4.164 or later. This can be done by downloading the updated Kernel source code from the official repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it according to the provided instructions. Once the updated Kernel is installed, the memory leaks around perf_tip() will be resolved.
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. Updating the Kernel package to the fixed version is the recommended solution.
Conclusion
The perf report tool in the Kernel package has been found to have memory leaks around the perf_tip() function. This vulnerability can lead to system instability and denial-of-service attacks. It is crucial to update the Kernel package to version v5.4.164 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can lead to memory leaks, which can cause system instability, performance degradation, and denial-of-service attacks.
An attacker can exploit this vulnerability by triggering the memory leaks, gradually depleting system memory and potentially causing the system to crash or become unresponsive.
Yes, this vulnerability has been fixed in Linux Kernel version v5.4.164 by commit df5990db088d4c7fea9a2f9b8195a7859e1768c4.
The vulnerability is present in versions prior to Linux Kernel v5.4.164. Updating to the fixed version will resolve the issue.
There is no known exploit for this vulnerability at the moment. However, it is recommended to update the Kernel package to the fixed version to mitigate any potential risks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.