{"id":"CVE-2026-89582","title":"bnx2x: fix double free in bnx2x_init_firmware() error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbnx2x: fix double free in bnx2x_init_firmware() error path\n\nbnx2x_init_firmware() frees bp->init_ops, bp->init_data and\nbp->init_ops_offsets in its error path without s…","severity":"high","cvss":7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"vendor","cwe":["CWE-1341"],"vendor":"Linux","product":"Linux","affected":["Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < 770715784b689749014ce193ef986b706fe8f51c","Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < c44e5d6c3189241d5f791bc7b1eddde6b92f802c","Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < 07d4516e3eb1fcde4a5db29eb556cdb0ebba6265","Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < ac280f6872e75df49f3004505bcddff91d9e5362","Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < dc98e727b9cfc5e19c796bf893878153f00b222b","Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < 4d36e38e48340a1ccf92a98c7a22d07a954e5aa3","Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < a142c024f07d623e2b6b25943f6c36d4b6b0b4c6","Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < d2796ffe38cb4155afe0eab23636295b096c27a5","Linux 2.6.31"],"published":"2026-09-11","updated":"2026-10-19","sourceUpdated":"2026-10-19T08:49:15.111Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-89582","references":[{"url":"https://git.kernel.org/stable/c/770715784b689749014ce193ef986b706fe8f51c"},{"url":"https://git.kernel.org/stable/c/c44e5d6c3189241d5f791bc7b1eddde6b92f802c"},{"url":"https://git.kernel.org/stable/c/07d4516e3eb1fcde4a5db29eb556cdb0ebba6265"},{"url":"https://git.kernel.org/stable/c/ac280f6872e75df49f3004505bcddff91d9e5362"},{"url":"https://git.kernel.org/stable/c/dc98e727b9cfc5e19c796bf893878153f00b222b"},{"url":"https://git.kernel.org/stable/c/4d36e38e48340a1ccf92a98c7a22d07a954e5aa3"},{"url":"https://git.kernel.org/stable/c/a142c024f07d623e2b6b25943f6c36d4b6b0b4c6"},{"url":"https://git.kernel.org/stable/c/d2796ffe38cb4155afe0eab23636295b096c27a5"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89582.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-89582"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2532281"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89582"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89582"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-89582.mbox"}],"tags":["cve.org","csaf","vex","red-hat"],"epss":0.00177,"epssPercentile":0.07182,"ingestedAt":"2026-09-14T15:23:07.451Z","slug":"CVE-2026-89582","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nbnx2x: fix double free in bnx2x_init_firmware() error path\n\nbnx2x_init_firmware() frees bp->init_ops, bp->init_data and\nbp->init_ops_offsets in its error path without setting them to NULL.\nThe cleanup function bnx2x_release_firmware() frees the same three\npointers unconditionally, so if init_firmware fails and\nrelease_firmware is later called (e.g. from __bnx2x_remove or through\nthe function state machine), all three are freed a second time.\n\nSet each pointer to NULL after kfree() in the error path so that the\nsubsequent kfree(NULL) in bnx2x_release_firmware() is a safe no-op.\n\n## Affected\n\n- `Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < 770715784b689749014ce193ef986b706fe8f51c`\n- `Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < c44e5d6c3189241d5f791bc7b1eddde6b92f802c`\n- `Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < 07d4516e3eb1fcde4a5db29eb556cdb0ebba6265`\n- `Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < ac280f6872e75df49f3004505bcddff91d9e5362`\n- `Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < dc98e727b9cfc5e19c796bf893878153f00b222b`\n- `Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < 4d36e38e48340a1ccf92a98c7a22d07a954e5aa3`\n- `Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < a142c024f07d623e2b6b25943f6c36d4b6b0b4c6`\n- `Linux >= 94a78b79cb5f14c09a42522738d6694c6a1cdd20 < d2796ffe38cb4155afe0eab23636295b096c27a5`\n- `Linux 2.6.31`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, … · updated 2026-09-18 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89582.json)","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":38.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":208156,"id":"CVE-2026-89582","ts":1789922725411,"field":"cvss","old":"4.1","new":"7"},{"seq":208155,"id":"CVE-2026-89582","ts":1789922725411,"field":"severity","old":"medium","new":"high"},{"seq":204035,"id":"CVE-2026-89582","ts":1789490231140,"field":"cvss","old":null,"new":"4.1"},{"seq":204034,"id":"CVE-2026-89582","ts":1789490231140,"field":"severity","old":"none","new":"medium"},{"seq":147470,"id":"CVE-2026-89582","ts":1789270211035,"field":"cvss","old":null,"new":"4.1"},{"seq":147469,"id":"CVE-2026-89582","ts":1789270211035,"field":"severity","old":"none","new":"medium"},{"seq":109220,"id":"CVE-2026-89582","ts":1789183730779,"field":"cvss","old":null,"new":"4.1"},{"seq":109219,"id":"CVE-2026-89582","ts":1789183730779,"field":"severity","old":"none","new":"medium"}]}