CVE-2026-97536
scsi: qla2xxx: Fix use-after-free of qpair work on queue teardown
Reported by linux · Published September 25, 2026
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix use-after-free of qpair work on queue teardown The response queue MSI-X handler qla2xxx_msix_rsp_q() schedules qla_do_work() via queue_work(ha->wq, &qpair->q_work). qla_do_work() dereferences the qpair (vha, rsp) and takes qpair->qp_lock. During teardown, qla2xxx_delete_qpair() deletes the response queue, which calls free_irq() in qla25xx_free_rsp_que(), and then frees the queue and the qpair. free_irq() waits for running hardirq handlers but does not cancel work already placed on ha->wq. A still-pending q_work then runs qla_do_work() against the freed qpair and response queue, causing a use-after-free. This is especially likely during full adapter teardown, where destroy_workqueue(ha->wq) forces pending work to run after the queue pairs have been freed. Flush the work item with cancel_work_sync() in qla25xx_free_rsp_que() after free_irq() has released the interrupt (so no new work can be queued) and before the response queue and qpair memory are freed (so the flushed handler still sees valid memory). Guard on rsp->qpair and ha->wq to match the INIT_WORK() condition and avoid operating on an uninitialized work_struct.
EPSS 0.30% · 23.0th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | f1f4d1cb93eeeb250eac9405121933e268eefbd3, dd6c14db0dbb7774278e62c8114902f953540932, bf3f802619eb57cb11c706263dca13255db9f3fd, 9bd063c082ef0475dfc28c46f607aa3e90fe13d7, 942ceba876881a57e5157bb30a8a05f99a77ddd8, 2089647f81ff5263867ec08589f273899016ad4a, 19788a55cab61d78e33e0914a5a31d27843e8a4a, 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 68ca949cdb04b4dc71451a999148fbc5f187a220, 68ca949cdb04b4dc71451a999148fbc5f187a220, 68ca949cdb04b4dc71451a999148fbc5f187a220 |
| Linux | Linux | 2.6.31, 0, 5.10.273 |
| Linux | Linux | 7.3, 0, 5.10.273 |
| linux | linux_kernel | 2.6.31, 2.6.31, 2.6.31 |
Timeline
- Sep 25, 2026 Coalition ESS Score
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (18 in total, the first dated here)
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-97536
vulnetix vdb fixes CVE-2026-97536
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97536/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart