Critical Vulnerability in Linux Kernel: USB Type-C UCSI Read Size Overflow

linux Updated 02 Oct 2025

Summary

19/05/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-35924: In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: Limit read size on v1.2 Between UCSI 1.2 and UCSI 2.0, the size of the MESSAGE_IN region was increased from 16 to 256. Affects linux versions < 6.8.9-1. Fixed in 6.8.9-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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It supports a wide range of hardware architectures and is known for its stability and performance. This vulnerability specifically affects the USB Type-C UCSI (USB Type-C Connector System Interface) functionality, which is crucial for managing USB Type-C connections and power delivery.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the USB Type-C UCSI implementation, where the read size for MESSAGE_IN regions was not properly limited for UCSI version 1.2. This oversight could lead to buffer overflows when older systems attempt to read larger data sizes intended for UCSI version 2.0. The potential ramifications include system crashes, data corruption, or exploitation by malicious actors to execute arbitrary code.

How To Fix

Minimum fixed version

6.8.9-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 a temporary workaround, users can limit the read size manually in their applications that interact with the UCSI interface, ensuring that they do not exceed the expected limits for UCSI version 1.2. However, the best solution is to apply the patch as soon as possible.

Conclusion

The identified vulnerability in the Linux kernel regarding USB Type-C UCSI read sizes poses significant risks to system integrity and security. Users are strongly encouraged to update their systems to the patched version to mitigate these risks effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is a buffer overflow issue in the USB Type-C UCSI implementation of the Linux kernel, affecting how read sizes are handled.

The vulnerability affects Linux kernel versions prior to 6.8.9-1.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

Failure to address this vulnerability could lead to system instability, data loss, or exploitation by attackers, potentially compromising the entire system.

While the best solution is to update, you can implement manual limits on read sizes in applications that use the UCSI interface as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.8.9-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