bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init() (Linux Linux)

CVE-2024-35972
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 30343221132430c24b468493c861f71e2bad131f < c60ed825530b8c0cc2b524efd39b1d696ec54004 ; affected 30343221132430c24b468493c861f71e2bad131f < 10a9d6a7513f93d7faffcb341af0aa42be8218fe ; affected 30343221132430c24b468493c861f71e2bad131f < 7ac10c7d728d75bc9daaa8fade3c7a3273b9a9ff
Linux · Linuxaffected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.28 ≤ 6.6.* ; unaffected 6.8.7 ≤ 6.8.* ; unaffected 6.9 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD