# CVE-2026-102953: Use-after-free of control transfer buffer on timeout in USB host usbh\_req\_setup

- **Severity:** MEDIUM 6.0
- **CVSS:** 6.0 (v3.1, CNA) `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H`
- **CVSS metrics:** Attack vector: Physical; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: High; 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.21% (percentile 6, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2026-11-23T18:02:51.713Z
- **Modified:** 2026-11-23T19:17:28.673Z

## Who should check

- Anyone running zephyrproject zephyr \>= 4.1.0, \< 4.5.0

## Description

usbh\_req\_setup() in subsys/usb/host/usbh\_ch9.c returns -ETIMEDOUT as soon as a control request times out, even though the transfer is still in flight. usbh\_xfer\_dequeue() only requests cancellation, and the host controller driver keeps the transfer and its data buffer until it returns it through the completion callback. Callers such as usbh\_req\_desc\_dev() and usbh\_req\_desc\_cfg() free the buffer (net\_buf\_unref()) right after usbh\_req\_setup() returns. Separately, a single global semaphore (ch9\_req\_sync) with no mutual exclusion lets a late or foreign completion wake the wrong waiter. That waiter then returns early and its caller frees a buffer the controller is still filling.

A malicious USB device attached to a Zephyr USB host port can trigger this during enumeration. It NAKs a GET\_DESCRIPTOR request until the 5-second timeout expires, then answers with data around the cancellation, or delays its answer to the next request after leaving a stale semaphore signal. The controller driver (for example the MAX3421E max3421e\_hrslt\_success() path) then writes device-controlled bytes into the freed net\_buf and updates its length.

The result is a use-after-free write into the USB host buffer pool with attacker-chosen contents, which can corrupt buffers that have been reallocated to other transfers, plus a leak of transfer objects. Crashes or memory corruption follow. The fix serializes usbh\_req\_setup() with a mutex, resets the semaphore before each request, and waits for the driver to return a cancelled transfer before freeing it. Only builds with the experimental CONFIG\_USB\_HOST\_STACK are affected.

## Affected and fixed versions

- zephyrproject zephyr: \>= 4.1.0, \< 4.5.0 (cvelist)

## Technologies

Zephyr RTOS

## Mitigation

- Upgrade zephyr to 4.5.0 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-102953. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-102953.md
Affected: zephyrproject zephyr >= 4.1.0, < 4.5.0
Fixed in: zephyrproject zephyr 4.5.0

Steps:
1. Search this machine and project for zephyrproject zephyr: 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-102953 being exploited?

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

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

Medium: CVSS 6.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

zephyrproject zephyr \>= 4.1.0, \< 4.5.0.

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

Yes. Fixed in zephyrproject zephyr 4.5.0. Upgrade zephyr to 4.5.0 or later.

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

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

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-6f9f-h56f-m65x>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/6862873ee28efc6bbac5553de365cd0d92d1b55f>

## 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-102953>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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