CVE-2026-139208

Source
https://cve.org/CVERecord?id=CVE-2026-139208
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139208.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139208
Downstream
Published
2026-11-30T13:32:34Z
Modified
2026-11-30T15:02:27Z
Summary
net: sparx5: fix tx DCB index drift in fdma xmit
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139208.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f4aa7e361ae2265ccdf2300f0a2ec531caed3f40
Fixed
ee64bc5d5c224b32d6c27a539cd70dc954ed0274
Fixed
3dda94929d30ac206172c4e830b304091260061f
Fixed
b92e3f70dcae641828e68c339b7b8507dad53d03
Fixed
1df26063ab9ba64f5fb11049fa4be686b7fc309e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139208.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139208.json"