Linux
octeontx2-pf: fix "UBSAN: shift-out-of-bounds error"
In the Linux kernel, the following vulnerability has been resolved: octeontx2-pf: fix "UBSAN: shift-out-of-bounds error" This patch ensures that the RX ring size (rx_pending) is not set below the permitted length. This avoids UBSAN shift-out-of-bounds errors when users passes small or zero ring sizes via ethtool -G.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, < 5d8dfa3abb9a845302e021cf9c92d941abbc011a
- >= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, < 4cc4cfe4d23c883120b6f3d41145edbaa281f2ab
- >= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, < 658caf3b8aad65f8b8e102670ca4f68c7030f655
- >= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, < b23a2e15589466a027c9baa3fb5813c9f6a6c6dc
- >= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, < aa743b0d98448282b2cb37356db8db2a48524624
- >= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, < 442848e457f5a9f71a4e7e14d24d73dae278ebe3
- >= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, < 85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7
Fixed in 5d8dfa3abb9a845302e021cf9c92d941abbc011a, 4cc4cfe4d23c883120b6f3d41145edbaa281f2ab, 658caf3b8aad65f8b8e102670ca4f68c7030f655, b23a2e15589466a027c9baa3fb5813c9f6a6c6dc, aa743b0d98448282b2cb37356db8db2a48524624, 442848e457f5a9f71a4e7e14d24d73dae278ebe3, 85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7
- 5.6
Fixed in 0, 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.4, 6.19
Mitigation
Upgrade Linux to 5d8dfa3abb9a845302e021cf9c92d941abbc011a or 4cc4cfe4d23c883120b6f3d41145edbaa281f2ab or 658caf3b8aad65f8b8e102670ca4f68c7030f655 or b23a2e15589466a027c9baa3fb5813c9f6a6c6dc or aa743b0d98448282b2cb37356db8db2a48524624 or 442848e457f5a9f71a4e7e14d24d73dae278ebe3 or 85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7 or later.
Upgrade Linux to 0 or 5.10.248 or 5.15.198 or 6.1.160 or 6.6.120 or 6.12.64 or 6.18.4 or 6.19 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.