{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-89858",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-89858"
  ],
  "published": "2026-09-16T10:32:03Z",
  "summary": "scsi: qla2xxx: Bound image count in qla2x00_update_fru_versions()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Bound image count in qla2x00_update_fru_versions()\n\nqla2x00_update_fru_versions() copies the user-supplied BSG request into\na fixed 256-byte stack buffer (bsg[DMA_POOL_SIZE]) and then iterates\nlist->count times over the qla_image_version array embedded in that\nbuffer, advancing the image pointer each iteration. count is taken\ndirectly from user input with no upper bound, while only (DMA_POOL_SIZE\n- sizeof(list->count)) / sizeof(struct qla_image_version) = 6 entries\nactually fit. A larger count walks the image pointer off the end of the\nstack buffer, reading adjacent kernel stack memory and sending it to the\ndevice via qla2x00_write_sfp().\n\nReject requests whose declared count does not fit in the buffer.",
  "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-89858"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/af733bbfcf667af1871a2735fba2835b0da71efb"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a9706d5e754e77515a92bb532bd0d73644979a1f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7e3154c97ec15460f715dbbe4097c255cce110b1"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/047f1f7ee6f85bde28abfdda9fa550191ddc0532"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f93e8039e6fd54a3c027c6184daf00b745b576a0"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7b22b4cb8822805cef7ba618da6f76e1474d68bd"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f2d4f025b67fcbfb2bbbadd3b5a6a43c4b436514"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/de62cf265dbe309f34f144a6cdbca9240317727e"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-16T10:32:03Z"
  }
}
