clk: visconti: Array Overflow Vulnerability in visconti_clk_register_gates()

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001177: clk: visconti: prevent array overflow in visconti_clk_register_gates(). Affects Kernel versions >= b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa, < 2723543c1d60278d5aef1c4ad732dbad24b84a81. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The clk package is a component of the Linux Kernel that provides clock framework functionality. It manages the clocks of various devices in the system, ensuring proper synchronization and timing. The visconti_clk_register_gates() function is responsible for registering clock gates in the visconti clock driver. Clock gates control the flow of clock signals to specific hardware components. This vulnerability affects the visconti_clk_register_gates() function in the clk package.

Vulnerability Detail

The visconti_clk_register_gates() function in the clk package is susceptible to an array overflow vulnerability. This vulnerability allows an attacker to overwrite adjacent memory locations beyond the bounds of an array, potentially leading to memory corruption, crashes, or even remote code execution. The vulnerability was introduced in version v5.17 of the Linux Kernel and was fixed in version v5.17.2.

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 crucial to update the Linux Kernel to the fixed version as soon as possible.

Conclusion

The clk package in the Linux Kernel is vulnerable to an array overflow issue in the visconti_clk_register_gates() function. This vulnerability can lead to memory corruption, crashes, or remote code execution. It is crucial to update the Linux Kernel to version v5.17.2 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially lead to memory corruption, crashes, or remote code execution.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.

At the time of this report, there are no known exploits for this vulnerability. However, it is essential to apply the fix promptly to mitigate any potential risks.

It is highly recommended to update the entire Linux Kernel to the fixed version. Manually patching the vulnerability may introduce other issues or leave the system vulnerable to other security threats.

For further support on vulnerability remediation, you can reach out to info@devnack.com. They can provide guidance and assistance in addressing this vulnerability.

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