Skip to content
Heist/ feed
High

scsi: qla2xxx: Unlink NVMe unsol ctx before freeing on LS reject error

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Unlink NVMe unsol ctx before freeing on LS reject error qla_nvme_xmt_ls_rsp() obtains uctx, which was linked into fcport->unsol_ctx_head by qla2xxx_process_purls_iocb() and is still linked when the NVMe transport calls back to transmit the LS response. On the error (out:) path the function frees uctx with kfree() but never removes it from the list. This leaves a freed node in fcport->unsol_ctx_head: the next list_add_tail() for that fcport writes through the freed node, and a subsequent list_del() can corrupt the list or panic. Unlink uctx with list_del() before kfree() on the error path, matching the other free sites in qla_nvme_release_lsrsp_cmd_kref() and qla2xxx_process_purls_pkt(). qla2x00_rel_sp() in the failure path only returns the SRB to its pool and does not invoke sp->put_fn, so the out: path is the sole free and uctx is always still linked there.

Announced Source revision 1
Original source ↗

CVE-2026-97528

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-97528

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "875386b98857822b77ac7f95bdf367b70af5b78c",
        "lessThan": "925a9129a514b7c3bc0a8af01e51868adbb9a83e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "875386b98857822b77ac7f95bdf367b70af5b78c",
        "lessThan": "cbbf1484496aac86038e67ac984949af58009d4b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "875386b98857822b77ac7f95bdf367b70af5b78c",
        "lessThan": "a95fc5f1c12bba1dbff72bd2611e7fad0758831b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "875386b98857822b77ac7f95bdf367b70af5b78c",
        "lessThan": "c55d649a6cc246c3ccd5d118faea230c46b60f35",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "875386b98857822b77ac7f95bdf367b70af5b78c",
        "lessThan": "e46160a5d4fa59bf4d5f3412b6b5cb79edb967dd",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/scsi/qla2xxx/qla_nvme.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.6"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.6",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.112",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/scsi/qla2xxx/qla_nvme.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97528

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#48774 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement