# CVE-2026-104930: Zephyr STM32 Ethernet driver denial of service after packet drop

Source: https://junglewise.ai/threats/cve-2026-104930-the-stm32-ethernet-driver-built-with-config-eth-stm32-hal-api-v2  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-29. Updated: 2026-11-29  
License: CC BY 4.0 with a link back

CVE-2026-104930 · Severity: medium · CVSS 5.9 · Published 2026-11-29

The STM32 Ethernet driver in Zephyr RTOS can become unresponsive to network traffic after dropping a single frame under specific conditions. An attacker on the network can trigger this by sending excessive traffic or packets designed to exhaust the device's receive buffer pool, causing the Ethernet interface to stop receiving data until the device is rebooted or the interface is manually restarted. This creates a denial of service affecting any device relying on network connectivity.

Technologies: [Zephyr Project Zephyr RTOS](https://junglewise.ai/threats/technologies/zephyr). Vendors: [Zephyr Project](https://junglewise.ai/threats/vendors/zephyr-project).

## Quick answers

**Is CVE-2026-104930 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-104930 being exploited in the wild.

**How severe is CVE-2026-104930?** Medium severity, with a CVSS score of 5.9, published 29 November 2026.

**Which products and versions are affected?** Zephyr Project Zephyr RTOS Versions with CONFIG_ETH_STM32_HAL_API_V2 enabled for STM32 Ethernet driver.

**Is there a fix for CVE-2026-104930?** Yes: fixed in Zephyr commit 51b320b1c2a89c36374593c77abc0d4c9dba6349 and later. Until then: Increase CONFIG_NET_PKT_RX_COUNT to reduce the likelihood of packet pool exhaustion, or disable CONFIG_ETH_STM32_HAL_API_V2 and use the legacy Ethernet driver API if available. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-104930 attacked?** It is attacked over the network, in an operating system.

**Am I affected by CVE-2026-104930?** Check whether you run Zephyr Project Zephyr RTOS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in Zephyr commit 51b320b1c2a89c36374593c77abc0d4c9dba6349 and later

Increase CONFIG_NET_PKT_RX_COUNT to reduce the likelihood of packet pool exhaustion, or disable CONFIG_ETH_STM32_HAL_API_V2 and use the legacy Ethernet driver API if available.

## Technical details

The eth_stm32_rx() function in drivers/ethernet/eth_stm32_hal_v2.c drops received frames when memory allocation fails (net_pkt_rx_alloc_with_buffer() or net_pkt_write() fails) and returns NULL, which rx_thread() interprets as an empty ring and blocks on rx_int_sem. The HAL only re-arms RX descriptors during HAL_ETH_ReadData() calls, leaving dropped frame descriptors without DMA ownership. When the descriptor ring is full and RX-complete interrupts are coalesced, no DMA-owned descriptor remains to trigger the next interrupt, permanently stalling reception. The attack is triggered over the network by exhausting the RX packet pool (default CONFIG_NET_PKT_RX_COUNT = 4) through flooding or queue saturation.

## Affected products

- Zephyr Project Zephyr RTOS Versions with CONFIG_ETH_STM32_HAL_API_V2 enabled for STM32 Ethernet driver

## Timeline

- 2026-11-29: disclosed

## References

- [https://github.com/zephyrproject-rtos/zephyr](https://github.com/zephyrproject-rtos/zephyr)
- [https://github.com/zephyrproject-rtos/zephyr/commit/51b320b1c2a89c36374593c77abc0d4c9dba6349](https://github.com/zephyrproject-rtos/zephyr/commit/51b320b1c2a89c36374593c77abc0d4c9dba6349)

## Related threats

- [Zephyr USB device_next NULL pointer dereference in control handlers](https://junglewise.ai/threats/cve-2026-104931-since-the-control-transfer-rework-in-the-device-next-usb-device)
- [Zephyr SOCKS5 client use-after-free in stack callbacks](https://junglewise.ai/threats/cve-2026-95821-the-socks5-client-in-subsys-net-lib-socks-socks-c-passes-the)
- [Zephyr RTOS use-after-free in IPv6 packet handling](https://junglewise.ai/threats/cve-2026-104379-net-if-try-send-data-in-subsys-net-ip-net-if-c-reads-net-pkt)
- [Zephyr kernel object core framework use-after-free memory corruption](https://junglewise.ai/threats/cve-2026-104376-the-kernel-object-core-framework-kernel-obj-core-c-linked-every)
- [Zephyr IPv4/IPv6/6LoWPAN fragment reassembly race condition](https://junglewise.ai/threats/cve-2026-102961-zephyr-s-ipv6-ipv4-and-ieee-802-15-4-6lowpan-fragment-reassembly)
