net: bcmasp: validate minimum RX packet size in bcmasp_rx_poll()
- CVE-2026-143434
- EUVD-2026-145063
Summary
A flaw in the Linux kernel's bcmasp network driver, in bcmasp_rx_poll(), lets hardware-reported descriptor sizes smaller than the alignment pad, Ethernet header, and optional CRC pass through unchecked. Subtracting those lengths underflows an unsigned 32-bit length value, inflating the rx_bytes statistic by about 4 GiB, and the malformed frame is handed to eth_type_trans(), which reads beyond the valid skb length into stale buffer contents. The fix adds a check that the descriptor size is at least the pad plus Ethernet header plus CRC length when CRC forwarding is enabled. The record does not list a CVSS score or CISA known-exploited status.
AI summary · verify against the vendor advisory
Description
In the Linux kernel, the following vulnerability has been resolved: net: bcmasp: validate minimum RX packet size in bcmasp_rx_poll() In bcmasp_rx_poll(), the driver removes a 2-byte alignment pad and optionally strips the ETH_FCS_LEN CRC from received packets before passing them to eth_type_trans(). If the hardware reports a descriptor size smaller than the sum of the 2-byte pad, the Ethernet header (ETH_HLEN), and optional CRC (ETH_FCS_LEN), subtracting the pad and CRC lengths underflows u32 len. This adds ~4 GiB to rx_bytes statistics, while the undersized frame reaches eth_type_trans(), which reads past skb->len into stale buffer data. Check that desc->size is at least (2 + ETH_HLEN + (crc_fwd ? ETH_FCS_LEN : 0)) before proceeding to process the descriptor.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in 6.6 none stated before 6.6: not affected none stated from 6.6.163 up to 6.6.*: not affected none stated from 6.12.119 up to 6.12.*: not affected none stated from 6.18.65 up to 6.18.*: not affected none stated from 7.3.6 up to 7.3.*: not affected none stated from 7.4-rc1 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.