{"id":"CVE-2026-97536","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Fix use-after-free of qpair work on queue teardown\n\nThe response queue MSI-X handler qla2xxx_msix_rsp_q() schedules\nqla_do_work() via queue_work(ha->wq, …","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Fix use-after-free of qpair work on queue teardown\n\nThe response queue MSI-X handler qla2xxx_msix_rsp_q() schedules\nqla_do_work() via queue_work(ha->wq, …","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-825"],"vendor":"Linux","product":"Linux","affected":["Linux >= 68ca949cdb04b4dc71451a999148fbc5f187a220 < dd6c14db0dbb7774278e62c8114902f953540932","Linux >= 68ca949cdb04b4dc71451a999148fbc5f187a220 < 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85","Linux >= 68ca949cdb04b4dc71451a999148fbc5f187a220 < f1f4d1cb93eeeb250eac9405121933e268eefbd3","Linux >= 68ca949cdb04b4dc71451a999148fbc5f187a220 < 19788a55cab61d78e33e0914a5a31d27843e8a4a","Linux 2.6.31"],"published":"2026-09-25","updated":"2026-10-03","sourceUpdated":"2026-10-03T11:18:02.387","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-97536","references":[{"url":"https://git.kernel.org/stable/c/1710a69fd74d0b4bdfcc57c3309b1c4057f70d85","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/19788a55cab61d78e33e0914a5a31d27843e8a4a","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/dd6c14db0dbb7774278e62c8114902f953540932","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f1f4d1cb93eeeb250eac9405121933e268eefbd3","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97536.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-97536"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2541041"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-97536"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97536"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-97536.mbox"},{"url":"https://git.kernel.org/stable/c/9bd063c082ef0475dfc28c46f607aa3e90fe13d7"}],"tags":["nvd","cve.org","csaf","vex","red-hat","score-dispute"],"epss":0.00289,"epssPercentile":0.21349,"scores":{"nvd":7.5,"vendor":5.5,"cna":7.5},"ingestedAt":"2026-09-25T11:06:38.923Z","slug":"CVE-2026-97536","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Fix use-after-free of qpair work on queue teardown\n\nThe response queue MSI-X handler qla2xxx_msix_rsp_q() schedules\nqla_do_work() via queue_work(ha->wq, &qpair->q_work). qla_do_work()\ndereferences the qpair (vha, rsp) and takes qpair->qp_lock.\n\nDuring teardown, qla2xxx_delete_qpair() deletes the response queue, which\ncalls free_irq() in qla25xx_free_rsp_que(), and then frees the queue and\nthe qpair. free_irq() waits for running hardirq handlers but does not\ncancel work already placed on ha->wq. A still-pending q_work then runs\nqla_do_work() against the freed qpair and response queue, causing a\nuse-after-free. This is especially likely during full adapter teardown,\nwhere destroy_workqueue(ha->wq) forces pending work to run after the queue\npairs have been freed.\n\nFlush the work item with cancel_work_sync() in qla25xx_free_rsp_que()\nafter free_irq() has released the interrupt (so no new work can be\nqueued) and before the response queue and qpair memory are freed (so the\nflushed handler still sees valid memory). Guard on rsp->qpair and ha->wq\nto match the INIT_WORK() condition and avoid operating on an\nuninitialized work_struct.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-10-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97536.json)","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":211004,"id":"CVE-2026-97536","ts":1790349123045,"field":"cvss","old":null,"new":"7.5"},{"seq":211003,"id":"CVE-2026-97536","ts":1790349123045,"field":"severity","old":"none","new":"high"}]}