# CVE-2024-50172: RDMA/bnxt_re: Fix a possible memory leak

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-11-07T09:31:48.430Z
- Modified: 2026-06-17T08:03:46.940Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/bnxt_re: Fix a possible memory leak

In bnxt_re_setup_chip_ctx() when bnxt_qplib_map_db_bar() fails
driver is not freeing the memory allocated for "rdev->chip_ctx".

(As written by CVE List.)

## Affected

- Linux Linux: from 0ac20faf5d837b59fb4c041ea320932ed47fd67f before 73e04a6114e08b5eb10e589e12b680955accb376; from 0ac20faf5d837b59fb4c041ea320932ed47fd67f before 595fa9b17201028d35f92d450fc0ecda873fe469; from 0ac20faf5d837b59fb4c041ea320932ed47fd67f before 3fc5410f225d1651580a4aeb7c72f55e28673b53; 6.5 (not affected: before 6.5; from 6.6.59 up to 6.6.*; from 6.11.6 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.5 before 6.6.59; from 6.7 before 6.11.6; 6.12

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/73e04a6114e08b5eb10e589e12b680955accb376> (patch)
- <https://git.kernel.org/stable/c/595fa9b17201028d35f92d450fc0ecda873fe469> (patch)
- <https://git.kernel.org/stable/c/3fc5410f225d1651580a4aeb7c72f55e28673b53> (patch)

## Sources

- CVE List: [CVE-2024-50172](https://www.cve.org/CVERecord?id=CVE-2024-50172), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-50172](https://nvd.nist.gov/vuln/detail/CVE-2024-50172), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50172 · Whole record: https://cve.day/CVE-2024-50172.json · Rebuilt by cve.day 2026-11-25T22:58:47.870Z
