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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-30T13:32:18.133Z
- Modified: 2026-11-30T14:18:36.893Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from d28d6d2e37d10d607f931d25c835a0bd94d370e3 before 33041f173345986e7139d1687b703eb373c1a598; from d28d6d2e37d10d607f931d25c835a0bd94d370e3 before e32fbfc5ad788b85fc8ed692981b643db8cf8053; from d28d6d2e37d10d607f931d25c835a0bd94d370e3 before 99d87e161915fc55423f9b6367f4f911605efbc7; from d28d6d2e37d10d607f931d25c835a0bd94d370e3 before b191152faaa57cd5b5b72f20c4a2d2b8dc96f899; from d28d6d2e37d10d607f931d25c835a0bd94d370e3 before a287ac76e7b5735bce619c060237095824eb0ae5; from d28d6d2e37d10d607f931d25c835a0bd94d370e3 before b4a7180558eb3cd8affa1e240b22171425bdfcb4; 5.17 (not affected: before 5.17; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-139178](https://www.cve.org/CVERecord?id=CVE-2026-139178), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139178](https://nvd.nist.gov/vuln/detail/CVE-2026-139178), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139178 · Whole record: https://cve.day/CVE-2026-139178.json · Rebuilt by cve.day 2026-11-30T14:32:54.289Z
