CVE-2026-104930: STM32 Ethernet driver (HAL API v2) RX path stalls permanently after a dropped frame

Published Nov 29, 2026
·
Updated

The STM32 Ethernet driver built with CONFIGETHSTM32HALAPIV2 can stop receiving permanently after it drops one frame. ethstm32rx() in drivers/ethernet/ethstm32halv2.c drops a received frame when netpktrxallocwithbuffer() or netpktwrite() fails. It releases the frame's DMA buffers and returns NULL. rxthread() reads that NULL as "ring empty" and blocks on rxintsem. The HAL only re-arms RX descriptors inside the next HALETHReadData() call, because the dropped frame's buffers were still marked in use while HALETHReadData() 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 (CONFIGNETPKTRXCOUNT 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 HALETHReadData() 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 rxintsem again after a dropped frame, so the RX thread re-runs HALETHReadData() and the descriptors are re-armed.

Affected Software

1 affected component
Zephyr Project Zephyr

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Operational

    Restart the Ethernet interface or reboot the device to restore reception after the RX path stalls.

Event History

Nov 29, 2026
CVE Published
via MITRE·08:56 PM
Data Sourced
via MITRE·08:56 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Zephyr deployments using the STM32 Ethernet driver built with CONFIG_ETH_STM32_HAL_API_V2 are exposed. The trigger is reachable remotely over the network.

2

What does an attacker need to do to trigger the failure?

An unauthenticated remote sender must exhaust the RX packet pool, such as by flooding the device or filling queues that retain received packets. The failure also depends on a timing-sensitive condition in which the descriptor ring is full and RX-complete interrupts from the burst have been merged.

3

Does the default RX packet-pool setting contribute to exposure?

Yes. CONFIG_NET_PKT_RX_COUNT defaults to 4, leaving a small RX packet pool that a remote sender can exhaust.

4

How can an affected device be identified during or after an attack?

Ethernet reception remains unavailable after the triggering traffic stops and after packet-pool pressure is relieved. The RX path can be stalled waiting on rx_int_sem because no DMA-owned descriptor remains to generate a further receive interrupt.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203