# CVE-2024-35972: bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-20T09:41:59.814Z
- Modified: 2026-06-17T07:35:50.950Z
- 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:

bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init()

If ulp = kzalloc() fails, the allocated edev will leak because it is
not properly assigned and the cleanup path will not be able to free it.
Fix it by assigning it properly immediately after allocation.

(As written by CVE List.)

## Affected

- Linux Linux: from 30343221132430c24b468493c861f71e2bad131f before c60ed825530b8c0cc2b524efd39b1d696ec54004; from 30343221132430c24b468493c861f71e2bad131f before 10a9d6a7513f93d7faffcb341af0aa42be8218fe; from 30343221132430c24b468493c861f71e2bad131f before 7ac10c7d728d75bc9daaa8fade3c7a3273b9a9ff; 6.3 (not affected: before 6.3; from 6.6.28 up to 6.6.*; from 6.8.7 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 5.5 before 5.10.216; from 5.11 before 5.15.158; from 5.16 before 6.1.87; from 6.2 before 6.6.28; from 6.7 before 6.8.7

## References

- <https://git.kernel.org/stable/c/c60ed825530b8c0cc2b524efd39b1d696ec54004> (patch)
- <https://git.kernel.org/stable/c/10a9d6a7513f93d7faffcb341af0aa42be8218fe> (patch)
- <https://git.kernel.org/stable/c/7ac10c7d728d75bc9daaa8fade3c7a3273b9a9ff> (patch)

## Sources

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

---

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