Memory Leak Vulnerability in perf hist
Summary
GSD-2021-1002489: perf hist: Fix memory leak of a perf_hpp_fmt. Affects Kernel versions < a4c17ebdd6249cb4e061358d3693383f6628e069. 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 perf hist tool is a part of the Linux Kernel package, which provides performance analysis and profiling capabilities. It allows users to trace and analyze various performance events in the system. The tool uses a data structure called perf_hpp_fmt to format and display the collected performance data. However, a memory leak vulnerability has been discovered in the perf_hpp_fmt implementation.
Vulnerability Detail
The memory leak vulnerability in perf hist occurs when a perf_hpp_fmt object is not properly deallocated after use. This can lead to a gradual accumulation of memory over time, potentially causing performance degradation or even system instability. An attacker could potentially exploit this vulnerability to exhaust system resources and launch denial-of-service attacks. The vulnerability has been fixed in Linux Kernel version v5.10.84 by commit a4c17ebdd6249cb4e061358d3693383f6628e069.
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 known workaround for this vulnerability. It is recommended to apply the fix as soon as possible.
Conclusion
The memory leak vulnerability in perf hist can have serious consequences for system performance and stability. It is crucial to update the Linux Kernel package to the fixed version as soon as possible. If you need further assistance or support in addressing this vulnerability, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
perf hist is a tool in the Linux Kernel package that provides performance analysis and profiling capabilities.
A memory leak is a type of software defect where allocated memory is not properly deallocated, leading to a gradual accumulation of memory over time.
The memory leak vulnerability in perf hist can cause performance degradation or system instability due to the gradual accumulation of memory. It could also be exploited by attackers to launch denial-of-service attacks.
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 to the playground, and it will analyze and alert you in real-time for any open-source vulnerabilities, including this one.
For more information about this vulnerability, you can refer to the vulnerability details in the GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002489.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.