CVE-2024-35972

bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init()

State
Published
Severity
Not scored
Published
May 20, 2024
Updated
May 11, 2026
Reserved
May 17, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 30343221132430c24b468493c861f71e2bad131f to before c60ed825530b8c0cc2b524efd39b1d696ec54004Affected
  • 30343221132430c24b468493c861f71e2bad131f to before 10a9d6a7513f93d7faffcb341af0aa42be8218feAffected
  • 30343221132430c24b468493c861f71e2bad131f to before 7ac10c7d728d75bc9daaa8fade3c7a3273b9a9ffAffected
LinuxLinux
  • 6.3Affected
  • before 6.3Not affected
  • 6.6.28 through 6.6.*Not affected
  • 6.8.7 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.