← CVE Intelligence

CVE-2024-35972

bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 30343221132430c24b468493c861f71e2bad131f before c60ed825530b8c0cc2b524efd39b1d696ec54004; affected 30343221132430c24b468493c861f71e2bad131f before 10a9d6a7513f93d7faffcb341af0aa42be8218fe; affected 30343221132430c24b468493c861f71e2bad131f before 7ac10c7d728d75bc9daaa8fade3c7a3273b9a9ff
Linux / Linuxaffected 6.3; unaffected 0 before 6.3; unaffected 6.6.28 through 6.6.*; unaffected 6.8.7 through 6.8.*; unaffected 6.9 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.