CVE-2026-104930
published medium CVSS 3.1 · 5.9STM32 Ethernet driver (HAL API v2) RX path stalls permanently after a dropped frame
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zephyrproject | — | zephyr3.3.0 to < 4.3.2 · 4.4.0 to < 4.5.0 · Other versions: unaffected | Affected | Not stated | zephyr |
Description
The STM32 Ethernet driver built with CONFIG_ETH_STM32_HAL_API_V2 can stop receiving permanently after it drops one frame. eth_stm32_rx() in drivers/ethernet/eth_stm32_hal_v2.c drops a received frame when net_pkt_rx_alloc_with_buffer() or net_pkt_write() fails. It releases the frame's DMA buffers and returns NULL. rx_thread() reads that NULL as "ring empty" and blocks on rx_int_sem. The HAL only re-arms RX descriptors inside the next HAL_ETH_ReadData() call, because the dropped frame's buffers were still marked in use while HAL_ETH_ReadData() ran. So that frame's descriptors are left without DMA ownership. The drop path is reachable over the network. A remote sender can exhaust the RX packet pool (CONFIG_NET_PKT_RX_COUNT defaults to 4) by flooding the device or by filling queues that hold received packets. If the drop happens while the rest of the small descriptor ring is already full and the burst's RX-complete interrupts have been merged, no DMA-owned descriptor is left to raise another interrupt. Nothing then calls HAL_ETH_ReadData() again. Hitting this window is timing-dependent. When it happens, Ethernet reception stays dead after the attack stops and after the packet pool recovers, until the interface is restarted or the device reboots. There is no memory corruption or information disclosure. The fix gives rx_int_sem again after a dropped frame, so the RX thread re-runs HAL_ETH_ReadData() and the descriptors are re-armed.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- zephyr · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zephyrproject | zephyr | 3.3.0 to < 4.3.2 (affected · semver)4.4.0 to < 4.5.0 (affected · semver)Default: unaffected | zephyr · cna |
Weaknesses
1- CWE-400 dos
References
2- Fix commit https://github.com/zephyrproject-rtos/zephyr/commit/51b320b1c2a89c36374593c77abc0d4c9dba6349
- GHSA-m9q6-cg3f-c43h https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m9q6-cg3f-c43h
Provider assertions
1zephyr · cna
STM32 Ethernet driver (HAL API v2) RX path stalls permanently after a dropped frame
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 67c267bee5de9f5a76e369e0229ca9e18ccd6f963fdd2320393f1f0e6ea53d7b
- Ingested
- 29 Nov 2026, 21:05:13 UTC
- Source record
- Official CVE record