# CVE-2024-50158: RDMA/bnxt_re: Fix out of bound check

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-11-07T09:31:35.264Z
- Modified: 2026-08-05T11:42:08.178Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/bnxt_re: Fix out of bound check

Driver exports pacing stats only on GenP5 and P7 adapters. But while
parsing the pacing stats, driver has a check for "rdev->dbr_pacing".  This
caused a trace when KASAN is enabled.

BUG: KASAN: slab-out-of-bounds in bnxt_re_get_hw_stats+0x2b6a/0x2e00 [bnxt_re]
Write of size 8 at addr ffff8885942a6340 by task modprobe/4809

(As written by CVE List.)

## Affected

- Linux Linux: from 8b6573ff3420a2da1deb469a480dbc454745f784 before 05c5fcc1869a08e36a29691699b6534e5a00a82b; from 8b6573ff3420a2da1deb469a480dbc454745f784 before c11b9b03ea5252898f91f3388c248f0dc47bda52; from 8b6573ff3420a2da1deb469a480dbc454745f784 before a9e6e7443922ac0a48243c35d03834c96926bff1; 6.6 (not affected: before 6.6; from 6.6.59 up to 6.6.*; from 6.11.6 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.6 before 6.6.59; from 6.7 before 6.11.6; 6.12

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/05c5fcc1869a08e36a29691699b6534e5a00a82b> (patch)
- <https://git.kernel.org/stable/c/c11b9b03ea5252898f91f3388c248f0dc47bda52> (patch)
- <https://git.kernel.org/stable/c/a9e6e7443922ac0a48243c35d03834c96926bff1> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-50158 · Whole record: https://cve.day/CVE-2024-50158.json · Rebuilt by cve.day 2026-11-25T22:58:47.863Z
