CVE Database›Document archive›CVE-2024-50209

CVE-2024-50209

kernel: RDMA/bnxt_re: Add a check for memory allocation

Loading…

Severity

Moderate

Red Hat Product Security

6.7

CVSS 3.1

Review impact separately from score.

Published · November 8, 2024

Updated · October 29, 2026

Description

A flaw was found in the RDMA/bnxt_re component of the Linux kernel. This vulnerability occurs because the driver fails to check the return status of a memory allocation function, __alloc_pbl(). A local attacker with administrative privileges could exploit this flaw, potentially leading to system instability or a denial of service.

Statement

This issue is considered to be a moderate impact flaw, as the exploitation for this will need an ADMIN (or ROOT) privilege (PR:H).

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

If RDMA functionality provided by the bnxt_re kernel module is not required, the module can be prevented from loading to mitigate this vulnerability. To blacklist the bnxt_re module:

  1. Create a file /etc/modprobe.d/blacklist-bnxt_re.conf with the following content:
    blacklist bnxt_re
    install bnxt_re /bin/true
    
  2. Regenerate the initramfs:
    • For RHEL 8/9: dracut -f -v
    • For RHEL 7: dracut -f
  3. Reboot the system for the changes to take effect. This mitigation will disable any functionality relying on the bnxt_re RDMA driver.

CVSS / CWE

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

CWE-252 · Unchecked Return Value