Missing Sentinel for clk_div_table in Kernel

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000380: phy: ti: Fix missing sentinel for clk_div_table. Affects Kernel versions >= 091876cc355d6739e393efa4b3d07f451a6a035c, < 3c75d1017cb362b6a4e0935746ef5da28250919f. 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 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 clk_div_table is a data structure within the Kernel that stores clock divider values used for clock frequency calculations. This vulnerability in the Kernel's clk_div_table could lead to potential security risks.

Vulnerability Detail

The vulnerability in the Kernel's clk_div_table arises from a missing sentinel, which is a marker used to indicate the end of an array or list. Without a sentinel, the Kernel may access memory beyond the intended boundaries of the clk_div_table, leading to various issues such as buffer overflows or memory corruption. Exploiting this vulnerability could potentially allow an attacker to execute arbitrary code, escalate privileges, or cause a denial-of-service condition.

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 add the missing sentinel to the clk_div_table in the Kernel code. The following code snippet demonstrates how to add the sentinel:

static const struct clk_div_table my_clk_div_table[] = {
    { .div = 1, .val = 0 },
    { .div = 2, .val = 1 },
    // Add missing sentinel
    { .div = 0 },
};

Conclusion

The missing sentinel vulnerability in the Kernel's clk_div_table can pose significant security risks, potentially allowing attackers to execute arbitrary code, escalate privileges, or cause denial-of-service. It is recommended to update the Linux Kernel to version v5.10.101 or later to address this vulnerability. Alternatively, users can apply the provided workaround by manually adding the missing sentinel to the clk_div_table in the Kernel code. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability could potentially allow an attacker to execute arbitrary code, escalate privileges, or cause a denial-of-service condition.

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

Yes, a patch for this vulnerability is available in Linux Kernel version v5.10.101 or later. It is recommended to update your Kernel to ensure the vulnerability is addressed.

Yes, as a temporary workaround, you can manually add the missing sentinel to the clk_div_table in the Kernel code. Please refer to the 'workaround' section for the code snippet and instructions.

There are no known instances of this vulnerability being exploited in the wild. However, it is crucial to apply the necessary updates or workarounds to mitigate any potential risks.

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