CVE-2026-97536
High 7.5No known exploitationFix availablescsi: qla2xxx: Fix use-after-free of qpair work on queue teardown
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 23% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 68ca949cdb04b4dc71451a999148fbc5f187a220 before 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85 | 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85 | CVE Program |
| Linux | Linux | from 68ca949cdb04b4dc71451a999148fbc5f187a220 before f1f4d1cb93eeeb250eac9405121933e268eefbd3 | f1f4d1cb93eeeb250eac9405121933e268eefbd3 | CVE Program |
| Linux | Linux | from 68ca949cdb04b4dc71451a999148fbc5f187a220 before 19788a55cab61d78e33e0914a5a31d27843e8a4a | 19788a55cab61d78e33e0914a5a31d27843e8a4a | CVE Program |
| Linux | Linux | from 68ca949cdb04b4dc71451a999148fbc5f187a220 before 2089647f81ff5263867ec08589f273899016ad4a | 2089647f81ff5263867ec08589f273899016ad4a | CVE Program |
| Linux | Linux | from 68ca949cdb04b4dc71451a999148fbc5f187a220 before bf3f802619eb57cb11c706263dca13255db9f3fd | bf3f802619eb57cb11c706263dca13255db9f3fd | CVE Program |
| Linux | Linux | from 68ca949cdb04b4dc71451a999148fbc5f187a220 before 942ceba876881a57e5157bb30a8a05f99a77ddd8 | 942ceba876881a57e5157bb30a8a05f99a77ddd8 | CVE Program |
| Linux | Linux | from 68ca949cdb04b4dc71451a999148fbc5f187a220 before 9bd063c082ef0475dfc28c46f607aa3e90fe13d7 | 9bd063c082ef0475dfc28c46f607aa3e90fe13d7 | CVE Program |
| Linux | Linux | from 68ca949cdb04b4dc71451a999148fbc5f187a220 before dd6c14db0dbb7774278e62c8114902f953540932 | dd6c14db0dbb7774278e62c8114902f953540932 | CVE Program |
| Linux | Linux | 2.6.31 | Not documented | CVE Program |
| Microsoft | azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Microsoft | azl3 kernel 6.6.159.1-1 on Azure Linux 3.0 | Not documented | 6.6.161.1-1 | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 5.10.273 up to and including 5.10.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 5.15.224 up to and including 5.15.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.1.191 up to and including 6.1.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.112 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.53 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.6.160 up to and including 6.6.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.2.7 up to and including 7.2.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.3 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 2.6.31 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Advisory change
Microsoft advisory revised (6.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/1710a69fd74d0b4bdfcc57c3309b1c4057f70d85 (opens in a new tab)
- https://git.kernel.org/stable/c/19788a55cab61d78e33e0914a5a31d27843e8a4a (opens in a new tab)
- https://git.kernel.org/stable/c/2089647f81ff5263867ec08589f273899016ad4a (opens in a new tab)
- https://git.kernel.org/stable/c/942ceba876881a57e5157bb30a8a05f99a77ddd8 (opens in a new tab)
- https://git.kernel.org/stable/c/9bd063c082ef0475dfc28c46f607aa3e90fe13d7 (opens in a new tab)
- https://git.kernel.org/stable/c/bf3f802619eb57cb11c706263dca13255db9f3fd (opens in a new tab)
- https://git.kernel.org/stable/c/dd6c14db0dbb7774278e62c8114902f953540932 (opens in a new tab)
- https://git.kernel.org/stable/c/f1f4d1cb93eeeb250eac9405121933e268eefbd3 (opens in a new tab)