CVE-2026-139178: net: lan966x: do not inject uninitialised bytes past skb->len

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: lan966x: do not inject uninitialised bytes past skb->len

lan966xportifhxmit() 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 VLDBYTES 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 VLDBYTES 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.

Affected Software

10 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.17.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux*
debian/linux*
debian/linux<7.3.6-1
7.3.6-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  7. Compensating control

    In Linux kernel function lan966x_port_ifh_xmit(), write trailing bytes from a zeroed word so bytes past skb->len are zero-padded.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description
Data Sourced
via OSV·01:32 PM
DescriptionAffected Software
Data Sourced
via NVD·02:18 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel's lan966x network driver are exposed when that driver transmits frames whose length is not a multiple of four bytes. The issue was reproduced on a lan9668 board using register injection.

2

What traffic can cause unintended bytes to be transmitted?

A transmitted frame with a length leaving a one- to three-byte remainder in its final 32-bit word can cause bytes beyond skb->len to be read. For frames shorter than 60 bytes, those bytes can be sent on the link because the entire final word is marked valid; a 57-byte frame was used in reproduction.

3

How can I determine whether the issue is occurring on a device?

Capture traffic on a link partner while sending a short test frame whose length is not divisible by four, such as 57 bytes. Before the fix, a padding byte beyond the intended frame data may be nonzero; with the fix, all padding bytes are zero.

4

What does the fix change?

The fix writes trailing partial-word bytes from a zeroed word rather than loading the final word in full. It does not change the number of words written or the VLD_BYTES setting.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203