CVE-2026-139178
publishednet: lan966x: do not inject uninitialised bytes past skb->len
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd28d6d2e37d10d607f931d25c835a0bd94d370e3 to < 33041f173345986e7139d1687b703eb373c1a598 · d28d6d2e37d10d607f931d25c835a0bd94d370e3 to < e32fbfc5ad788b85fc8ed692981b643db8cf8053 · d28d6d2e37d10d607f931d25c835a0bd94d370e3 to < 99d87e161915fc55423f9b6367f4f911605efbc7 · d28d6d2e37d10d607f931d25c835a0bd94d370e3 to < b191152faaa57cd5b5b72f20c4a2d2b8dc96f899 · d28d6d2e37d10d607f931d25c835a0bd94d370e3 to < a287ac76e7b5735bce619c060237095824eb0ae5 · d28d6d2e37d10d607f931d25c835a0bd94d370e3 to < b4a7180558eb3cd8affa1e240b22171425bdfcb4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.17 (affected) · 0 to < 5.17 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d28d6d2e37d10d607f931d25c835a0bd94d370e3 to < 33041f173345986e7139d1687b703eb373c1a598 (affected · git)d28d6d2e37d10d607f931d25c835a0bd94d370e3 to < e32fbfc5ad788b85fc8ed692981b643db8cf8053 (affected · git)d28d6d2e37d10d607f931d25c835a0bd94d370e3 to < 99d87e161915fc55423f9b6367f4f911605efbc7 (affected · git)d28d6d2e37d10d607f931d25c835a0bd94d370e3 to < b191152faaa57cd5b5b72f20c4a2d2b8dc96f899 (affected · git)d28d6d2e37d10d607f931d25c835a0bd94d370e3 to < a287ac76e7b5735bce619c060237095824eb0ae5 (affected · git)d28d6d2e37d10d607f931d25c835a0bd94d370e3 to < b4a7180558eb3cd8affa1e240b22171425bdfcb4 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.17 (affected)0 to < 5.17 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/33041f173345986e7139d1687b703eb373c1a598
- https://git.kernel.org/stable/c/99d87e161915fc55423f9b6367f4f911605efbc7
- https://git.kernel.org/stable/c/a287ac76e7b5735bce619c060237095824eb0ae5
- https://git.kernel.org/stable/c/b191152faaa57cd5b5b72f20c4a2d2b8dc96f899
- https://git.kernel.org/stable/c/b4a7180558eb3cd8affa1e240b22171425bdfcb4
- https://git.kernel.org/stable/c/e32fbfc5ad788b85fc8ed692981b643db8cf8053
Provider assertions
1Linux · cna
net: lan966x: do not inject uninitialised bytes past skb->len
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e5ff0a2c69544e9af1f146e149ebc7591fa73eb0979296660e1e371f72e94033
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record