scsi: qla2xxx: Unlink NVMe unsol ctx before freeing on LS reject error (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.34 % · percentile 28 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/925a9129a514b7c3bc0a8af01e51868adbb9a83e
- https://git.kernel.org/stable/c/cbbf1484496aac86038e67ac984949af58009d4b
- https://git.kernel.org/stable/c/a95fc5f1c12bba1dbff72bd2611e7fad0758831b
- https://git.kernel.org/stable/c/c55d649a6cc246c3ccd5d118faea230c46b60f35
- https://git.kernel.org/stable/c/e46160a5d4fa59bf4d5f3412b6b5cb79edb967dd
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-86836
- GCVE · GCVE-0-2026-97528
CERT-FR advisories
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1374 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 875386b98857822b77ac7f95bdf367b70af5b78c < 925a9129a514b7c3bc0a8af01e51868adbb9a83e ; affected 875386b98857822b77ac7f95bdf367b70af5b78c < cbbf1484496aac86038e67ac984949af58009d4b ; affected 875386b98857822b77ac7f95bdf367b70af5b78c < a95fc5f1c12bba1dbff72bd2611e7fad0758831b ; affected 875386b98857822b77ac7f95bdf367b70af5b78c < c55d649a6cc246c3ccd5d118faea230c46b60f35 ; affected 875386b98857822b77ac7f95bdf367b70af5b78c < e46160a5d4fa59bf4d5f3412b6b5cb79edb967dd |
| Linux · Linux | affected 6.6 ; unaffected 0 < 6.6 ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.112 ≤ 6.12.* ; unaffected 6.18.53 ≤ 6.18.* ; unaffected 7.2.7 ≤ 7.2.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |