{"id":"CVE-2026-139208","aliases":["CVE-2026-139208"],"related":[],"kind":"vulnerability","state":"published","title":"net: sparx5: fix tx DCB index drift in fdma xmit","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sparx5: fix tx DCB index drift in fdma xmit\n\nsparx5_fdma_xmit() advances dcb_index before checking that the FDMA is\ndone with the DCB, and does not undo the advance when the check fails.\nBefore commit f4aa7e361ae2 (\"net: sparx5: use FDMA library for adding\nDCB's in the tx path\") the next DCB was always the one after last_dcb.\nSince then dcb_index drifts one DCB further away from last_dcb on every\nfailed transmit.\n\nWhile the ring is full, this drops frames even though completed DCBs\nsit behind dcb_index. After a run of failures, dcb_index can also land\non last_dcb itself. Re-adding last_dcb loses the frame, because the\nFDMA has already passed the tail of the chain, and that DCB is never\ncompleted again.\n\nFix this by making dcb_index the next DCB to use, and advancing it only\nafter the DCB has been added, as the rx path does. dcb_index and\nlast_dcb now only move together, so dcb_index always points at the DCB\nafter last_dcb.\n\nThe issue was found by an AI code review agent. It was reproduced on a\nsparx5 PCB135 board with a modified kernel that forces 63 consecutive\ntransmit failures. Afterwards, about 1 in 64 frames is lost for good.\nWith the fix, the same test loses no frames.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sparx5: fix tx DCB index drift in fdma xmit\n\nsparx5_fdma_xmit() advances dcb_index before checking that the FDMA is\ndone with the DCB, and does not undo the advance when the check fails.\nBefore commit f4aa7e361ae2 (\"net: sparx5: use FDMA library for adding\nDCB's in the tx path\") the next DCB was always the one after last_dcb.\nSince then dcb_index drifts one DCB further away from last_dcb on every\nfailed transmit.\n\nWhile the ring is full, this drops frames even though completed DCBs\nsit behind dcb_index. After a run of failures, dcb_index can also land\non last_dcb itself. Re-adding last_dcb loses the frame, because the\nFDMA has already passed the tail of the chain, and that DCB is never\ncompleted again.\n\nFix this by making dcb_index the next DCB to use, and advancing it only\nafter the DCB has been added, as the rx path does. dcb_index and\nlast_dcb now only move together, so dcb_index always points at the DCB\nafter last_dcb.\n\nThe issue was found by an AI code review agent. It was reproduced on a\nsparx5 PCB135 board with a modified kernel that forces 63 consecutive\ntransmit failures. Afterwards, about 1 in 64 frames is lost for good.\nWith the fix, the same test loses no frames.","source":"cvelist"}],"published":"2026-11-30T13:32:34.781Z","modified":"2026-11-30T14:18:40.767Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f4aa7e361ae2265ccdf2300f0a2ec531caed3f40","fixed":"ee64bc5d5c224b32d6c27a539cd70dc954ed0274","status":"affected"},{"type":"git","introduced":"f4aa7e361ae2265ccdf2300f0a2ec531caed3f40","fixed":"3dda94929d30ac206172c4e830b304091260061f","status":"affected"},{"type":"git","introduced":"f4aa7e361ae2265ccdf2300f0a2ec531caed3f40","fixed":"b92e3f70dcae641828e68c339b7b8507dad53d03","status":"affected"},{"type":"git","introduced":"f4aa7e361ae2265ccdf2300f0a2ec531caed3f40","fixed":"1df26063ab9ba64f5fb11049fa4be686b7fc309e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ee64bc5d5c224b32d6c27a539cd70dc954ed0274","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3dda94929d30ac206172c4e830b304091260061f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b92e3f70dcae641828e68c339b7b8507dad53d03","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1df26063ab9ba64f5fb11049fa4be686b7fc309e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139208","url":"https://www.cve.org/CVERecord?id=CVE-2026-139208","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:34.781Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139208","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139208","licence":"Public domain","modified":"2026-11-30T14:18:40.767Z"}],"updatedAt":"2026-11-30T14:33:09.222Z","epss":{"score":0.00209,"percentile":0.11659,"date":"2026-12-01T12:00:22.000Z"}}