
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-40016 is a vulnerability in the Linux kernel's media subsystem, specifically in the uvcvideo driver, discovered and disclosed on October 20, 2025. The vulnerability affects the handling of entity IDs in USB Video Class (UVC) devices, where units and terminals must have non-zero unique IDs according to the UVC 1.1+ specification (NVD).
The vulnerability relates to the handling of entity IDs in the UVC driver where entities with ID 0 or duplicate IDs are incorrectly processed. According to the UVC 1.1+ specification section 3.7.2, each Unit and Terminal within the video function must be assigned a unique identification number (UID or TID), with 0x00 being reserved for undefined IDs. A previous fix attempt (commit 3dd075fe8ebb) that ignored all invalid units caused compatibility issues with many cameras (Debian Tracker).
The vulnerability affects multiple Linux distributions including Debian bullseye, bookworm, trixie, and forky versions. The issue has been fixed in the sid version 6.16.12-2, while earlier versions remain vulnerable. This could potentially affect the functionality of USB video devices and camera compatibility (Debian Tracker).
The vulnerability has been fixed in Linux kernel version 6.16.12-2. Users are advised to upgrade to this version or later to resolve the issue. The fix involves properly marking invalid entities with UVCINVALIDENTITY_ID when they have an ID of 0 or a duplicated ID (Debian Tracker).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."