Vulnerability details

CVE-2025-71092

Linux Linux

RDMA/bnxt_re: Fix OOB write in bnxt_re_copy_err_stats()

CVSS 3.1
7.8High

Official description

In the Linux kernel, the following vulnerability has been resolved: RDMA/bnxt_re: Fix OOB write in bnxt_re_copy_err_stats() Commit ef56081d1864 ("RDMA/bnxt_re: RoCE related hardware counters update") added three new counters and placed them after BNXT_RE_OUT_OF_SEQ_ERR. BNXT_RE_OUT_OF_SEQ_ERR acts as a boundary marker for allocating hardware statistics with different num_counters values on chip_gen_p5_p7 devices. As a result, BNXT_RE_NUM_STD_COUNTERS are used when allocating hw_stats, which leads to an out-of-bounds write in bnxt_re_copy_err_stats(). The counters BNXT_RE_REQ_CQE_ERROR, BNXT_RE_RESP_CQE_ERROR, and BNXT_RE_RESP_REMOTE_ACCESS_ERRS are applicable to generic hardware, not only p5/p7 devices. Fix this by moving these counters before BNXT_RE_OUT_OF_SEQ_ERR so they are included in the generic counter set.

CVSS scores

ScoreVersionSourceVector
7.8High 3.1 CVEProject cvelistV5 (CNA) (Linux) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
Linux Linux 6.18 CVEProject cvelistV5 (CNA)
Linux Linux ef56081d1864582a6db50710733416c0510b7826 ≤ v < 369a161c48723f60f06f3510b82ea7d96d0499ab CVEProject cvelistV5 (CNA)
Linux Linux ef56081d1864582a6db50710733416c0510b7826 ≤ v < 9b68a1cc966bc947d00e4c0df7722d118125aa37 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-01-13
Last updated
2026-08-05
State
Published
Assigner (CNA)
Linux

Exploit prediction (EPSS)

0.13%
Probability of exploitation in 30 days
2.9%
Percentile (among all CVEs)

Weaknesses (CWE)

  • —