Unregister clocks/resets when unbinding in Kernel

Kernel Updated 02 Oct 2025

Summary

29/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002350: clk: sunxi-ng: Unregister clocks/resets when unbinding. Affects Kernel versions < b5dd513daa70ee8f6d281a20bd28485ee9bb7db2. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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.

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