Vulnerability in PM / devfreq: rk3399_dmc
Summary
GSD-2022-1003054: PM / devfreq: rk3399_dmc: Disable edev on remove(). Affects Kernel versions < fb089b6f21de03a685dd31df3789bbb01c59f8e3. 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 dynamic frequency scaling of devices. It provides a framework for controlling the frequency and voltage of devices to optimize power consumption. The rk3399_dmc module is responsible for managing the frequency scaling of the Rockchip RK3399 memory controller. This vulnerability affects the rk3399_dmc module when handling device removal.
Vulnerability Detail
The vulnerability in PM / devfreq: rk3399_dmc occurs when the module fails to disable the event device (edev) during the removal process. This could lead to a use-after-free vulnerability, where a reference to the edev object is retained after it has been freed. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability has been fixed in Linux Kernel version v5.17.14.
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 mentioned in the 'how_to_fix' section.
Conclusion
The vulnerability in PM / devfreq: rk3399_dmc can be mitigated by updating the Linux Kernel to version v5.17.14 or later. It is important to promptly apply this fix to ensure the security and stability of the system. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
PM / devfreq is a component of the Linux Kernel that manages the dynamic frequency scaling of devices to optimize power consumption.
rk3399_dmc is a module within PM / devfreq that handles the frequency scaling of the Rockchip RK3399 memory controller.
A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially leading to arbitrary code execution or a crash.
To update the Linux Kernel, you can download the latest source code from the official Linux Kernel repository and compile it for your system. Alternatively, you can wait for your Linux distribution to release an updated kernel package.
Yes, the vulnerability has been fixed in Linux Kernel version v5.17.14.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.