{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-89856",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-89856",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-09-16T10:31:29.517Z",
    "updatedAt": "2026-10-19T08:53:48.987Z",
    "importedAt": "2026-10-24T01:58:35.090Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "scsi: qla2xxx: Clamp MSI-X derived queue counts to avoid truncation",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Clamp MSI-X derived queue counts to avoid truncation\n\nha->msix_count is u16, but ha->max_req_queues, ha->max_rsp_queues and\nha->max_qpairs are u8. Deriving the queue count as\n\"ha->max_req_queues = ha->msix_count - 1\" therefore truncates: a board\n(or a misconfigured/malicious hot-plugged device) advertising 257 MSI-X\nvectors yields msix_count - 1 == 256, which truncates to 0. An MSI-X\ncount of 1 zeroes it as well, and in target mode the subsequent\n\"ha->max_req_queues--\" then underflows 0 to 255.\n\nWhen the count is 0, qla2x00_alloc_queues() calls\nkzalloc_objs(struct req_que *, 0), which returns ZERO_SIZE_PTR. That is\nnot NULL, so the allocation check passes and the following\n\"ha->req_q_map[0] = req\" dereferences ZERO_SIZE_PTR, corrupting memory\nor crashing the kernel.\n\nAdd qla_calc_queue_count() to clamp the derived value into\n[1, QLA_MAX_QUEUES - 1] so it always fits in u8 and is never zero, and\nuse it at all three derivation sites (qla25xx_iospace_config(),\nqla83xx_iospace_config() and qla24xx_enable_msix()). Also guard the\ntarget-mode decrement so it cannot reintroduce a zero (which would in\nturn underflow max_qpairs).",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "d74595278f4ab192af66d9e60a9087464638beee",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cf623d32761b00f221a9cfded3303d56e84b429d"
            },
            {
              "version": "d74595278f4ab192af66d9e60a9087464638beee",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9eeddbeaa896f39d943644b16d83a6ad0ceab255"
            },
            {
              "version": "d74595278f4ab192af66d9e60a9087464638beee",
              "status": "affected",
              "versionType": "git",
              "lessThan": "802068b9b683b8008fcccbf6e9ad133e597ec87c"
            },
            {
              "version": "d74595278f4ab192af66d9e60a9087464638beee",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e80adfeac61b4d5db7ffe0f5af43999c33a4145e"
            },
            {
              "version": "d74595278f4ab192af66d9e60a9087464638beee",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2efe50b2da829909023de4a2eb87badb7cfa53cc"
            },
            {
              "version": "d74595278f4ab192af66d9e60a9087464638beee",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7a448f5ed0b283dbde4e9183dd1e98c221432dab"
            },
            {
              "version": "d74595278f4ab192af66d9e60a9087464638beee",
              "status": "affected",
              "versionType": "git",
              "lessThan": "33c77254e6e91f37c72c7fad4051777452b10de8"
            },
            {
              "version": "d74595278f4ab192af66d9e60a9087464638beee",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ebfd35c64433821bd5619a6d07ccc2df8b5b1de3"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.10",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.10"
            },
            {
              "version": "5.10.270",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.221",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.188",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.157",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.110",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.51",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "7.2.5",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "7.2.*"
            },
            {
              "version": "7.3",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}