CVE-2026-97528

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

State
Published
Severity
8.8 High
Published
Sep 25, 2026
Updated
Oct 21, 2026
Reserved
Sep 24, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 875386b98857822b77ac7f95bdf367b70af5b78c to before 925a9129a514b7c3bc0a8af01e51868adbb9a83eAffected
  • 875386b98857822b77ac7f95bdf367b70af5b78c to before cbbf1484496aac86038e67ac984949af58009d4bAffected
  • 875386b98857822b77ac7f95bdf367b70af5b78c to before a95fc5f1c12bba1dbff72bd2611e7fad0758831bAffected
  • 875386b98857822b77ac7f95bdf367b70af5b78c to before c55d649a6cc246c3ccd5d118faea230c46b60f35Affected
  • 875386b98857822b77ac7f95bdf367b70af5b78c to before e46160a5d4fa59bf4d5f3412b6b5cb79edb967ddAffected
LinuxLinux
  • 6.6Affected
  • before 6.6Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.