Memory Leak Vulnerability in drm/amd/pm Package
Summary
GSD-2022-1002933: drm/amd/pm: fix a potential gpu_metrics_table memory leak. Affects Kernel versions >= 95868b85764aff2dcbf78d3054076df75446ad15, < 583637d66a70fc7090e12fb0ebbacc33d39e2214. 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 drm/amd/pm package is a component of the Linux Kernel that handles power management for AMD GPUs. It provides functionality for controlling the power states and performance levels of the graphics card. The package is responsible for managing the GPU metrics table, which is used to collect and store performance data. However, a vulnerability has been identified in the package that can lead to a memory leak in the gpu_metrics_table data structure.
Vulnerability Detail
The vulnerability in the drm/amd/pm package can result in a memory leak in the gpu_metrics_table. This can occur when the package fails to properly release memory allocated for the table, leading to a gradual depletion of available memory resources. An attacker could potentially exploit this vulnerability to exhaust system memory, causing performance degradation or even system crashes. The vulnerability was introduced in version v5.10 of the Linux Kernel and has been fixed in version v5.17.
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 available for this vulnerability. It is advised to apply the recommended fix by updating the Linux Kernel to the latest version.
Conclusion
The memory leak vulnerability in the drm/amd/pm package can have serious consequences, including performance degradation and system crashes. It is crucial to update the Linux Kernel to version v5.17 or later to fix this vulnerability. For further support and assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a memory leak, potentially causing performance degradation or system crashes due to the gradual depletion of available memory resources.
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 it will analyze the dependencies for any known vulnerabilities.
At the time of this report, there is no known exploit for this vulnerability. However, it is still important to apply the recommended fix to prevent any potential exploitation.
No, the recommended fix for this vulnerability is to update the Linux Kernel to version v5.17 or later. There is no known workaround or alternative mitigation method.
You can find more information about this vulnerability in the GSD-2022-1002933 JSON report available at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002933.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.