CVE-2026-104930
NVD
Vulnerability Summary
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. Affected components - `drivers/ethernet/eth_stm32_hal_v2.c` - `drivers/ethernet/eth_stm32_hal_common.c` Affected versions `>= 3.3.0, < 4.3.2; >= 4.4.0, < 4.5.0` Fix Fixed in 4.3.2, 4.5.0. Release lines that have not yet taken the backport remain affected — see the affected version range above. Introduced by: aa5353a901b (drivers: ethernet: stm32: Enable receiving with new driver, July 2022; HAL API v2 RX path) Evidence - drivers/ethernet/eth_stm32_hal_v2.c:435-530 — eth_stm32_rx(): on alloc/write failure it releases rx_header->used after HAL_ETH_ReadData() and returns NULL (pre-fix: goto out with no rescheduling) - drivers/ethernet/eth_stm32_hal_v2.c:63-82 — HAL_ETH_RxAllocateCallback() only hands out headers with used==false, so the frame being read cannot be re-armed during its own HAL_ETH_ReadData() - drivers/ethernet/eth_stm32_hal_common.c:40-66 — rx_thread() treats any NULL from eth_stm32_rx() as end-of-ring and blocks on rx_int_sem - drivers/ethernet/eth_stm32_hal_common.c:77-87 — HAL_ETH_RxCpltCallback() is the only giver of rx_int_sem (one give per RI interrupt, so frames can share one give) - ../modules/hal/stm32/stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_eth.c — HAL_ETH_ReadData() re-arms descriptors only via ETH_UpdateDescriptor(), which stops at the first failed buffer allocation - drivers/ethernet/eth_stm32_hal_priv.h:21 — ETH_RXBUFNB == ETH_RX_DESC_CNT (no spare buffers); H7 HAL conf default is 4 descriptors - subsys/net/ip/Kconfig:743-746 — NET_PKT_RX_COUNT defaults to 4, so the RX pool is easy to exhaust from the network - upstream PR #120512 — stall observed on STM32H753: Ethernet stayed unresponsive while all RX pools were free again <!-- zepsec:patch --> Patches | Branch | Pull request | Status | | --- | --- | --- | | `main` | #120512 — `51b320b1c2a8` | merged | | `v4.4-branch` | #121317 | merged | | `v4.3-branch` | #121316 | merged | | `v3.7-branch` | #121315 | merged | <!-- zepsec:patch --> For more information If you have any questions or comments about this advisory: Open an issue in zephyr Email us at Zephyr-vulnerabilities embargo: 2026-11-29
CVSS v3.1 Base Metrics — Score 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- zephyr >= 3.3.0, < 4.3.2
- zephyr >= 4.4.0, < 4.5.0
- zephyr 4.3.2
- zephyr 4.5.0
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run zephyr and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 29, 2026Published
- Nov 29, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new zephyr CVEsYou are reading CVE-2026-104930. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 29, 2026 18:46 UTC