Off-by-One Error in USB-C Connector Status Reporting in Linux Kernel

linux Updated 02 Oct 2025

Summary

24/12/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-53149: In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: glink: fix off-by-one in connector_status UCSI connector's indices start from 1 up to 3, PMIC_GLINK_MAX_PORTS. Affects linux versions < 6.12.3-1. Fixed in 6.12.3-1. 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 Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It is responsible for managing system resources and facilitating communication between hardware devices and applications. This vulnerability affects the USB Type-C connector status reporting, specifically in the UCSI (USB Type-C Connector System Software Interface) implementation, which is crucial for managing USB-C connections and ensuring proper device functionality.

Vulnerability Detail

In the Linux kernel, an off-by-one error was identified in the UCSI connector's status reporting. The indices for UCSI connectors range from 1 to 3, corresponding to the maximum number of ports defined by PMIC_GLINK_MAX_PORTS. The error in the pmic_glink_ucsi_connector_status() callback led to incorrect Type-C orientation reporting for the third USB-C connector. This vulnerability could result in improper device behavior, affecting connectivity and functionality of USB-C devices.

How To Fix

Minimum fixed version

6.12.3-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As of now, no specific workarounds have been provided for this vulnerability. It is recommended to apply the patch as soon as it is available to mitigate any potential risks.

Conclusion

The off-by-one error in the USB-C connector status reporting within the Linux kernel represents a significant vulnerability that can impact device functionality. It is crucial for users to update their systems to the patched version 6.12.3-1 to ensure proper operation of USB-C devices and mitigate any risks associated with this vulnerability.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is an off-by-one error in the USB-C connector status reporting within the Linux kernel, affecting the accuracy of device orientation reporting.

The vulnerability affects all versions prior to 6.12.3-1 in both Debian 13 and 14.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without signup.

If exploited, this vulnerability could lead to incorrect USB-C device behavior, potentially causing connectivity issues and affecting the functionality of connected devices.

The patch for this vulnerability has been released in version 6.12.3-1, which is available for installation.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.3-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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