CVE-2026-139208: net: sparx5: fix tx DCB index drift in fdma xmit

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: sparx5: fix tx DCB index drift in fdma xmit

sparx5fdmaxmit() advances dcbindex before checking that the FDMA is done with the DCB, and does not undo the advance when the check fails. Before commit f4aa7e361ae2 ("net: sparx5: use FDMA library for adding DCB's in the tx path") the next DCB was always the one after lastdcb. Since then dcbindex drifts one DCB further away from lastdcb on every failed transmit.

While the ring is full, this drops frames even though completed DCBs sit behind dcbindex. After a run of failures, dcbindex can also land on lastdcb itself. Re-adding lastdcb loses the frame, because the FDMA has already passed the tail of the chain, and that DCB is never completed again.

Fix this by making dcbindex the next DCB to use, and advancing it only after the DCB has been added, as the rx path does. dcbindex and lastdcb now only move together, so dcbindex always points at the DCB after lastdcb.

The issue was found by an AI code review agent. It was reproduced on a sparx5 PCB135 board with a modified kernel that forces 63 consecutive transmit failures. Afterwards, about 1 in 64 frames is lost for good. With the fix, the same test loses no frames.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In sparx5_fdma_xmit(), make dcb_index point to the next DCB to use and advance it only after the DCB has been added.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203