CVE-2026-97536

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

  • High 7.5

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.

Key facts

Published
25 Sep 2026
Last changed
30 Oct 2026
Assigned by
Linux
EPSS
0.299% likely to be exploited in the next 30 days, higher than 22.896% of CVEs (scores for 17 Nov 2026)

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 7.5CVSS 3.1, Highfrom the CNA (Linux)CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 68ca949cdb04b4dc71451a999148fbc5f187a220 up to but excluding 2089647f81ff5263867ec08589f273899016ad4a (affected)
  • 68ca949cdb04b4dc71451a999148fbc5f187a220 up to but excluding bf3f802619eb57cb11c706263dca13255db9f3fd (affected)
  • 68ca949cdb04b4dc71451a999148fbc5f187a220 up to but excluding 942ceba876881a57e5157bb30a8a05f99a77ddd8 (affected)
  • 68ca949cdb04b4dc71451a999148fbc5f187a220 up to but excluding 9bd063c082ef0475dfc28c46f607aa3e90fe13d7 (affected)
  • 68ca949cdb04b4dc71451a999148fbc5f187a220 up to but excluding dd6c14db0dbb7774278e62c8114902f953540932 (affected)
  • 68ca949cdb04b4dc71451a999148fbc5f187a220 up to but excluding 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85 (affected)
  • 68ca949cdb04b4dc71451a999148fbc5f187a220 up to but excluding f1f4d1cb93eeeb250eac9405121933e268eefbd3 (affected)
  • 68ca949cdb04b4dc71451a999148fbc5f187a220 up to but excluding 19788a55cab61d78e33e0914a5a31d27843e8a4a (affected)
LinuxLinux
  • Default status: affected
  • 2.6.31 (affected)
  • 0 up to but excluding 2.6.31 (unaffected)
  • 5.10.273 up to and including 5.10.* (unaffected)
  • 5.15.224 up to and including 5.15.* (unaffected)
  • 6.1.191 up to and including 6.1.* (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.112 up to and including 6.12.* (unaffected)
  • 6.18.53 up to and including 6.18.* (unaffected)
  • 7.2.7 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 25 Sep 2026 Published

References