# CVE-2026-64233: usb: gadget: uvc: hold opts-\>lock across XU walks in uvc\_function\_bind

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-07-24T15:27:39.710Z
- **Modified:** 2026-11-08T16:10:00.183Z

## Who should check

- Anyone running Linux \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< e15c414092b3c24610cc771e481a723b0f645eca; \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< 2c9e0905ef7e69f7b814cd709613f6b3b5b98805; \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< caec0145e5974e85fe5192fc6a6f5aa1a98f82a6; \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< 5f1b9cff88982e2a2053d8b1fd983f7ccb9f03cc; \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< 68aa70648b625fa684bc0b71bbfd905f4943ca20
- Anyone running Linux 6.3

## Description

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

usb: gadget: uvc: hold opts-\>lock across XU walks in uvc\_function\_bind

uvc\_function\_bind() walks &opts-\>extension\_units twice without holding
opts-\>lock:

  - directly, for the iExtension string-descriptor fixup loop;
  - indirectly, four times via uvc\_copy\_descriptors() (once per speed),
    where the helper iterates uvc-\>desc.extension\_units (which aliases
    &opts-\>extension\_units) to size and emit XU descriptors.

The configfs side (uvcg\_extension\_make / uvcg\_extension\_drop, in
drivers/usb/gadget/function/uvc\_configfs.c) takes opts-\>lock around its
list\_add\_tail / list\_del operations.  A privileged userspace process
that holds the configfs subtree open and writes the gadget UDC name
to bind the function while concurrently rmdir()'ing an extensions
subdir can race uvcg\_extension\_drop() against the bind-time list walks
and dereference a freed struct uvcg\_extension.

Hold opts-\>lock from the start of the XU string-descriptor fixup
through the last uvc\_copy\_descriptors() call, releasing on the
descriptor-error path via a new error\_unlock label that drops the
lock before falling through to the existing error label.  This
matches the locking discipline of the configfs callbacks and removes
the only remaining unsynchronised reader of the XU list during bind.

Reachability: only privileged processes that can mount configfs and
write to gadget UDC files can trigger the race, so this is a
correctness fix rather than a security boundary.

## Affected and fixed versions

- Linux: \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< e15c414092b3c24610cc771e481a723b0f645eca; \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< 2c9e0905ef7e69f7b814cd709613f6b3b5b98805; \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< caec0145e5974e85fe5192fc6a6f5aa1a98f82a6; \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< 5f1b9cff88982e2a2053d8b1fd983f7ccb9f03cc; \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< 68aa70648b625fa684bc0b71bbfd905f4943ca20 (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 68aa70648b625fa684bc0b71bbfd905f4943ca20 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64233. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64233.md
Affected: Linux >= 0525210c9840229e42c6b68e886c72a75a67cf8e, < e15c414092b3c24610cc771e481a723b0f645eca; >= 0525210c9840229e42c6b68e886c72a75a67cf8e, < 2c9e0905ef7e69f7b814cd709613f6b3b5b98805; >= 0525210c9840229e42c6b68e886c72a75a67cf8e, < caec0145e5974e85fe5192fc6a6f5aa1a98f82a6; >= 0525210c9840229e42c6b68…
Fixed in: Linux 2c9e0905ef7e69f7b814cd709613f6b3b5b98805, Linux 5f1b9cff88982e2a2053d8b1fd983f7ccb9f03cc, Linux 68aa70648b625fa684bc0b71bbfd905f4943ca20

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64233 being exploited?

There is no confirmed exploitation: CVE-2026-64233 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64233?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64233?

Linux \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< e15c414092b3c24610cc771e481a723b0f645eca; \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< 2c9e0905ef7e69f7b814cd709613f6b3b5b98805; \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< caec0145e5974e85fe5192fc6a6f5aa1a98f82a6; \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< 5f1b9cff88982e2a2053d8b1fd983f7ccb9f03cc; \>= 0525210c9840229e42c6b68e886c72a75a67cf8e, \< 68aa70648b625fa684bc0b71bbfd905f4943ca20; Linux 6.3.

### Is there a fix for CVE-2026-64233?

Yes. Fixed in Linux 2c9e0905ef7e69f7b814cd709613f6b3b5b98805, Linux 5f1b9cff88982e2a2053d8b1fd983f7ccb9f03cc, Linux 68aa70648b625fa684bc0b71bbfd905f4943ca20. Upgrade Linux to 68aa70648b625fa684bc0b71bbfd905f4943ca20 or later.

### How do I check if I'm affected by CVE-2026-64233?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/e15c414092b3c24610cc771e481a723b0f645eca>
- patch: <https://git.kernel.org/stable/c/2c9e0905ef7e69f7b814cd709613f6b3b5b98805>
- patch: <https://git.kernel.org/stable/c/caec0145e5974e85fe5192fc6a6f5aa1a98f82a6>
- patch: <https://git.kernel.org/stable/c/5f1b9cff88982e2a2053d8b1fd983f7ccb9f03cc>
- patch: <https://git.kernel.org/stable/c/68aa70648b625fa684bc0b71bbfd905f4943ca20>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64233>

HTML: <https://flawdb.com/CVE-2026-64233> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64233>
