CVE-2026-104930 - STM32 Ethernet driver (HAL API v2) RX path stalls permanently after a dropped frame
Vulnerability · Reported by NVD · · CWE-400
- Severity
- Medium Risk score 59/100
- CVSS
- 5.9 v3.1 · from NVD
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
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
How this vulnerability can be exploited
This is a uncontrolled resource consumption flaw (CWE-400). An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is high, meaning specific conditions must exist first. If successful, the attacker could crash or disrupt the service.
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Tags
CVE-2026-104930
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-104930 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.