# CVE-2026-10663: Use-after-free / double-free of the root USB device in the experimental USB host stack

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

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, CNA) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Physical; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; 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.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-07-12T16:16:48.576Z
- **Modified:** 2026-11-04T04:58:39.854Z

## Who should check

- Anyone running zephyrproject zephyr \>= 4.4.0, \< 4.4.2

## Description

In Zephyr's experimental USB host stack (CONFIG\_USB\_HOST\_STACK), usbh\_device\_disconnect() (subsys/usb/host/usbh\_device.c) freed the root usb\_device slab object without clearing the cached pointer ctx-\>root. The bus removal handler dev\_removed\_handler() (subsys/usb/host/usbh\_core.c) decides what to tear down solely from ctx-\>root, checking only that it is non-NULL.

Because UHC controller drivers (e.g. uhc\_max3421e, uhc\_mcux\_common) synthesize UHC\_EVT\_DEV\_REMOVED directly from physical bus line state with no debounce or state guard, an attacker with physical USB access (or a rogue device that bounces its connection) can deliver a second device-removed event after a root device disconnect. The handler then re-enters usbh\_device\_disconnect() with the dangling pointer, locking a mutex inside the freed object (use-after-free), removing the freed node from the device list, and calling k\_mem\_slab\_free() on the already-freed block (double-free). If the slab block has been reissued to a newly attached device in between, this corrupts a live object.

Impact is denial of service (crash) and memory corruption; the attack vector is physical/local. The flaw was introduced in v4.4.0 by the connect/disconnect refactor and is fixed by clearing ctx-\>root in usbh\_device\_disconnect() before freeing.

## Affected and fixed versions

- zephyrproject zephyr: \>= 4.4.0, \< 4.4.2 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-10663.md
Affected: zephyrproject zephyr >= 4.4.0, < 4.4.2
Fixed in: zephyrproject zephyr 4.4.2

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-10663 being exploited?

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

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

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

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

zephyrproject zephyr \>= 4.4.0, \< 4.4.2.

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

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

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

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-26q8-xjq3-f5p6>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/4b87a8f161a44cb19505fa97db7cf72f64d49165>

## 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-10663>

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