bnx2x: fix double free in bnx2x_init_firmware() error path

Summary

CVECVE-2026-89582
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-11 20:19:42 UTC
Updated2026-09-11 20:19:42 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: bnx2x: fix double free in bnx2x_init_firmware() error path bnx2x_init_firmware() frees bp->init_ops, bp->init_data and bp->init_ops_offsets in its error path without setting them to NULL. The cleanup function bnx2x_release_firmware() frees the same three pointers unconditionally, so if init_firmware fails and release_firmware is later called (e.g. from __bnx2x_remove or through the function state machine), all three are freed a second time. Set each pointer to NULL after kfree() in the error path so that the subsequent kfree(NULL) in bnx2x_release_firmware() is a safe no-op.

Risk And Classification

EPSS: 0.001680000 probability, percentile 0.063490000 (date 2026-09-13)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 94a78b79cb5f14c09a42522738d6694c6a1cdd20 dc98e727b9cfc5e19c796bf893878153f00b222b git Not specified
CNA Linux Linux affected 94a78b79cb5f14c09a42522738d6694c6a1cdd20 4d36e38e48340a1ccf92a98c7a22d07a954e5aa3 git Not specified
CNA Linux Linux affected 94a78b79cb5f14c09a42522738d6694c6a1cdd20 a142c024f07d623e2b6b25943f6c36d4b6b0b4c6 git Not specified
CNA Linux Linux affected 94a78b79cb5f14c09a42522738d6694c6a1cdd20 d2796ffe38cb4155afe0eab23636295b096c27a5 git Not specified
CNA Linux Linux affected 2.6.31 Not specified
CNA Linux Linux unaffected 2.6.31 semver Not specified
CNA Linux Linux unaffected 6.12.109 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.50 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.4 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/dc98e727b9cfc5e19c796bf893878153f00b222b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a142c024f07d623e2b6b25943f6c36d4b6b0b4c6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4d36e38e48340a1ccf92a98c7a22d07a954e5aa3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d2796ffe38cb4155afe0eab23636295b096c27a5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report