CVE-2026-53088: net: bcmgenet: fix off-by-one in bcmgenet_put_txcb
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: bcmgenet: fix off-by-one in bcmgenet_put_txcb
The write_ptr points to the next open tx_cb. We want to return the tx_cb that gets rewinded, so we must rewind the pointer first then return the tx_cb that it points to. That way the txcb can be correctly cleaned up.
The Linux kernel CVE team has assigned CVE-2026-53088 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.13 with commit 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636 and fixed in 5.10.258 with commit 14e9f86564fff7bcf7f45c1b69080e837b31d185 Issue introduced in 4.13 with commit 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636 and fixed in 5.15.209 with commit fb9a3c1f547d0ff024dbfe7b6f327626ddf0a3de Issue introduced in 4.13 with commit 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636 and fixed in 6.1.175 with commit 85f34ec320d3881badfd4edc5fee5cd5012bb54d Issue introduced in 4.13 with commit 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636 and fixed in 6.6.141 with commit 2a74590170427a3ca7cc4bb8690cdd559129c29c Issue introduced in 4.13 with commit 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636 and fixed in 6.12.91 with commit 29394f722f620281f2ee9a47f947734e53d72c90 Issue introduced in 4.13 with commit 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636 and fixed in 6.18.33 with commit 4cab761fc51c65aef741fcece4a18f3554edbc09 Issue introduced in 4.13 with commit 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636 and fixed in 7.0.10 with commit 72df896e31ddd06fcc5a789f025ad7a62a18bc9b Issue introduced in 4.13 with commit 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636 and fixed in 7.1 with commit 57f3f53d2c9c5a9e133596e2f7bc1c50688a6d38 Issue introduced in 3.16.50 with commit 3bdf77194ea822390b405639b77659071fd2c2e9
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53088
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ethernet/broadcom/genet/bcmgenet.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/14e9f86564fff7bcf7f45c1b69080e837b31d185 https://git.kernel.org/stable/c/fb9a3c1f547d0ff024dbfe7b6f327626ddf0a3de https://git.kernel.org/stable/c/85f34ec320d3881badfd4edc5fee5cd5012bb54d https://git.kernel.org/stable/c/2a74590170427a3ca7cc4bb8690cdd559129c29c https://git.kernel.org/stable/c/29394f722f620281f2ee9a47f947734e53d72c90 https://git.kernel.org/stable/c/4cab761fc51c65aef741fcece4a18f3554edbc09 https://git.kernel.org/stable/c/72df896e31ddd06fcc5a789f025ad7a62a18bc9b https://git.kernel.org/stable/c/57f3f53d2c9c5a9e133596e2f7bc1c50688a6d38