CVE-2026-104931
Last modified
CVE-2026-104931 is a medium-severity vulnerability rated 4.6/10 on the CVSS scale. Since the control-transfer rework in the device_next USB device stack, usbd_handle_ctrl_xfer() in subsys/usb/device_next/usbd_ch9.c calls a class's control_to_dev handler with a NULL buffer when a host-to-device request has no data stage (wLength == 0). Several in-tree handlers dereference that buffer anyway: bt_hci_ctd() (Bluetooth HCI over USB), usbd_hid_ctd()/handle_set_report() (HID SET_REPORT), uvc_control_to_dev() (UVC SET_CUR, reaching uvc_set_vs_probe(), uvc_set_vs_commit() and uvc_set_vc_ctrl()), and lb_control_to_dev() (loopback test class).
Description
Since the control-transfer rework in the device_next USB device stack, usbd_handle_ctrl_xfer() in subsys/usb/device_next/usbd_ch9.c calls a class's control_to_dev handler with a NULL buffer when a host-to-device request has no data stage (wLength == 0). Several in-tree handlers dereference that buffer anyway: bt_hci_ctd() (Bluetooth HCI over USB), usbd_hid_ctd()/handle_set_report() (HID SET_REPORT), uvc_control_to_dev() (UVC SET_CUR, reaching uvc_set_vs_probe(), uvc_set_vs_commit() and uvc_set_vc_ctrl()), and lb_control_to_dev() (loopback test class). Each reads buf->data/buf->len from a NULL pointer. The USB host controls every SETUP field. Any host the device is connected to can trigger the bug by sending one class or vendor OUT control request with wLength = 0 to the affected interface. No authentication is involved. HID devices are affected when the application registers a set_report callback, for example keyboards with LED output reports. On platforms that trap NULL accesses (MPU/DWT null-pointer detection, unmapped low memory, MMU-based targets), the result is a fault that crashes or resets the device. On Cortex-M parts without null-pointer detection (the default), the handlers read a bogus pointer and length from the vector table near address 0 and pass them on, for example to the application's HID set_report callback, which is undefined behavior. The in-tree copies stay bounded by destination sizes, so the impact is denial of service.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| zephyrproject | zephyr | >= 4.4.0, < 4.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-104931?
How severe is CVE-2026-104931?
How do I fix CVE-2026-104931?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-104922Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-104926The WooCommerce Extra Product Options Pro plugin for WordPre…6.1
- CVE-2026-104927The King Addons for Elementor – 100+ Elementor Widgets, 4 00…7.5
- CVE-2026-104928The system call verifier z_vrfy_k_thread_stack_space_get() i…2.8
- CVE-2026-104929The STM32WBA HCI driver (drivers/bluetooth/hci/hci_stm32wba.…6.5
- CVE-2026-104930The STM32 Ethernet driver built with CONFIG_ETH_STM32_HAL_AP…5.9
- CVE-2026-104932The Search Regex plugin for WordPress is vulnerable to PHP O…8
- CVE-2026-104933LibreOffice can embed audio and video in documents. Where it…6.7
- CVE-2026-104934GitLab has remediated an issue in GitLab CE/EE affecting all…4.3
- CVE-2026-104935Authentication bypass by spoofing in ICS before version 25.1…8.6
- CVE-2026-104937Shopware version 6.7 allows the upload of attacker‑controlle…8.1
- CVE-2026-104939Description NGINX Ingress Controller has a vulnerability whe…7.5
Are you affected by CVE-2026-104931?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
