Unregister clocks/resets when unbinding in Kernel
Summary
GSD-2021-1002350: clk: sunxi-ng: Unregister clocks/resets when unbinding. Affects Kernel versions < b5dd513daa70ee8f6d281a20bd28485ee9bb7db2. 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 critical component of the Linux operating system that manages the system's resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The vulnerability in question affects the Kernel's clk: sunxi-ng module, which is responsible for managing clocks and resets on sunxi-ng SoCs. When unbinding, the module fails to unregister clocks and resets, potentially leading to resource leaks and other issues.
Vulnerability Detail
The vulnerability arises from the failure to properly unregister clocks and resets when unbinding the clk: sunxi-ng module in the Kernel. This oversight can result in resource leaks and other problems, impacting the stability and performance of the system. While the specific attack vectors and potential consequences have not been proven, it is crucial to address this vulnerability to maintain the integrity and security of the system.
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 unregister clocks and resets when unbinding the clk: sunxi-ng module. This can be achieved by modifying the relevant code in the Kernel. However, it is strongly recommended to apply the official fix by updating to the latest version of the Linux Kernel.
Conclusion
In conclusion, the vulnerability in the Kernel's clk: sunxi-ng module can result in resource leaks and other issues when clocks and resets are not properly unregistered during the unbinding process. To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v5.15.5 or later. Users can also utilize Vulert's playground to check if their system is affected and receive real-time alerts for open-source vulnerabilities. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to resource leaks and other issues, potentially impacting the stability and performance of the system.
You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your manifest file, such as package-lock.json, and Vulert will provide real-time alerts for open-source vulnerabilities, including this one.
Yes, a workaround involves manually unregistering clocks and resets when unbinding the clk: sunxi-ng module. However, it is recommended to apply the official fix by updating to the latest version of the Linux Kernel.
At the time of this report, there are no known exploits for this vulnerability. However, it is essential to address it promptly to mitigate any potential risks.
This vulnerability was discovered by an automated process and reported in the GSD database maintained by the Cloud Security Alliance.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.