CVE-2024-50158·Kernel vulnerability
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
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.6
- Published
- 2024-11-07
Affected versions
From: 6.7
Until: 6.11.6
Fixed in: 6.11.6
How to fix this CVE
Update the Linux kernel to version 6.11.6 or later to resolve a memory bounds checking issue in the RDMA bnxt_re driver that could cause kernel crashes when pacing statistics are accessed on certain adapter types. Systems running kernel versions 6.7 through 6.11.5 should prioritize this update, especially if Broadcom RDMA adapters (GenP5/P7) are present in the environment.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run `uname -r` to check your current kernel version and verify if it falls within the vulnerable range (6.7 to 6.11.5)
- Execute `ethtool -i eth0` (or relevant interface) and look for 'bnxt' driver; if present, the RDMA component may be active
- Check if RDMA is loaded with `lsmod | grep bnxt_re` — if output appears, the vulnerable driver is in use
- After kernel update, verify the fix with `uname -r` showing 6.11.6 or later, then reload the driver with `sudo modprobe -r bnxt_re && sudo modprobe bnxt_re`
FAQ
What is CVE-2024-50158?
CVE-2024-50158 is a memory bounds checking flaw in the Linux kernel's RDMA bnxt_re driver where pacing statistics code incorrectly validates buffer boundaries, potentially causing kernel panics or memory corruption on Broadcom GenP5 and P7 adapters.
Is CVE-2024-50158 being actively exploited?
No, there is no evidence of active exploitation or public exploits available for this vulnerability. It is a local kernel stability issue rather than a remote attack vector.
What versions of Kernel are affected by CVE-2024-50158?
Kernel versions 6.7 through 6.11.5 are affected. The vulnerability is resolved in kernel 6.11.6 and later.
How do I check if my server is vulnerable to CVE-2024-50158?
Run `uname -r` to see your kernel version; if it shows 6.7.x through 6.11.5, check for the bnxt_re driver with `lsmod | grep bnxt_re`. If both conditions match, your system is vulnerable.
Does Defensia detect CVE-2024-50158?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-50158 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-50158. Free for 1 server.
Get started free