CVE-2026-89844 (GCVE-0-2026-89844)
Vulnerability from cvelistv5
Published
2026-09-16 10:31
Modified
2026-10-19 08:53
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Hold vport_slock for host map update in report ID acquisition qla24xx_report_id_acquisition() format-1 handling drops vport_slock after taking the vport reference and then calls qla_update_host_map() without the lock. That reaches qla_update_vp_map(), which mutates the ha->host_map btree via btree_insert32()/btree_update32()/btree_remove32() and is documented to require vport_slock to be held by the caller. Running it unlocked can race concurrent host_map updates and corrupt the btree. The format-2 path in the same function already wraps its host_map update (SET_AL_PA) in vport_slock; the format-1 path is the lone outlier. Hold vport_slock across the format-1 qla_update_host_map() call to honor the documented locking contract. The vref_count taken in the loop keeps the vport valid, so this only adds the missing host_map serialization.
Impacted products
Vendor Product Version
Linux Linux Version: 430eef03a763e5e76a371ba6d02779ae4a64b6ea
Version: 430eef03a763e5e76a371ba6d02779ae4a64b6ea
Version: 430eef03a763e5e76a371ba6d02779ae4a64b6ea
Version: 430eef03a763e5e76a371ba6d02779ae4a64b6ea
Version: 430eef03a763e5e76a371ba6d02779ae4a64b6ea
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/qla2xxx/qla_mbx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e8f1b0cb9782338c6341ceed816e9c1243743cdd",
              "status": "affected",
              "version": "430eef03a763e5e76a371ba6d02779ae4a64b6ea",
              "versionType": "git"
            },
            {
              "lessThan": "6ed66e2a67bbd22877008ff9aa64bd574a7fc011",
              "status": "affected",
              "version": "430eef03a763e5e76a371ba6d02779ae4a64b6ea",
              "versionType": "git"
            },
            {
              "lessThan": "776e4e8cbcf155302f430ce9793d1502e3c113a0",
              "status": "affected",
              "version": "430eef03a763e5e76a371ba6d02779ae4a64b6ea",
              "versionType": "git"
            },
            {
              "lessThan": "7d0b3f745efb24c0aac5e06b49b3420bc65d23b9",
              "status": "affected",
              "version": "430eef03a763e5e76a371ba6d02779ae4a64b6ea",
              "versionType": "git"
            },
            {
              "lessThan": "7944039ba9cb5c3a935d17c91004e3b8649ff58e",
              "status": "affected",
              "version": "430eef03a763e5e76a371ba6d02779ae4a64b6ea",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/qla2xxx/qla_mbx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.3"
            },
            {
              "lessThan": "6.3",
              "status": "unaffected",
              "version": "0",
              "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": "6.6.157",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.51",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.5",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Hold vport_slock for host map update in report ID acquisition\n\nqla24xx_report_id_acquisition() format-1 handling drops vport_slock after\ntaking the vport reference and then calls qla_update_host_map() without\nthe lock. That reaches qla_update_vp_map(), which mutates the ha-\u003ehost_map\nbtree via btree_insert32()/btree_update32()/btree_remove32() and is\ndocumented to require vport_slock to be held by the caller. Running it\nunlocked can race concurrent host_map updates and corrupt the btree.\n\nThe format-2 path in the same function already wraps its host_map update\n(SET_AL_PA) in vport_slock; the format-1 path is the lone outlier.\n\nHold vport_slock across the format-1 qla_update_host_map() call to honor\nthe documented locking contract. The vref_count taken in the loop keeps\nthe vport valid, so this only adds the missing host_map serialization."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:A - qla24xx_report_id_acquisition() runs from qla2xxx response and ATIO interrupt paths when firmware reports NPIV N_Port ID acquisition or VP_STAT_ID_CHG after fabric FDISC. A peer or switch on the same Fibre Channel SAN can drive those events; FC is a non-routable fabric, so Adjacent is the highest defensible vector.\nAC:L - A fabric attacker can bounce the link or induce ID changes so multiple NPIV ports re-acquire IDs while the ATIO MSI-X path (atio_lock) and the response-queue path both call qla_update_host_map() on the shared ha-\u003ehost_map btree. The attacker drives both sides of that race and can retry at fabric-event rate.\nPR:N - Report-ID IOCBs are firmware completions of unauthenticated Fibre Channel fabric login and ID assignment. The path checks no Linux credentials or capabilities on the victim host; FC-SP/EDIF is opt-in and not required.\nUI:N - Host-map updates run automatically in interrupt context when the HBA logs NPIV ports into the fabric or the fabric changes a VP ID. No user or administrator action such as mounting a device is required.\nS:U - Concurrent btree mutation corrupts qla2xxx host-map and kernel heap state inside the same host kernel security authority. This is not a VM escape, IOMMU bypass, or other cross-boundary impact.\nC:H - Unlocked btree_insert32/update32/remove32 on ha-\u003ehost_map can free or reuse btree nodes while another CPU walks them, and the tree stores scsi_qla_host pointers consumed by qla_find_host_by_d_id(). That is UAF-class heap corruption enabling kernel memory disclosure.\nI:H - The same unlocked btree mutation can corrupt node pointers, double-free mempool objects via btree_shrink(), and install attacker-influenced scsi_qla_host pointers used to dispatch incoming FCP/ATIO commands, yielding write and control-flow primitives.\nA:H - lib/btree.c BUG_ON()s on inconsistent nodes, and a corrupted host_map causes oopses in interrupt context when ATIO or response processing dereferences a bad vha pointer, panicking the storage host."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:53:37.236Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e8f1b0cb9782338c6341ceed816e9c1243743cdd"
        },
        {
          "url": "https://git.kernel.org/stable/c/6ed66e2a67bbd22877008ff9aa64bd574a7fc011"
        },
        {
          "url": "https://git.kernel.org/stable/c/776e4e8cbcf155302f430ce9793d1502e3c113a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/7d0b3f745efb24c0aac5e06b49b3420bc65d23b9"
        },
        {
          "url": "https://git.kernel.org/stable/c/7944039ba9cb5c3a935d17c91004e3b8649ff58e"
        }
      ],
      "title": "scsi: qla2xxx: Hold vport_slock for host map update in report ID acquisition",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89844",
    "datePublished": "2026-09-16T10:31:18.439Z",
    "dateReserved": "2026-09-11T19:38:34.770Z",
    "dateUpdated": "2026-10-19T08:53:37.236Z",
    "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…