{"id":"CVE-2026-89582","aliases":["CVE-2026-89582"],"related":[],"kind":"vulnerability","state":"published","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 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.","source":"cvelist"}],"published":"2026-09-11T19:44:48.336Z","modified":"2026-10-19T09:17:54.307Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"94a78b79cb5f14c09a42522738d6694c6a1cdd20","fixed":"770715784b689749014ce193ef986b706fe8f51c","status":"affected"},{"type":"git","introduced":"94a78b79cb5f14c09a42522738d6694c6a1cdd20","fixed":"c44e5d6c3189241d5f791bc7b1eddde6b92f802c","status":"affected"},{"type":"git","introduced":"94a78b79cb5f14c09a42522738d6694c6a1cdd20","fixed":"07d4516e3eb1fcde4a5db29eb556cdb0ebba6265","status":"affected"},{"type":"git","introduced":"94a78b79cb5f14c09a42522738d6694c6a1cdd20","fixed":"ac280f6872e75df49f3004505bcddff91d9e5362","status":"affected"},{"type":"git","introduced":"94a78b79cb5f14c09a42522738d6694c6a1cdd20","fixed":"dc98e727b9cfc5e19c796bf893878153f00b222b","status":"affected"},{"type":"git","introduced":"94a78b79cb5f14c09a42522738d6694c6a1cdd20","fixed":"4d36e38e48340a1ccf92a98c7a22d07a954e5aa3","status":"affected"},{"type":"git","introduced":"94a78b79cb5f14c09a42522738d6694c6a1cdd20","fixed":"a142c024f07d623e2b6b25943f6c36d4b6b0b4c6","status":"affected"},{"type":"git","introduced":"94a78b79cb5f14c09a42522738d6694c6a1cdd20","fixed":"d2796ffe38cb4155afe0eab23636295b096c27a5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.31","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.31","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/770715784b689749014ce193ef986b706fe8f51c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c44e5d6c3189241d5f791bc7b1eddde6b92f802c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/07d4516e3eb1fcde4a5db29eb556cdb0ebba6265","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac280f6872e75df49f3004505bcddff91d9e5362","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc98e727b9cfc5e19c796bf893878153f00b222b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d36e38e48340a1ccf92a98c7a22d07a954e5aa3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a142c024f07d623e2b6b25943f6c36d4b6b0b4c6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2796ffe38cb4155afe0eab23636295b096c27a5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89582","url":"https://www.cve.org/CVERecord?id=CVE-2026-89582","licence":"CVE Terms of Use","modified":"2026-10-19T08:49:15.111Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89582","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89582","licence":"Public domain","modified":"2026-10-19T09:17:54.307Z"}],"updatedAt":"2026-11-25T22:59:38.074Z","epss":{"score":0.00177,"percentile":0.07546,"date":"2026-12-01T12:00:22.000Z"}}