๐Ÿ” CVE Alert

CVE-2026-97536

UNKNOWN 0.0

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

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Sep 25, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new unknown vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
68ca949cdb04b4dc71451a999148fbc5f187a220 < 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85 68ca949cdb04b4dc71451a999148fbc5f187a220 < f1f4d1cb93eeeb250eac9405121933e268eefbd3 68ca949cdb04b4dc71451a999148fbc5f187a220 < 19788a55cab61d78e33e0914a5a31d27843e8a4a
Linux / Linux
2.6.31

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/1710a69fd74d0b4bdfcc57c3309b1c4057f70d85 git.kernel.org: https://git.kernel.org/stable/c/f1f4d1cb93eeeb250eac9405121933e268eefbd3 git.kernel.org: https://git.kernel.org/stable/c/19788a55cab61d78e33e0914a5a31d27843e8a4a