What’s Vulnerable › Vulnerabilities

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

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

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.11.6, 6.6.59. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-50158 or the next vulnerability affects your stack