# CVE-2025-71137: octeontx2-pf: fix "UBSAN: shift-out-of-bounds error"

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-01-14T15:07:51.264Z
- Modified: 2026-11-05T22:17:37.970Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from d45d8979840d9c9ac93d3fe8cfc8e794b7228445 before 5d8dfa3abb9a845302e021cf9c92d941abbc011a; from d45d8979840d9c9ac93d3fe8cfc8e794b7228445 before 4cc4cfe4d23c883120b6f3d41145edbaa281f2ab; from d45d8979840d9c9ac93d3fe8cfc8e794b7228445 before 658caf3b8aad65f8b8e102670ca4f68c7030f655; from d45d8979840d9c9ac93d3fe8cfc8e794b7228445 before b23a2e15589466a027c9baa3fb5813c9f6a6c6dc; from d45d8979840d9c9ac93d3fe8cfc8e794b7228445 before aa743b0d98448282b2cb37356db8db2a48524624; from d45d8979840d9c9ac93d3fe8cfc8e794b7228445 before 442848e457f5a9f71a4e7e14d24d73dae278ebe3; from d45d8979840d9c9ac93d3fe8cfc8e794b7228445 before 85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7; 5.6 (not affected: before 5.6; from 5.10.248 up to 5.10.*; from 5.15.198 up to 5.15.*; from 6.1.160 up to 6.1.*; from 6.6.120 up to 6.6.*; from 6.12.64 up to 6.12.*; from 6.18.4 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 5.6.1 before 5.10.248; from 5.11 before 5.15.198; from 5.16 before 6.1.160; from 6.2 before 6.6.120; from 6.7 before 6.12.64; from 6.13 before 6.18.4; 5.6; 6.19

## References

- <https://git.kernel.org/stable/c/5d8dfa3abb9a845302e021cf9c92d941abbc011a> (patch)
- <https://git.kernel.org/stable/c/4cc4cfe4d23c883120b6f3d41145edbaa281f2ab> (patch)
- <https://git.kernel.org/stable/c/658caf3b8aad65f8b8e102670ca4f68c7030f655> (patch)
- <https://git.kernel.org/stable/c/b23a2e15589466a027c9baa3fb5813c9f6a6c6dc> (patch)
- <https://git.kernel.org/stable/c/aa743b0d98448282b2cb37356db8db2a48524624> (patch)
- <https://git.kernel.org/stable/c/442848e457f5a9f71a4e7e14d24d73dae278ebe3> (patch)
- <https://git.kernel.org/stable/c/85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7> (patch)

## Sources

- CVE List: [CVE-2025-71137](https://www.cve.org/CVERecord?id=CVE-2025-71137), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-71137](https://nvd.nist.gov/vuln/detail/CVE-2025-71137), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-71137 · Whole record: https://cve.day/CVE-2025-71137.json · Rebuilt by cve.day 2026-11-25T22:59:10.627Z
