CVE-2026-139209

net: sparx5/lan969x: do not read past skb->len when injecting a frame

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Linux kernel, the network driver for sparx5/lan969x writes frames into an injection FIFO word by word. If a frame length is not a multiple of four bytes, the driver reads a complete 32‑bit word even though only a part of that word belongs to the frame. Consequently, one to three bytes past the end of the packet are read from kernel memory and transmitted. It is inferred that these trailing bytes could contain sensitive kernel data, so the vulnerability could lead to information disclosure.

Affected Systems

All Linux systems that use a kernel containing the unpatched sparx5/lan969x driver are affected. The flaw exists in the injection path of the driver and applies to devices that utilize this driver for wireless or wired networking. Any kernel version that has not incorporated the zero‑padding fix remains vulnerable.

Risk and Exploitability

The CVSS score is not provided in the data, and no EPSS value is available, suggesting that exploitation likelihood is unknown. Since the vulnerability is not listed in the CISA KEV catalog, no active exploits are documented. The likely attack vector is inferred to be an application or network component that can trigger packet injection through the vulnerable driver, possibly via user‑space programs or crafted network traffic. Given the absence of public exploitation and the need to exercise a specific injection path, the overall risk is considered moderate, but any disclosure of kernel contents could be critical in sensitive environments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that contains the patched sparx5/lan969x driver.
  • Reboot the system to load the new kernel and ensure the updated driver is active.
  • If an immediate kernel update is not feasible, rebuild the driver from source with the patch applied and load it as a module.

Generated by OpenCVE AI on December 1, 2026 at 08:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-119
CWE-200
Type Values Removed Values Added
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.
Title net: sparx5/lan969x: do not read past skb->len when injecting a frame
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM