{"id":"CVE-2026-89582","summary":"bnx2x: fix double free in bnx2x_init_firmware() error path","details":"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-\u003einit_ops, bp-\u003einit_data and\nbp-\u003einit_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.","modified":"2026-09-25T18:26:54.729115485Z","published":"2026-09-11T19:44:48.336Z","related":["openSUSE-SU-2026:11880-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89582.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/07d4516e3eb1fcde4a5db29eb556cdb0ebba6265"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4d36e38e48340a1ccf92a98c7a22d07a954e5aa3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/770715784b689749014ce193ef986b706fe8f51c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a142c024f07d623e2b6b25943f6c36d4b6b0b4c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac280f6872e75df49f3004505bcddff91d9e5362"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c44e5d6c3189241d5f791bc7b1eddde6b92f802c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d2796ffe38cb4155afe0eab23636295b096c27a5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc98e727b9cfc5e19c796bf893878153f00b222b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89582.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89582"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"94a78b79cb5f14c09a42522738d6694c6a1cdd20"},{"fixed":"770715784b689749014ce193ef986b706fe8f51c"},{"fixed":"c44e5d6c3189241d5f791bc7b1eddde6b92f802c"},{"fixed":"07d4516e3eb1fcde4a5db29eb556cdb0ebba6265"},{"fixed":"ac280f6872e75df49f3004505bcddff91d9e5362"},{"fixed":"dc98e727b9cfc5e19c796bf893878153f00b222b"},{"fixed":"4d36e38e48340a1ccf92a98c7a22d07a954e5aa3"},{"fixed":"a142c024f07d623e2b6b25943f6c36d4b6b0b4c6"},{"fixed":"d2796ffe38cb4155afe0eab23636295b096c27a5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-89582.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.31"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.109"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.50"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-89582.json"}}],"schema_version":"1.9.0"}