# CVE-2026-139209: net: sparx5/lan969x: do not read past skb->len when injecting a frame

- 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:35.354Z
- Modified: 2026-11-30T14:18:40.887Z
- Assigned by: Linux

## Description

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

net: sparx5/lan969x: do not read past skb->len when injecting a frame

sparx5_inject() 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, and reproduced on lan969x and sparx5
with register injection: bytes 57 to 59 of a 57 byte frame were not
zero. With the fix they are zero, and traffic still passes on both
chips.

(As written by CVE List.)

## Affected

- Linux Linux: from f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 before 8f935b1e2858800e633b5fe64c6b53abb2360ad1; from f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 before 2cfbaa421c28c6a0327fab611bd54698a3275c0e; from f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 before 047105875066bf43fec035c072d39f6e6269a811; from f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 before 98325fade62296c0edf47cad68b72f6daa097221; from f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 before 108a86eaaaf03fe26df62c4234bccc1d3881e34c; from f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 before 1d5328be401baa9f1c98178ec1120bbb46b765fa; from f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 before 9642ce6cb51ebd596d0a02074ba9b2a387e974b0; 5.14 (not affected: before 5.14; from 5.15.226 up to 5.15.*; 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/8f935b1e2858800e633b5fe64c6b53abb2360ad1>
- <https://git.kernel.org/stable/c/2cfbaa421c28c6a0327fab611bd54698a3275c0e>
- <https://git.kernel.org/stable/c/047105875066bf43fec035c072d39f6e6269a811>
- <https://git.kernel.org/stable/c/98325fade62296c0edf47cad68b72f6daa097221>
- <https://git.kernel.org/stable/c/108a86eaaaf03fe26df62c4234bccc1d3881e34c>
- <https://git.kernel.org/stable/c/1d5328be401baa9f1c98178ec1120bbb46b765fa>
- <https://git.kernel.org/stable/c/9642ce6cb51ebd596d0a02074ba9b2a387e974b0>

## Sources

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

---

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