{"id":"CVE-2024-35972","summary":"bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init()\n\nIf ulp = kzalloc() fails, the allocated edev will leak because it is\nnot properly assigned and the cleanup path will not be able to free it.\nFix it by assigning it properly immediately after allocation.","modified":"2026-03-20T12:36:46.025273Z","published":"2024-05-20T09:41:59.814Z","related":["SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35972.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/10a9d6a7513f93d7faffcb341af0aa42be8218fe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ac10c7d728d75bc9daaa8fade3c7a3273b9a9ff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c60ed825530b8c0cc2b524efd39b1d696ec54004"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35972.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35972"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"30343221132430c24b468493c861f71e2bad131f"},{"fixed":"c60ed825530b8c0cc2b524efd39b1d696ec54004"},{"fixed":"10a9d6a7513f93d7faffcb341af0aa42be8218fe"},{"fixed":"7ac10c7d728d75bc9daaa8fade3c7a3273b9a9ff"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35972.json"}}],"schema_version":"1.7.5"}