Bug 2587360 (CVE-2026-139209) - CVE-2026-139209 kernel: kernel: sparx5: information disclosure via out-of-bounds read during frame injection
Summary: CVE-2026-139209 kernel: kernel: sparx5: information disclosure via out-of-bou...
Keywords:
Status: NEW
Alias: CVE-2026-139209
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 15:15 UTC by OSIDB Bzimport
Modified: 2026-12-01 14:50 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 15:15:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.