Vulnerability in PM / devfreq: exynos-ppmu
Summary
GSD-2022-1004725: PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events. Affects Kernel versions >= f262f28c147051e7aa6daaf4fb5996833ffadff4, < bdecd912e99acfd61507f1720d3f4eed1b3418d8. 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 PM / devfreq package is a component of the Linux Kernel that manages the frequency scaling of devices to optimize power consumption. It includes the exynos-ppmu module, which is responsible for handling performance monitoring events on Exynos-based systems. This vulnerability in the exynos-ppmu module can lead to a reference count leak in the of_get_devfreq_events function.
Vulnerability Detail
The vulnerability arises from a refcount leak in the of_get_devfreq_events function of the exynos-ppmu module. This leak can result in improper handling of reference counts, leading to memory leaks and potential resource exhaustion. An attacker may be able to exploit this vulnerability to cause a denial-of-service condition or potentially execute arbitrary code with elevated privileges. The vulnerability was introduced in version v4.0 of the Linux Kernel and has been fixed in version v5.4.204.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.4.204 or later. This update includes the commit bdecd912e99acfd61507f1720d3f4eed1b3418d8, which addresses the refcount leak in the of_get_devfreq_events function.
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.
Conclusion
The PM / devfreq exynos-ppmu module in the Linux Kernel is vulnerable to a refcount leak in the of_get_devfreq_events function. This vulnerability can potentially lead to a denial-of-service condition or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.4.204 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially lead to a denial-of-service condition or allow an attacker to execute arbitrary code with elevated privileges.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground and it will provide real-time alerts for open-source vulnerabilities.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the recommended fix to mitigate any potential risks.
The exact attack vector for this vulnerability is not specified in the available information. However, as it affects the Linux Kernel, it is possible that remote exploitation may be feasible in certain scenarios.
If you are unable to update the Linux Kernel immediately, it is recommended to follow general security best practices such as restricting access to vulnerable systems, implementing network segmentation, and monitoring for any suspicious activity.
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.