Vulnerability in Kernel - drm/msm/devfreq: Fix OPP refcnt leak
Summary
GSD-2021-1002572: drm/msm/devfreq: Fix OPP refcnt leak. Affects Kernel versions >= 9bc95570175a7fbca29d86d22c54bbf399f4ad5a, < a4eb55901df1dce8c6944438bbdf57caf08911e2. 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 fundamental component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the stability and security of the system. The drm/msm/devfreq module within the Kernel is responsible for managing the dynamic frequency scaling of the GPU on Qualcomm Snapdragon devices. This feature optimizes power consumption and performance by adjusting the GPU frequency based on workload demands. However, a vulnerability has been identified in this module that can lead to an OPP (Operating Performance Point) reference count leak.
Vulnerability Detail
The vulnerability in drm/msm/devfreq module allows for an OPP reference count leak. This means that when the module is used, it fails to properly release the reference count on the OPP, leading to a resource leak. An attacker could potentially exploit this vulnerability to exhaust system resources, resulting in a denial-of-service condition or other adverse effects. The vulnerability was introduced in version v5.15 of the Linux Kernel and has been fixed in version v5.15.7.
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
The vulnerability in the drm/msm/devfreq module of the Kernel can lead to an OPP reference count leak, potentially causing a denial-of-service condition or other adverse effects. It is crucial to update the Linux Kernel to version v5.15.7 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially lead to a denial-of-service condition or other adverse effects by exhausting system 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 the playground will provide real-time alerts for open-source vulnerabilities, including this one.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the recommended fix to ensure system security.
The vulnerability itself does not allow for remote exploitation. However, if an attacker gains access to the system, they could potentially exploit this vulnerability to cause harm.
The recommended solution is to update the Linux Kernel to the fixed version. However, if updating the Kernel is not feasible, implementing strict access controls and monitoring system resources can help mitigate the risk associated with this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.