Linux
net: bcmgenet: fix off-by-one in bcmgenet_put_txcb
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636, < 14e9f86564fff7bcf7f45c1b69080e837b31d185
- >= 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636, < fb9a3c1f547d0ff024dbfe7b6f327626ddf0a3de
- >= 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636, < 85f34ec320d3881badfd4edc5fee5cd5012bb54d
- >= 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636, < 2a74590170427a3ca7cc4bb8690cdd559129c29c
- >= 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636, < 29394f722f620281f2ee9a47f947734e53d72c90
- >= 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636, < 4cab761fc51c65aef741fcece4a18f3554edbc09
- >= 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636, < 72df896e31ddd06fcc5a789f025ad7a62a18bc9b
- >= 876dbadd53a7102e2a84afc84ea2bd3ee6dc5636, < 57f3f53d2c9c5a9e133596e2f7bc1c50688a6d38
- 3bdf77194ea822390b405639b77659071fd2c2e9
- >= 3.16.50, < 3.17
Fixed in 14e9f86564fff7bcf7f45c1b69080e837b31d185, fb9a3c1f547d0ff024dbfe7b6f327626ddf0a3de, 85f34ec320d3881badfd4edc5fee5cd5012bb54d, 2a74590170427a3ca7cc4bb8690cdd559129c29c, 29394f722f620281f2ee9a47f947734e53d72c90, 4cab761fc51c65aef741fcece4a18f3554edbc09, 72df896e31ddd06fcc5a789f025ad7a62a18bc9b, 57f3f53d2c9c5a9e133596e2f7bc1c50688a6d38, 3.17
- 4.13
Fixed in 0, 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to 14e9f86564fff7bcf7f45c1b69080e837b31d185 or fb9a3c1f547d0ff024dbfe7b6f327626ddf0a3de or 85f34ec320d3881badfd4edc5fee5cd5012bb54d or 2a74590170427a3ca7cc4bb8690cdd559129c29c or 29394f722f620281f2ee9a47f947734e53d72c90 or 4cab761fc51c65aef741fcece4a18f3554edbc09 or 72df896e31ddd06fcc5a789f025ad7a62a18bc9b or 57f3f53d2c9c5a9e133596e2f7bc1c50688a6d38 or 3.17 or later.
Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.141 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.