CVE-2026-97536

published 25 Sep 2026 · updated 19 Nov 2026

scsi: qla2xxx: Fix use-after-free of qpair work on queue teardown

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f1f4d1cb93eeeb250eac9405121933e268eefbd3, Kernel 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85, Kernel 19788a55cab61d78e33e0914a5a31d27843e8a4a and 12 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=68ca949cdb04b4dc71451a999148fbc5f187a220 <f1f4d1cb93eeeb250eac9405121933e268eefbd3, >=68ca949cdb04b4dc71451a999148fbc5f187a220 <1710a69fd74d0b4bdfcc57c3309b1c4057f70d85, >=68ca949cdb04b4dc71451a999148fbc5f187a220 <19788a55cab61d78e33e0914a5a31d27843e8a4a, >=68ca949cdb04b4dc71451a999148fbc5f187a220 <2089647f81ff5263867ec08589f273899016ad4a, >=68ca949cdb04b4dc71451a999148fbc5f187a220 <942ceba876881a57e5157bb30a8a05f99a77ddd8, >=68ca949cdb04b4dc71451a999148fbc5f187a220 <9bd063c082ef0475dfc28c46f607aa3e90fe13d7, >=68ca949cdb04b4dc71451a999148fbc5f187a220 <bf3f802619eb57cb11c706263dca13255db9f3fd, >=68ca949cdb04b4dc71451a999148fbc5f187a220 <dd6c14db0dbb7774278e62c8114902f953540932, =2.6.31f1f4d1cb93eeeb250eac9405121933e268eefbd3, 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85, 19788a55cab61d78e33e0914a5a31d27843e8a4a, 2089647f81ff5263867ec08589f273899016ad4a, 942ceba876881a57e5157bb30a8a05f99a77ddd8, 9bd063c082ef0475dfc28c46f607aa3e90fe13d7, bf3f802619eb57cb11c706263dca13255db9f3fd, dd6c14db0dbb7774278e62c8114902f953540932
linux-kernel: Kernel>=5.11.0 <5.15.224, >=5.16.0 <6.1.191, >=6.13.0 <6.18.53, >=6.19.0 <7.2.7, >=6.2.0 <6.6.160, >=6.7.0 <6.12.112, >=2.6.31 <5.10.2735.15.224, 6.1.191, 6.18.53, 7.2.7, 6.6.160, 6.12.112, 5.10.273

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-97536 severity on Zeptric[![CVE-2026-97536](https://zeptric.io/badge/cve/CVE-2026-97536.svg)](https://zeptric.io/cve/CVE-2026-97536)