Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 89%

CVE-2026-10647: dos in zephyrproject zephyr

0
Medium
VulnerabilityCVE-2026-10647cvecve-2026-10647
Published: 06/29/2026 (06/29/2026, 21:39:08 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

The USB CDC-NCM device class (subsys/usb/device_next/class/usbd_cdc_ncm.c) ignores the return value of usbd_ep_enqueue() in its ethernet transmit callback cdc_ncm_send(). When the enqueue fails, the function still calls k_sem_take(&data->sync_sem, K_FOREVER), blocking on a completion semaphore that is only ever signaled from the bulk-IN transfer-completion callback. Because nothing was enqueued, that callback never fires and the calling thread — a shared network traffic-class TX thread — deadlocks permanently while holding the interface TX lock, halting transmission until reboot (and leaking the transmit buffer). The enqueue fails under conditions controlled by the attached USB host: usbd_ep_enqueue() returns -EPERM whenever the bus is suspended (a standard, persistent host operation), and the underlying udc_ep_enqueue() returns -EPERM/-ENODEV on disconnect, bus reset, or endpoint disable. The cdc_ncm_send() guard only checks the DATA_IFACE_ENABLED and IFACE_UP flags, not the suspended state, so a packet transmitted while the host holds the bus suspended reaches the failing enqueue and deadlocks the TX path. The realistic trigger is a bus suspend that occurs while the exported network interface is active and has traffic to send — host sleep, USB selective/auto-suspend, or hub power management — after which any device-originated packet deadlocks the path, recoverable only by reboot. The impact is a persistent loss of the virtual network connection between the host's NCM interface and the Zephyr device; because the deadlocked thread is a shared traffic-class TX thread, egress on other network interfaces can stall as well. There is no memory corruption or information disclosure. The defect was introduced with the CDC-NCM driver and shipped in releases through v4.4.0; it is fixed by checking the usbd_ep_enqueue() return value and freeing the buffer before the blocking wait.

CVSS v3.1

Score 5.3medium

Attack Vector
Adjacent Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=4.1.0 <4.5.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 13:10:12 UTC

Technical Analysis

The USB CDC-NCM device class in Zephyr (subsys/usb/device_next/class/usbd_cdc_ncm.c) fails to handle errors from usbd_ep_enqueue() in its ethernet transmit callback cdc_ncm_send(). When enqueue fails (e.g., due to USB bus suspend, disconnect, or reset), the function blocks indefinitely on a semaphore that is only signaled upon successful bulk-IN transfer completion. Because the enqueue never succeeds, the callback never fires, causing a permanent deadlock of the shared network TX thread while holding the interface TX lock. This deadlock halts transmission on the affected interface and can stall other network interfaces sharing the TX thread. The defect was introduced with the CDC-NCM driver and shipped in versions through 4.4.0. The fix involves checking the enqueue return value and freeing the buffer before blocking.

Potential Impact

The vulnerability causes a persistent denial-of-service condition by deadlocking the network transmit path when the USB bus is suspended or reset while the network interface is active. This results in a permanent loss of the virtual network connection until the device is rebooted. Other network interfaces sharing the transmit thread may also stall. There is no memory corruption or information disclosure associated with this issue.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves modifying the CDC-NCM driver to check the return value of usbd_ep_enqueue() and free the transmit buffer before blocking on the semaphore. Until a patch is applied, avoid conditions that cause USB bus suspend or reset while the network interface is active to reduce the risk of triggering the deadlock.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-06-02T15:11:50.331Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a42ec7427e9c79719922b47

Added to database: 06/29/2026, 22:06:44 UTC

Last enriched: 08/07/2026, 13:10:12 UTC

Last updated: 08/14/2026, 00:41:09 UTC

Views: 97

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses