# CVE-2026-10656: NULL-pointer dereference DoS in MAX32 USB device controller transfer-completion handlers

- Severity: Medium 4.6 (CVSS:3.1, scored by zephyr) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-05T22:23:36.983Z
- Modified: 2026-11-04T04:58:34.075Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: zephyr

## Description

The MAX32xxx USB device controller driver (drivers/usb/udc/udc_max32.c, compatible adi_max32_usbhs) dereferenced an endpoint buffer in its OUT and IN transfer-completion handlers without checking it for NULL. udc_event_xfer_out_done() called net_buf_add(buf, ep_request->actlen) immediately after buf = udc_buf_get(ep_cfg), where udc_buf_get() returns NULL when the endpoint FIFO is empty.

A transfer-completion event is queued from interrupt context and processed asynchronously by the driver thread; between queuing and processing, the endpoint FIFO can be drained by host-controlled control flow — in particular udc_setup_received() drains the EP0 OUT/IN FIFOs whenever a new SETUP packet arrives, and dequeue/disable/purge paths drain it likewise.

A USB host that aborts an in-flight EP0 control transfer with a new SETUP packet (legal USB behavior) can therefore cause a stale XFER_OUT_DONE event to be processed against an empty FIFO, producing net_buf_add(NULL, ...), a near-NULL pointer dereference that faults and crashes the device. No authentication is required; the attacker is the USB host the device is connected to (physical bus access). Impact is denial of service (device crash).

The defect was introduced when the MAX32 UDC driver was added and shipped in Zephyr v4.4.0. The fix adds NULL-buffer checks that return early with UDC_EVT_ERROR/-ENOBUFS in both the OUT-done and IN-done handlers.

(As written by CVE List.)

## Affected

- zephyr: from 4.2.0 before 4.4.1
- zephyrproject zephyr: from 4.2.0 up to 4.4.0

## References

- <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-58p9-6mjq-rf2m> (exploit, patch, vendor-advisory)
- <https://github.com/zephyrproject-rtos/zephyr/commit/a0d8f786559355fb3b38e34799e1ae491ba9545c> (patch)

## Sources

- CVE List: [CVE-2026-10656](https://www.cve.org/CVERecord?id=CVE-2026-10656), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2026-10656](https://nvd.nist.gov/vuln/detail/CVE-2026-10656), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-10656 · Whole record: https://cve.day/CVE-2026-10656.json · Rebuilt by cve.day 2026-11-25T22:59:27.180Z
