{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-10663","published":"2026-07-12T17:16:23.120000Z","last_modified":"2026-10-24T22:10:00.210000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"vulnerabilities@zephyrproject.org","primary":false},"auth":true,"cwes":["CWE-416"],"cpes":[{"criteria":"cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*","part":"o","vendor":"zephyrproject","product":"zephyr","version_start_including":"4.4.0","version_end_excluding":"4.5.0"}],"cpes_truncated":false,"vendors":["zephyrproject"],"products":["zephyrproject/zephyr"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"os","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":37,"links":{"html_es":"/es/cve/CVE-2026-10663/","html_en":"/en/cve/CVE-2026-10663/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-10663","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-10663"},"untrusted":{"vendor_name":"Zephyrproject","product_name":"Zephyr","desc_en":"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.\n\nBecause 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.\n\nImpact 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":[{"untrusted_vendor":"zephyrproject","untrusted_product":"zephyr","versions":[]}],"references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/commit/4b87a8f161a44cb19505fa97db7cf72f64d49165","tags":["Patch"]},{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-26q8-xjq3-f5p6","tags":["Patch","Vendor Advisory"]}]}}