What’s Vulnerable › Vulnerabilities
CVE-2024-35972: bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-20 · updated 2026-06-17
- Weakness: CWE-401
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.
Affected products
- 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 — fixed in 5.10.216, 5.15.158, 6.1.87, 6.6.28, 6.8.7
How to fix
Upgrade to a fixed version: Linux kernel 5.10.216, 5.15.158, 6.1.87, 6.6.28. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/10a9d6a7513f93d7faffcb341af0aa42be8218fe
- https://git.kernel.org/stable/c/7ac10c7d728d75bc9daaa8fade3c7a3273b9a9ff
- https://git.kernel.org/stable/c/c60ed825530b8c0cc2b524efd39b1d696ec54004
- https://git.kernel.org/stable/c/10a9d6a7513f93d7faffcb341af0aa42be8218fe
- https://git.kernel.org/stable/c/7ac10c7d728d75bc9daaa8fade3c7a3273b9a9ff
- https://git.kernel.org/stable/c/c60ed825530b8c0cc2b524efd39b1d696ec54004
Get alerted when CVE-2024-35972 or the next vulnerability affects your stack