{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-89845",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-89845"
  ],
  "published": "2026-09-16T10:32:03Z",
  "summary": "scsi: qla2xxx: Avoid req_q_map double-read in qla2x00_error_entry()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Avoid req_q_map double-read in qla2x00_error_entry()\n\nqla2x00_error_entry() reads ha->req_q_map[que] twice: once for the NULL\ncheck and again when assigning it to req. The map slot is cleared by\nqla25xx_free_req_que() (ha->req_q_map[que_id] = NULL under mq_lock)\nduring queue teardown, while the response-queue interrupt that drives\nqla2x00_error_entry() is still registered (the IRQ is released later in\nqla25xx_free_rsp_que()). If the slot is set to NULL between the two\nreads, req becomes NULL and is dereferenced.\n\nRead the slot once into req and NULL-check the local before use. mq_lock\nis a mutex and cannot be taken from interrupt context, so the single\nread plus local check is the appropriate fix for the reported NULL\ndereference.",
  "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-89845"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c845f2597787ef70159a32566669e308b2807a56"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fe04b31e386aee4cc3a18f07462af146037dc389"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1b995cf4157465357d66ba096e7cdaafab9972e7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d79376fbd2a076de82c1cd8aa0b600b300c75a44"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1c90b74e484ba48f31944fe04963d99e01ac3767"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5dd9bec8004ba93cee8b689bf54ce294f59e5e3c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/35124cfa9898b2088ee72859e573e0876aff66fc"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/deb8abde83a799d2501f3977f6d6051000253f5e"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-16T10:32:03Z"
  }
}
