{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-89582",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-11T19:38:34.728Z",
        "datePublished": "2026-09-11T19:44:48.336Z",
        "dateUpdated": "2026-10-19T08:49:15.111Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-19T08:49:15.111Z"
            },
            "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c"
                    ],
                    "versions": [
                        {
                            "version": "94a78b79cb5f14c09a42522738d6694c6a1cdd20",
                            "lessThan": "770715784b689749014ce193ef986b706fe8f51c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94a78b79cb5f14c09a42522738d6694c6a1cdd20",
                            "lessThan": "c44e5d6c3189241d5f791bc7b1eddde6b92f802c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94a78b79cb5f14c09a42522738d6694c6a1cdd20",
                            "lessThan": "07d4516e3eb1fcde4a5db29eb556cdb0ebba6265",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94a78b79cb5f14c09a42522738d6694c6a1cdd20",
                            "lessThan": "ac280f6872e75df49f3004505bcddff91d9e5362",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94a78b79cb5f14c09a42522738d6694c6a1cdd20",
                            "lessThan": "dc98e727b9cfc5e19c796bf893878153f00b222b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94a78b79cb5f14c09a42522738d6694c6a1cdd20",
                            "lessThan": "4d36e38e48340a1ccf92a98c7a22d07a954e5aa3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94a78b79cb5f14c09a42522738d6694c6a1cdd20",
                            "lessThan": "a142c024f07d623e2b6b25943f6c36d4b6b0b4c6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94a78b79cb5f14c09a42522738d6694c6a1cdd20",
                            "lessThan": "d2796ffe38cb4155afe0eab23636295b096c27a5",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.31",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.31",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.270",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.221",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.188",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.157",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.109",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.50",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.4",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "5.10.270"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "5.15.221"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "6.1.188"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "6.6.157"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "6.12.109"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "6.18.50"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "7.2.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
                }
            ],
            "title": "bnx2x: fix double free in bnx2x_init_firmware() error path",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}