CVE-2026-139178

Source
https://cve.org/CVERecord?id=CVE-2026-139178
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139178.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139178
Downstream
Published
2026-11-30T13:32:18Z
Modified
2026-11-30T15:02:27Z
Summary
net: lan966x: do not inject uninitialised bytes past skb->len
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139178.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d28d6d2e37d10d607f931d25c835a0bd94d370e3
Fixed
33041f173345986e7139d1687b703eb373c1a598
Fixed
e32fbfc5ad788b85fc8ed692981b643db8cf8053
Fixed
99d87e161915fc55423f9b6367f4f911605efbc7
Fixed
b191152faaa57cd5b5b72f20c4a2d2b8dc96f899
Fixed
a287ac76e7b5735bce619c060237095824eb0ae5
Fixed
b4a7180558eb3cd8affa1e240b22171425bdfcb4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139178.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139178.json"