{"schemaVersion":4,"id":"CVE-2026-104931","aliases":[],"status":"published","duplicateOf":null,"title":"NULL pointer dereference in USB device_next class handlers on zero-length control OUT requests","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.\n\nThe 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.\n\nOn 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.","dates":{"published":"2026-11-30T23:33:15.257Z","modified":"2026-12-04T20:55:12.488Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.6,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00313,"percentile":0.26042,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-01T00:00:00.000Z","score":0.00313,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00313,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00313,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00313,"percentile":0.26042}],"last30":[{"date":"2026-12-01T00:00:00.000Z","score":0.00313,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00313,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00313,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00313,"percentile":0.26042}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-476","name":"NULL Pointer Dereference","description":"The product dereferences a pointer that it expects to be valid but is NULL.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/476.html"}],"affected":[{"vendor":"zephyrproject","product":"zephyr","name":"zephyr","label":"zephyr","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.4.0, < 4.5.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.4.0","startInclusive":true,"end":"4.5.0","endInclusive":false}}],"versionsText":"≥ 4.4.0, < 4.5.0","eol":null,"hubHref":"/vendor/zephyrproject/zephyr"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/commit/7f88f321546bea8cd9f80f7b53303df364b91b85","label":"github.com/zephyrproject-rtos/zephyr/commit/7f88f321546bea8cd9f80f7b53303df364b91b85","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-3hxv-w767-m933","label":"github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-3hxv-w767-m933","hostname":"github.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-30T23:33:15.257Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-04T20:55:12.488Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 4.6, physical access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,46],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"cvss","source":"cve.org","date":"2026-12-04T20:55:12.488Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.6,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-04T20:55:12.488Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.6,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-04T20:55:03.393Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"},{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00313,"stale":false,"promoted":null}],"epss":{"value":0.00313,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T07:02:00.704Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T07:02:01.187Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T07:02:01.389Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T07:01:05.155Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T07:01:59.185Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T07:01:58.234Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:03:49.127Z","stale":false,"partial":false}}