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…
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 d
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Zephyrproject
- Product
- zephyr
- CVSS v3.1
- 6.0 AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
- Exploitation
- SSVC none, automatable no, impact partial
- Weakness
- CWE-416
- NVD status
- Awaiting Analysis
Why it ranks 3 (Routine)
- CVSS v3.1 6.0 medium
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.