CVE-2024-50158

Summary

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

Affected Software

VendorProductVersion RangeStatus
LinuxLinux8b6573ff3420a2da1deb469a480dbc454745f784 < 05c5fcc1869a08e36a29691699b6534e5a00a82baffected
LinuxLinux8b6573ff3420a2da1deb469a480dbc454745f784 < c11b9b03ea5252898f91f3388c248f0dc47bda52affected
LinuxLinux8b6573ff3420a2da1deb469a480dbc454745f784 < a9e6e7443922ac0a48243c35d03834c96926bff1affected
LinuxLinux6.6affected
LinuxLinux0 < 6.6unaffected
LinuxLinux6.6.59 <= 6.6.*unaffected
LinuxLinux6.11.6 <= 6.11.*unaffected
LinuxLinux6.12 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References