{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-89582",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-89582"
  ],
  "published": "2026-09-11T19:47:07Z",
  "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->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": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-89582"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/770715784b689749014ce193ef986b706fe8f51c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c44e5d6c3189241d5f791bc7b1eddde6b92f802c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/07d4516e3eb1fcde4a5db29eb556cdb0ebba6265"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ac280f6872e75df49f3004505bcddff91d9e5362"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/dc98e727b9cfc5e19c796bf893878153f00b222b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4d36e38e48340a1ccf92a98c7a22d07a954e5aa3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a142c024f07d623e2b6b25943f6c36d4b6b0b4c6"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d2796ffe38cb4155afe0eab23636295b096c27a5"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-14T12:06:03Z"
  }
}
