Buffer Size Vulnerability in Linux Kernel: Impacting USB Gadget UVC Support

linux Updated 02 Oct 2025

Summary

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

DEBIAN-CVE-2024-36895: In the Linux kernel, the following vulnerability has been resolved: usb: gadget: uvc: use correct buffer size when parsing configfs lists This commit fixes uvc gadget support on 32-bit platforms. Affects linux versions < 6.8.11-1. Fixed in 6.8.11-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 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 Linux kernel is the core component of many operating systems, providing essential services for hardware and software interactions. It supports a wide range of functionalities, including USB device management. The vulnerability in question affects the USB gadget subsystem, specifically the UVC (USB Video Class) support, which is crucial for handling video devices. This vulnerability arises from improper buffer size management, potentially leading to buffer overruns on 32-bit platforms.

Vulnerability Detail

In the Linux kernel, a vulnerability was identified in the USB gadget subsystem related to UVC support. The issue originated from a commit that introduced a new helper function for parsing configuration lists. The function failed to properly check the maximum buffer size, leading to insufficient buffer allocation on 32-bit platforms. This oversight could result in buffer overruns, causing potential crashes or unexpected behavior in applications relying on UVC attributes, such as video streaming applications.

How To Fix

Minimum fixed version

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

Currently, there are no specific workarounds mentioned for this vulnerability. However, users are advised to monitor their systems for any unusual behavior and consider temporarily disabling UVC devices until the patch is applied.

Conclusion

The identified vulnerability in the Linux kernel's USB gadget UVC support poses significant risks due to improper buffer size management. Users are encouraged to update their systems to the patched version to mitigate these risks. Regular monitoring and the use of tools like Vulert can help maintain security against such vulnerabilities.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves improper buffer size management in the Linux kernel's USB gadget UVC support, leading to potential buffer overruns.

The vulnerability affects Linux kernel versions prior to 6.8.11-1 on both Debian 13 and Debian 14.

Exploitation of this vulnerability could lead to application crashes or unexpected behavior in systems using UVC devices.

You can use Vulert, which monitors open-source vulnerabilities in your software. By using the manifest file like package-lock.json, Vulert can alert you in real-time. You can also check your application using the Vulert playground without signup.

While there are no specific workarounds, it is advisable to monitor system behavior and consider disabling UVC devices temporarily.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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