CVE-2026-89845 (GCVE-0-2026-89845)
Vulnerability from cvelistv5
Published
2026-09-16 10:31
Modified
2026-10-19 08:53
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Avoid req_q_map double-read in qla2x00_error_entry() qla2x00_error_entry() reads ha->req_q_map[que] twice: once for the NULL check and again when assigning it to req. The map slot is cleared by qla25xx_free_req_que() (ha->req_q_map[que_id] = NULL under mq_lock) during queue teardown, while the response-queue interrupt that drives qla2x00_error_entry() is still registered (the IRQ is released later in qla25xx_free_rsp_que()). If the slot is set to NULL between the two reads, req becomes NULL and is dereferenced. Read the slot once into req and NULL-check the local before use. mq_lock is a mutex and cannot be taken from interrupt context, so the single read plus local check is the appropriate fix for the reported NULL dereference.
Impacted products
Vendor Product Version
Linux Linux Version: a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b
Version: a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b
Version: a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b
Version: a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b
Version: a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b
Version: a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b
Version: a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b
Version: a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/qla2xxx/qla_isr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c845f2597787ef70159a32566669e308b2807a56",
              "status": "affected",
              "version": "a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b",
              "versionType": "git"
            },
            {
              "lessThan": "fe04b31e386aee4cc3a18f07462af146037dc389",
              "status": "affected",
              "version": "a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b",
              "versionType": "git"
            },
            {
              "lessThan": "1b995cf4157465357d66ba096e7cdaafab9972e7",
              "status": "affected",
              "version": "a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b",
              "versionType": "git"
            },
            {
              "lessThan": "d79376fbd2a076de82c1cd8aa0b600b300c75a44",
              "status": "affected",
              "version": "a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b",
              "versionType": "git"
            },
            {
              "lessThan": "1c90b74e484ba48f31944fe04963d99e01ac3767",
              "status": "affected",
              "version": "a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b",
              "versionType": "git"
            },
            {
              "lessThan": "5dd9bec8004ba93cee8b689bf54ce294f59e5e3c",
              "status": "affected",
              "version": "a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b",
              "versionType": "git"
            },
            {
              "lessThan": "35124cfa9898b2088ee72859e573e0876aff66fc",
              "status": "affected",
              "version": "a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b",
              "versionType": "git"
            },
            {
              "lessThan": "deb8abde83a799d2501f3977f6d6051000253f5e",
              "status": "affected",
              "version": "a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/qla2xxx/qla_isr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.4"
            },
            {
              "lessThan": "3.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.270",
                  "versionStartIncluding": "3.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "3.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "3.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "3.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "3.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.51",
                  "versionStartIncluding": "3.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.5",
                  "versionStartIncluding": "3.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "3.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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-\u003ereq_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-\u003ereq_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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:53:38.186Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c845f2597787ef70159a32566669e308b2807a56"
        },
        {
          "url": "https://git.kernel.org/stable/c/fe04b31e386aee4cc3a18f07462af146037dc389"
        },
        {
          "url": "https://git.kernel.org/stable/c/1b995cf4157465357d66ba096e7cdaafab9972e7"
        },
        {
          "url": "https://git.kernel.org/stable/c/d79376fbd2a076de82c1cd8aa0b600b300c75a44"
        },
        {
          "url": "https://git.kernel.org/stable/c/1c90b74e484ba48f31944fe04963d99e01ac3767"
        },
        {
          "url": "https://git.kernel.org/stable/c/5dd9bec8004ba93cee8b689bf54ce294f59e5e3c"
        },
        {
          "url": "https://git.kernel.org/stable/c/35124cfa9898b2088ee72859e573e0876aff66fc"
        },
        {
          "url": "https://git.kernel.org/stable/c/deb8abde83a799d2501f3977f6d6051000253f5e"
        }
      ],
      "title": "scsi: qla2xxx: Avoid req_q_map double-read in qla2x00_error_entry()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89845",
    "datePublished": "2026-09-16T10:31:19.374Z",
    "dateReserved": "2026-09-11T19:38:34.770Z",
    "dateUpdated": "2026-10-19T08:53:38.186Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…