net: sparx5/lan969x: do not read past skb->len when injecting a frame
Summary
| CVE | CVE-2026-139209 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:18:40 UTC |
| Updated | 2026-11-30 14:18:40 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 8f935b1e2858800e633b5fe64c6b53abb2360ad1 git |
Not specified |
| CNA |
Linux |
Linux |
affected f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 2cfbaa421c28c6a0327fab611bd54698a3275c0e git |
Not specified |
| CNA |
Linux |
Linux |
affected f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 047105875066bf43fec035c072d39f6e6269a811 git |
Not specified |
| CNA |
Linux |
Linux |
affected f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 98325fade62296c0edf47cad68b72f6daa097221 git |
Not specified |
| CNA |
Linux |
Linux |
affected f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 108a86eaaaf03fe26df62c4234bccc1d3881e34c git |
Not specified |
| CNA |
Linux |
Linux |
affected f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 1d5328be401baa9f1c98178ec1120bbb46b765fa git |
Not specified |
| CNA |
Linux |
Linux |
affected f3cad2611a77f0229dc16aa7bd2ef63e35ea9fb6 9642ce6cb51ebd596d0a02074ba9b2a387e974b0 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.14 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.14 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/047105875066bf43fec035c072d39f6e6269a811 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/98325fade62296c0edf47cad68b72f6daa097221 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1d5328be401baa9f1c98178ec1120bbb46b765fa |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/108a86eaaaf03fe26df62c4234bccc1d3881e34c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/9642ce6cb51ebd596d0a02074ba9b2a387e974b0 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/8f935b1e2858800e633b5fe64c6b53abb2360ad1 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/2cfbaa421c28c6a0327fab611bd54698a3275c0e |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.