Vulnerability in PM / devfreq: rk3399_dmc

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003576: PM / devfreq: rk3399_dmc: Disable edev on remove(). Affects Kernel versions < 86b091b6894c449d2734de7aa7d79ccb33ffd97d. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The PM / devfreq package is a component of the Linux Kernel that manages the dynamic frequency scaling of devices. It includes the rk3399_dmc module, which is responsible for managing the frequency scaling of the Rockchip RK3399 SoC's Dynamic Memory Controller (DMC). The DMC controls the memory frequency and voltage to optimize performance and power consumption. However, a vulnerability has been discovered in the rk3399_dmc module that can potentially be exploited by attackers.

Vulnerability Detail

The vulnerability in the rk3399_dmc module occurs when the 'remove()' function is called without disabling the 'edev' (event device) associated with the module. This can lead to a use-after-free vulnerability, where the module may still be accessed after it has been freed from memory. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet.

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

As a workaround, users can manually disable the 'edev' associated with the rk3399_dmc module before removing it. This can be done by executing the following command:

echo 0 > /sys/class/devfreq/rk3399_dmc/edev/enable

This command will disable the 'edev' and prevent the use-after-free vulnerability. However, it is still recommended to update the Kernel to the fixed version as soon as possible.

Conclusion

In conclusion, the PM / devfreq package's rk3399_dmc module has a vulnerability that can be mitigated by updating the Linux Kernel to the fixed version. Additionally, a workaround is available to manually disable the 'edev' associated with the module. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The PM / devfreq package is a component of the Linux Kernel that manages the dynamic frequency scaling of devices.

The rk3399_dmc module is a part of the PM / devfreq package and is responsible for managing the frequency scaling of the Rockchip RK3399 SoC's Dynamic Memory Controller (DMC).

The impact of this vulnerability is not yet proven. However, if exploited, it could allow an attacker to execute arbitrary code or cause a denial-of-service condition.

To fix this vulnerability, update the Linux Kernel to version v5.10.121 or later, which includes the necessary fix for the rk3399_dmc module.

Yes, a workaround is available. Users can manually disable the 'edev' associated with the rk3399_dmc module before removing it.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback