Linux kernel lan966x driver sends uninitialized bytes past frame end
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel from 5.17 has a flaw in the lan966x network driver's frame injection path. The driver loads the last partial 32-bit word whole, so 1 to 3 bytes past the end of a frame are read. For frames shorter than 60 bytes, these bytes are transmitted on the wire instead of zero padding.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: net: lan966x: do not inject uninitialised bytes past skb->len lan966x_port_ifh_xmit() writes the frame to the injection FIFO one 32-bit word at a time, and pads frames shorter than 60 bytes with zero words. Before this patch, the last word is loaded whole even when skb->len is not a multiple of four, so 1 to 3 bytes past the end of the frame are read. For a frame shorter than 60 bytes those bytes are also transmitted, as VLD_BYTES marks the whole last word valid and the padding starts at the next word. Write the trailing bytes from a zeroed word. The number of words written and VLD_BYTES are unchanged. Found by an AI code review agent. Reproduced on a lan9668 board with register injection, by sending a 57 byte frame and capturing it on the link partner: byte 57 of the padded frame was not zero. With the fix all padding bytes are zero.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update the Linux kernel to 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1, matching the stable branch in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139178
- 2026-11-30 Alias added: GHSA-fvfv-2g4m-vv8m
References
Other 6
- https://git.kernel.org/stable/c/33041f173345986e7139d1687b703eb373c1a598
- https://git.kernel.org/stable/c/e32fbfc5ad788b85fc8ed692981b643db8cf8053
- https://git.kernel.org/stable/c/99d87e161915fc55423f9b6367f4f911605efbc7
- https://git.kernel.org/stable/c/b191152faaa57cd5b5b72f20c4a2d2b8dc96f899
- https://git.kernel.org/stable/c/a287ac76e7b5735bce619c060237095824eb0ae5
- https://git.kernel.org/stable/c/b4a7180558eb3cd8affa1e240b22171425bdfcb4
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139178 · CVE Program
- CVE-2026-139178 · NVD
- GHSA-fvfv-2g4m-vv8m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences