CVE-2026-139178
net: lan966x: do not inject uninitialised bytes past skb->len
Check your servers for CVE-2026-139178
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139178 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d28d6d2e37d10d607f931d25c835a0bd94d370e3, before 33041f173345986e7139d1687b703eb373c1a598 affected from d28d6d2e37d10d607f931d25c835a0bd94d370e3, before e32fbfc5ad788b85fc8ed692981b643db8cf8053 affected from d28d6d2e37d10d607f931d25c835a0bd94d370e3, before 99d87e161915fc55423f9b6367f4f911605efbc7 affected from d28d6d2e37d10d607f931d25c835a0bd94d370e3, before b191152faaa57cd5b5b72f20c4a2d2b8dc96f899 affected from d28d6d2e37d10d607f931d25c835a0bd94d370e3, before a287ac76e7b5735bce619c060237095824eb0ae5 affected from d28d6d2e37d10d607f931d25c835a0bd94d370e3, before b4a7180558eb3cd8affa1e240b22171425bdfcb4
Other versions: unaffected
|
| Linux |
affected 5.17 unaffected before 5.17 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139178 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139178
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139178
trivy image --scanners vuln IMAGE | grep CVE-2026-139178
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/33041f173345986e7139d1687b703eb373c1a598 git.kernel.org
- https://git.kernel.org/stable/c/e32fbfc5ad788b85fc8ed692981b643db8cf8053 git.kernel.org
- https://git.kernel.org/stable/c/99d87e161915fc55423f9b6367f4f911605efbc7 git.kernel.org
- https://git.kernel.org/stable/c/b191152faaa57cd5b5b72f20c4a2d2b8dc96f899 git.kernel.org
- https://git.kernel.org/stable/c/a287ac76e7b5735bce619c060237095824eb0ae5 git.kernel.org
- https://git.kernel.org/stable/c/b4a7180558eb3cd8affa1e240b22171425bdfcb4 git.kernel.org
Source: the record CVE-2026-139178 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse