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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2026-01-14T15:07:51.264Z
- **Modified:** 2026-11-05T22:17:37.970Z

## Who should check

- Anyone running Linux \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 5d8dfa3abb9a845302e021cf9c92d941abbc011a; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 4cc4cfe4d23c883120b6f3d41145edbaa281f2ab; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 658caf3b8aad65f8b8e102670ca4f68c7030f655; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< b23a2e15589466a027c9baa3fb5813c9f6a6c6dc; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< aa743b0d98448282b2cb37356db8db2a48524624; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 442848e457f5a9f71a4e7e14d24d73dae278ebe3; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7
- Anyone running Linux 5.6

## 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.

## Affected and fixed versions

- Linux: \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 5d8dfa3abb9a845302e021cf9c92d941abbc011a; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 4cc4cfe4d23c883120b6f3d41145edbaa281f2ab; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 658caf3b8aad65f8b8e102670ca4f68c7030f655; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< b23a2e15589466a027c9baa3fb5813c9f6a6c6dc; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< aa743b0d98448282b2cb37356db8db2a48524624; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 442848e457f5a9f71a4e7e14d24d73dae278ebe3; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7 (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-71137. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71137.md
Affected: Linux >= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, < 5d8dfa3abb9a845302e021cf9c92d941abbc011a; >= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, < 4cc4cfe4d23c883120b6f3d41145edbaa281f2ab; >= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, < 658caf3b8aad65f8b8e102670ca4f68c7030f655; >= d45d8979840d9c9ac93d3fe…
Fixed in: Linux 5d8dfa3abb9a845302e021cf9c92d941abbc011a, Linux 4cc4cfe4d23c883120b6f3d41145edbaa281f2ab, Linux 658caf3b8aad65f8b8e102670ca4f68c7030f655, Linux 442848e457f5a9f71a4e7e14d24d73dae278ebe3, Linux 85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-71137 being exploited?

There is no confirmed exploitation: CVE-2025-71137 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-71137?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-71137?

Linux \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 5d8dfa3abb9a845302e021cf9c92d941abbc011a; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 4cc4cfe4d23c883120b6f3d41145edbaa281f2ab; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 658caf3b8aad65f8b8e102670ca4f68c7030f655; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< b23a2e15589466a027c9baa3fb5813c9f6a6c6dc; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< aa743b0d98448282b2cb37356db8db2a48524624; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 442848e457f5a9f71a4e7e14d24d73dae278ebe3; \>= d45d8979840d9c9ac93d3fe8cfc8e794b7228445, \< 85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7; Linux 5.6.

### Is there a fix for CVE-2025-71137?

Yes. Fixed in Linux 5d8dfa3abb9a845302e021cf9c92d941abbc011a, Linux 4cc4cfe4d23c883120b6f3d41145edbaa281f2ab, Linux 658caf3b8aad65f8b8e102670ca4f68c7030f655, Linux 442848e457f5a9f71a4e7e14d24d73dae278ebe3, Linux 85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7. Upgrade Linux to 85f4b0c650d9f9db10bda8d3acfa1af83bf78cf7 or later.

### How do I check if I'm affected by CVE-2025-71137?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-71137>

HTML: <https://flawdb.com/CVE-2025-71137> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-71137>
