CVE-2026-139208
publishednet: sparx5: fix tx DCB index drift in fdma xmit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf4aa7e361ae2265ccdf2300f0a2ec531caed3f40 to < ee64bc5d5c224b32d6c27a539cd70dc954ed0274 · f4aa7e361ae2265ccdf2300f0a2ec531caed3f40 to < 3dda94929d30ac206172c4e830b304091260061f · f4aa7e361ae2265ccdf2300f0a2ec531caed3f40 to < b92e3f70dcae641828e68c339b7b8507dad53d03 · f4aa7e361ae2265ccdf2300f0a2ec531caed3f40 to < 1df26063ab9ba64f5fb11049fa4be686b7fc309e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.12 (affected) · 0 to < 6.12 (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: sparx5: fix tx DCB index drift in fdma xmit sparx5_fdma_xmit() advances dcb_index 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 last_dcb. Since then dcb_index drifts one DCB further away from last_dcb on every failed transmit. While the ring is full, this drops frames even though completed DCBs sit behind dcb_index. After a run of failures, dcb_index can also land on last_dcb itself. Re-adding last_dcb 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 dcb_index the next DCB to use, and advancing it only after the DCB has been added, as the rx path does. dcb_index and last_dcb now only move together, so dcb_index always points at the DCB after last_dcb. 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.
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 | f4aa7e361ae2265ccdf2300f0a2ec531caed3f40 to < ee64bc5d5c224b32d6c27a539cd70dc954ed0274 (affected · git)f4aa7e361ae2265ccdf2300f0a2ec531caed3f40 to < 3dda94929d30ac206172c4e830b304091260061f (affected · git)f4aa7e361ae2265ccdf2300f0a2ec531caed3f40 to < b92e3f70dcae641828e68c339b7b8507dad53d03 (affected · git)f4aa7e361ae2265ccdf2300f0a2ec531caed3f40 to < 1df26063ab9ba64f5fb11049fa4be686b7fc309e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.12 (affected)0 to < 6.12 (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
4Provider assertions
1Linux · cna
net: sparx5: fix tx DCB index drift in fdma xmit
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 16325cf8b2fb27d6cf14c15100f09561cb4fc0133fbf0146e6b3842ba54961e4
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record