# CVE-2026-97527: scsi: qla2xxx: Serialize NVMe unsol ctx list with a per-fcport lock

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-09-25T10:21:29.521Z
- Modified: 2026-10-21T13:21:11.907Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: qla2xxx: Serialize NVMe unsol ctx list with a per-fcport lock

The fcport->unsol_ctx_head list is modified from several contexts without
a common lock. Entries are added in qla2xxx_process_purls_iocb() from the
response queue ISR (under the qpair qp_lock), while they are removed from
qla2xxx_process_purls_pkt() (DPC/purex worker), qla_nvme_xmt_ls_rsp()
(NVMe-FC transport callback) and qla_nvme_release_lsrsp_cmd_kref() (SRB
completion). The qpair qp_lock cannot serialize this per-fcport list since
multiqueue adapters add entries through different qpairs, so a concurrent
add and delete (or two concurrent deletes) can corrupt the list pointers.

Introduce a dedicated per-fcport spinlock, unsol_ctx_lock, initialized in
qla2x00_alloc_fcport(), and take it around every list_add_tail()/list_del()
on unsol_ctx_head. The add nests under the existing qp_lock; no delete path
takes qp_lock, so the lock order is consistent and deadlock free.

(As written by CVE List.)

## Affected

- Linux Linux: from 875386b98857822b77ac7f95bdf367b70af5b78c before 6c71726cdfda93ae169a75c7b1697eb870303125; from 875386b98857822b77ac7f95bdf367b70af5b78c before c1ee12eecbab9674fb73c9e00a93fac655d5a5dc; from 875386b98857822b77ac7f95bdf367b70af5b78c before b211d138cad86f749826d6132db6388eded992d8; from 875386b98857822b77ac7f95bdf367b70af5b78c before 4d8ad6bc8cc5eff1870cef00a0d611f38f8b6bd0; from 875386b98857822b77ac7f95bdf367b70af5b78c before 76da0c43c63eb0496649e372ac64466364d0fe7d; 6.6 (not affected: before 6.6; from 6.6.160 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/6c71726cdfda93ae169a75c7b1697eb870303125>
- <https://git.kernel.org/stable/c/c1ee12eecbab9674fb73c9e00a93fac655d5a5dc>
- <https://git.kernel.org/stable/c/b211d138cad86f749826d6132db6388eded992d8>
- <https://git.kernel.org/stable/c/4d8ad6bc8cc5eff1870cef00a0d611f38f8b6bd0>
- <https://git.kernel.org/stable/c/76da0c43c63eb0496649e372ac64466364d0fe7d>

## Sources

- CVE List: [CVE-2026-97527](https://www.cve.org/CVERecord?id=CVE-2026-97527), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-97527](https://nvd.nist.gov/vuln/detail/CVE-2026-97527), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-97527 · Whole record: https://cve.day/CVE-2026-97527.json · Rebuilt by cve.day 2026-11-25T22:59:40.946Z
