Menu

Star on GitHub · 3.2k

CVE-2025-40016

In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Mark invalid entities with id UVC_INVALID_ENTITY_ID Per UVC 1.1+ specification 3.7.2, units and terminals must…

Published Oct 20, 2025EPSS 0.25%

Overview

CVE-2025-40016 is a known-severity vulnerability. It was published on October 20, 2025.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

media: uvcvideo: Mark invalid entities with id UVC_INVALID_ENTITY_ID

Per UVC 1.1+ specification 3.7.2, units and terminals must have a non-zero

unique ID.

```

Each Unit and Terminal within the video function is assigned a unique

identification number, the Unit ID (UID) or Terminal ID (TID), contained in

the bUnitID or bTerminalID field of the descriptor. The value 0x00 is

reserved for undefined ID,

```

If we add a new entity with id 0 or a duplicated ID, it will be marked

as UVC_INVALID_ENTITY_ID.

In a previous attempt commit 3dd075fe8ebb ("media: uvcvideo: Require

entities to have a non-zero unique ID"), we ignored all the invalid units,

this broke a lot of non-compatible cameras. Hopefully we are more lucky

this time.

This also prevents some syzkaller reproducers from triggering warnings due

to a chain of entities referring to themselves. In one particular case, an

Output Unit is connected to an Input Unit, bot

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-40016?

CVE-2025-40016 is a known-severity vulnerability. It was published on October 20, 2025.

How severe is CVE-2025-40016?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2025-40016?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40016?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-40016 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.