{"api_version":"1","generated_at":"2026-11-30T16:05:44+00:00","cve":"CVE-2026-139208","urls":{"html":"https://cve.report/CVE-2026-139208","api":"https://cve.report/api/cve/CVE-2026-139208.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139208","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139208"},"summary":{"title":"net: sparx5: fix tx DCB index drift in fdma xmit","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:40","updated_at":"2026-11-30 14:18:40"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ee64bc5d5c224b32d6c27a539cd70dc954ed0274","name":"https://git.kernel.org/stable/c/ee64bc5d5c224b32d6c27a539cd70dc954ed0274","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1df26063ab9ba64f5fb11049fa4be686b7fc309e","name":"https://git.kernel.org/stable/c/1df26063ab9ba64f5fb11049fa4be686b7fc309e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b92e3f70dcae641828e68c339b7b8507dad53d03","name":"https://git.kernel.org/stable/c/b92e3f70dcae641828e68c339b7b8507dad53d03","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3dda94929d30ac206172c4e830b304091260061f","name":"https://git.kernel.org/stable/c/3dda94929d30ac206172c4e830b304091260061f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139208","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139208","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f4aa7e361ae2265ccdf2300f0a2ec531caed3f40 ee64bc5d5c224b32d6c27a539cd70dc954ed0274 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f4aa7e361ae2265ccdf2300f0a2ec531caed3f40 3dda94929d30ac206172c4e830b304091260061f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f4aa7e361ae2265ccdf2300f0a2ec531caed3f40 b92e3f70dcae641828e68c339b7b8507dad53d03 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f4aa7e361ae2265ccdf2300f0a2ec531caed3f40 1df26063ab9ba64f5fb11049fa4be686b7fc309e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/microchip/sparx5/sparx5_fdma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ee64bc5d5c224b32d6c27a539cd70dc954ed0274","status":"affected","version":"f4aa7e361ae2265ccdf2300f0a2ec531caed3f40","versionType":"git"},{"lessThan":"3dda94929d30ac206172c4e830b304091260061f","status":"affected","version":"f4aa7e361ae2265ccdf2300f0a2ec531caed3f40","versionType":"git"},{"lessThan":"b92e3f70dcae641828e68c339b7b8507dad53d03","status":"affected","version":"f4aa7e361ae2265ccdf2300f0a2ec531caed3f40","versionType":"git"},{"lessThan":"1df26063ab9ba64f5fb11049fa4be686b7fc309e","status":"affected","version":"f4aa7e361ae2265ccdf2300f0a2ec531caed3f40","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/microchip/sparx5/sparx5_fdma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.12"},{"lessThan":"6.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:34.781Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ee64bc5d5c224b32d6c27a539cd70dc954ed0274"},{"url":"https://git.kernel.org/stable/c/3dda94929d30ac206172c4e830b304091260061f"},{"url":"https://git.kernel.org/stable/c/b92e3f70dcae641828e68c339b7b8507dad53d03"},{"url":"https://git.kernel.org/stable/c/1df26063ab9ba64f5fb11049fa4be686b7fc309e"}],"title":"net: sparx5: fix tx DCB index drift in fdma xmit","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139208","datePublished":"2026-11-30T13:32:34.781Z","dateReserved":"2026-11-30T13:22:15.920Z","dateUpdated":"2026-11-30T13:32:34.781Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:40","lastModifiedDate":"2026-11-30 14:18:40","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139208","Ordinal":"1","Title":"net: sparx5: fix tx DCB index drift in fdma xmit","CVE":"CVE-2026-139208","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139208","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"net: sparx5: fix tx DCB index drift in fdma xmit"}]}}}