{"api_version":"1","generated_at":"2026-09-14T05:28:25+00:00","cve":"CVE-2026-89582","urls":{"html":"https://cve.report/CVE-2026-89582","api":"https://cve.report/api/cve/CVE-2026-89582.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89582","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89582"},"summary":{"title":"bnx2x: fix double free in bnx2x_init_firmware() error path","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:42","updated_at":"2026-09-11 20:19:42"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/dc98e727b9cfc5e19c796bf893878153f00b222b","name":"https://git.kernel.org/stable/c/dc98e727b9cfc5e19c796bf893878153f00b222b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a142c024f07d623e2b6b25943f6c36d4b6b0b4c6","name":"https://git.kernel.org/stable/c/a142c024f07d623e2b6b25943f6c36d4b6b0b4c6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4d36e38e48340a1ccf92a98c7a22d07a954e5aa3","name":"https://git.kernel.org/stable/c/4d36e38e48340a1ccf92a98c7a22d07a954e5aa3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d2796ffe38cb4155afe0eab23636295b096c27a5","name":"https://git.kernel.org/stable/c/d2796ffe38cb4155afe0eab23636295b096c27a5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89582","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89582","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 94a78b79cb5f14c09a42522738d6694c6a1cdd20 dc98e727b9cfc5e19c796bf893878153f00b222b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 94a78b79cb5f14c09a42522738d6694c6a1cdd20 4d36e38e48340a1ccf92a98c7a22d07a954e5aa3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 94a78b79cb5f14c09a42522738d6694c6a1cdd20 a142c024f07d623e2b6b25943f6c36d4b6b0b4c6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 94a78b79cb5f14c09a42522738d6694c6a1cdd20 d2796ffe38cb4155afe0eab23636295b096c27a5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.31","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.31 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.109 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"89582","cve":"CVE-2026-89582","epss":"0.001680000","percentile":"0.063490000","score_date":"2026-09-13","updated_at":"2026-09-14 00:18:02"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"dc98e727b9cfc5e19c796bf893878153f00b222b","status":"affected","version":"94a78b79cb5f14c09a42522738d6694c6a1cdd20","versionType":"git"},{"lessThan":"4d36e38e48340a1ccf92a98c7a22d07a954e5aa3","status":"affected","version":"94a78b79cb5f14c09a42522738d6694c6a1cdd20","versionType":"git"},{"lessThan":"a142c024f07d623e2b6b25943f6c36d4b6b0b4c6","status":"affected","version":"94a78b79cb5f14c09a42522738d6694c6a1cdd20","versionType":"git"},{"lessThan":"d2796ffe38cb4155afe0eab23636295b096c27a5","status":"affected","version":"94a78b79cb5f14c09a42522738d6694c6a1cdd20","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.31"},{"lessThan":"2.6.31","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.109","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.109","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"2.6.31","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-09-11T19:44:48.336Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"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"}],"title":"bnx2x: fix double free in bnx2x_init_firmware() error path","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89582","datePublished":"2026-09-11T19:44:48.336Z","dateReserved":"2026-09-11T19:38:34.728Z","dateUpdated":"2026-09-11T19:44:48.336Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:42","lastModifiedDate":"2026-09-11 20:19:42","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89582","Ordinal":"1","Title":"bnx2x: fix double free in bnx2x_init_firmware() error path","CVE":"CVE-2026-89582","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89582","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"bnx2x: fix double free in bnx2x_init_firmware() error path"}]}}}