KernelScan.io

HIGH Introduced in 4.19

stmmac RBUE Storm

CVE-2026-93830

CVSS 7.5 / 10.0 NVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

KernelScan AI7.5HIGH

01

In the Linux kernel, the following vulnerability has been resolved: net: stmmac: xgmac2: disable RBUE in default RX interrupt mask Enabling the RX Buffer Unavailable (RBUE) interrupt is counterproductive and can trigger a MAC interrupt storm under heavy RX pressure. When the DMA runs out of RX descriptors it fires RBUE continuously until software refills the ring. However, RBUE is redundant: the normal RX completion interrupt (RIE) already triggers NAPI, which processes completed descriptors and refills the ring, causing the DMA to resume. The RBUE handler itself only sets handle_rx - the same outcome as RIE. On Agilex5 under heavy RX pressure, the MAC interrupt (which includes RBUE) was observed firing 1,821,811,555 times against only 2,618,627 actual RX completions - a ~695x ratio - confirming the severity of the storm. RBUE does not provide OOM recovery. If page_pool is exhausted, stmmac_rx_refill() cannot advance the DMA tail pointer, the DMA stays suspended, and RBUE fires again on the next NAPI completion - a storm with no forward progress. This patch trades that storm for a clean stall with the same RX outcome. Proper OOM recovery is a pre-existing gap outside the scope of this fix. Note: as a consequence of disabling RBUE, the rx_buf_unav_irq ethtool counter will always read 0 on XGMAC2 devices. This behaviour is already inconsistent across DWMAC core versions. Remove RBUE from XGMAC_DMA_INT_DEFAULT_EN and XGMAC_DMA_INT_DEFAULT_RX to prevent the interrupt storm while keeping normal RX handling intact.

02

Engine v0.6.0

Risk summary

The XGMAC2 stmmac Ethernet driver enables a RX Buffer Unavailable interrupt that fires continuously under heavy receive pressure, causing an interrupt storm that can deny service to the entire system. Any network attacker who can flood the affected interface with packets can trigger this condition without authentication or privileges. Devices using XGMAC2-compatible DWMAC controllers (such as Agilex5) are affected.

Affecteddrivers/net/ethernet/stmicro/stmmac/dwxgmac2.h (stmmac xgmac2)

Vulnerability analysis

The Ethernet driver enables a redundant receive interrupt that fires continuously when the hardware runs out of packet buffers. Under heavy incoming traffic this creates an interrupt storm — observed at nearly 700 times the rate of actual packet completions — that monopolizes the CPU and effectively denies service. The extra interrupt provides no recovery benefit: the normal receive completion interrupt already triggers the same refill path, and when memory is truly exhausted the extra interrupt simply re-fires on every processing cycle with no forward progress. The fix disables the redundant interrupt in the default mask so the driver relies solely on the normal receive completion interrupt, trading the storm for a clean stall with identical receive handling. Any device using this driver is affected; an attacker on the network can trigger the storm by flooding the interface with packets, requiring no privileges or special access.

03

BranchIntroducedFixed inPatch commit
5.104.195.10.2718c9d57b5dc09
5.154.195.15.2227a10e54e42a8
6.14.196.1.1896b3b91433d5f
6.124.196.12.1110b1a5d3647ce
6.184.196.18.5387e2826ed205
6.64.196.6.15874dbb85a6a25
mainline4.197.2d3265c19b35d
cip/4.194.194.19.325-cip137a9fa1b44796c
cip/5.104.195.10.271-cip788c9d57b5dc09
cip/5.10-rt4.195.10.272-cip79-rt358c9d57b5dc09
cip/6.14.196.1.189-cip616b3b91433d5f
cip/6.1-rt4.196.1.189-cip61-rt326b3b91433d5f
cip/6.124.196.12.111-cip320b1a5d3647ce

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.111-cip32
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.271-cip78
cip/5.10-rtFixed in 5.10.272-cip79-rt35
cip/4.19Fixed in 4.19.325-cip137
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)