net: bcmgenet: keep RBUF EEE/PM disabled
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6ef398ea60d931b97d69ed080bd0bd00fac38ec6 · < 3d4ef05266ab16d8ef7dd21658a557801eb78704| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: bcmgenet: keep RBUF EEE/PM disabled
Setting RBUF_EEE_EN | RBUF_PM_EN in RBUF_ENERGY_CTRL breaks the RX path on GENET hardware once MAC EEE becomes active. RX traffic stops flowing while the link stays up and the usual descriptor/RX error counters remain quiet. In that state the MAC still accepts frames (rbuf_ovflow_cnt keeps climbing) but RBUF no longer forwards them to DMA, so rx_packets is no longer incremented at the netdev level. On some boards the corruption ends up as a paging fault in skb_release_data via bcmgenet_rx_poll on an LPI exit.
Reproduced on Pi 4B (BCM2711 + BCM54213PE) and confirmed by Florian Fainelli on an internal Broadcom 4908-family board with the same crash signature. RBUF_PM_EN is not publicly documented.
This shows up more often now that phy_support_eee() enables EEE by default, but it also affects older kernels as soon as TX LPI is turned on via ethtool, so it is not specific to recent changes.
Always clear RBUF_EEE_EN | RBUF_PM_EN in bcmgenet_eee_enable_set so the bits stay off across resets. UMAC and TBUF setup is left alone so TX-side EEE keeps working.
From the CVE record · Linux
The Linux kernel bcmgenet driver can stop forwarding received frames to DMA when MAC EEE becomes active with RBUF EEE and PM enabled. RX traffic then stops despite the link remaining up; on some boards, the issue can cause a paging fault. The input does not describe an attacker trigger, authentication requirement, or user interaction.
Operators of Linux systems using GENET hardware and the bcmgenet driver should check their kernels; affected versions are not specified, and older kernels can be affected when TX LPI is enabled via ethtool.