CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

7.8 CVSS

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

Classification

CVE ID: CVE-2024-50158

CVSS Base Severity: HIGH

CVSS Base Score: 7.8

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 4.34% (scored less or equal to compared to others)

EPSS Date: 2025-06-02 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2024-50158
https://git.kernel.org/stable/c/05c5fcc1869a08e36a29691699b6534e5a00a82b
https://git.kernel.org/stable/c/c11b9b03ea5252898f91f3388c248f0dc47bda52
https://git.kernel.org/stable/c/a9e6e7443922ac0a48243c35d03834c96926bff1

Timeline