CVE-2026-143434: net: bcmasp: validate minimum RX packet size in bcmasp_rx_poll()
In the Linux kernel, the following vulnerability has been resolved:
net: bcmasp: validate minimum RX packet size in bcmasprxpoll()
In bcmasprxpoll(), the driver removes a 2-byte alignment pad and optionally strips the ETHFCSLEN CRC from received packets before passing them to ethtypetrans().
If the hardware reports a descriptor size smaller than the sum of the 2-byte pad, the Ethernet header (ETHHLEN), and optional CRC (ETHFCSLEN), subtracting the pad and CRC lengths underflows u32 len. This adds ~4 GiB to rxbytes statistics, while the undersized frame reaches ethtypetrans(), which reads past skb->len into stale buffer data.
Check that desc->size is at least (2 + ETHHLEN + (crcfwd ? ETHFCSLEN : 0)) before proceeding to process the descriptor.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In bcmasp_rx_poll(), verify that desc->size is at least 2 + ETH_HLEN + (crc_fwd ? ETH_FCS_LEN : 0) before processing the descriptor.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel bcmasp network driver are exposed when they process receive descriptors with undersized packet lengths. The affected path is the driver's RX polling routine.
What condition triggers the vulnerable behavior?
The hardware must report a descriptor size smaller than the required 2-byte alignment pad plus the Ethernet header, and plus the Ethernet CRC length when CRC forwarding is enabled. This causes length subtraction to underflow before the packet is passed to eth_type_trans().
How can administrators recognize a possible occurrence?
A possible indicator is an unexpected increase of approximately 4 GiB in RX byte statistics after processing an undersized descriptor. The malformed frame may also cause eth_type_trans() to read stale buffer data beyond the packet's actual skb length.