Refcount Leak in rockchip_grf_init in Kernel
Summary
GSD-2022-1002981: soc: rockchip: Fix refcount leak in rockchip_grf_init. Affects Kernel versions >= 4c58063d4258f6beb4fd5647db6b58f49e337c8f, < 042571fe1d171773655ad706715ecc865913d9a4. 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 crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system. The rockchip_grf_init function in the Kernel's rockchip system-on-chip (SoC) driver is responsible for initializing the General Register Files (GRF) for Rockchip SoCs. These GRFs control various hardware settings and configurations. Unfortunately, a refcount leak vulnerability has been identified in the rockchip_grf_init function, which can lead to potential security issues.
Vulnerability Detail
The refcount leak vulnerability in rockchip_grf_init arises due to improper handling of reference counts. When the function is called multiple times, it fails to release the reference counts properly, resulting in a leak. This can lead to resource exhaustion and potential denial-of-service (DoS) attacks. An attacker could exploit this vulnerability to exhaust system resources, causing instability or crashes. 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 this vulnerability can only be fully resolved by updating the Kernel, there is no specific workaround available. It is crucial to apply the recommended fix by updating to the latest version of the Linux Kernel.
Conclusion
The refcount leak vulnerability in rockchip_grf_init poses a potential risk of resource exhaustion and denial-of-service attacks. It is crucial to update the Linux Kernel to version v5.17.15 or later to mitigate this vulnerability. Applying the recommended fix ensures that the refcount leak is properly addressed. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can potentially lead to resource exhaustion and denial-of-service (DoS) attacks. However, the actual impact and attack plausibility have not been proven yet.
An attacker could exploit this vulnerability by repeatedly calling the rockchip_grf_init function, causing a refcount leak and exhausting system resources. This could result in system instability or crashes.
No, there is currently no known evidence of this vulnerability being exploited in the wild. However, it is still important to apply the recommended fix to mitigate any potential risks.
No, this vulnerability was introduced in version v4.11 of the Linux Kernel by commit 4c58063d4258f6beb4fd5647db6b58f49e337c8f. It has been fixed in version v5.17.15 and later by commit 042571fe1d171773655ad706715ecc865913d9a4.
To update the Linux Kernel, you can follow the official documentation and instructions provided by your Linux distribution. Typically, it involves using package managers or manually compiling and installing the updated Kernel version.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.