Skip to content
Threat Brief

← All advisories

CVE-2026-97536

High 7.5No known exploitationFix available

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

Record last updated

CVSS score

7.5

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.3%

Higher than 23% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

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

VendorProductAffected versionsFixed inPer
LinuxLinuxfrom 68ca949cdb04b4dc71451a999148fbc5f187a220 before 1710a69fd74d0b4bdfcc57c3309b1c4057f70d851710a69fd74d0b4bdfcc57c3309b1c4057f70d85CVE Program
LinuxLinuxfrom 68ca949cdb04b4dc71451a999148fbc5f187a220 before f1f4d1cb93eeeb250eac9405121933e268eefbd3f1f4d1cb93eeeb250eac9405121933e268eefbd3CVE Program
LinuxLinuxfrom 68ca949cdb04b4dc71451a999148fbc5f187a220 before 19788a55cab61d78e33e0914a5a31d27843e8a4a19788a55cab61d78e33e0914a5a31d27843e8a4aCVE Program
LinuxLinuxfrom 68ca949cdb04b4dc71451a999148fbc5f187a220 before 2089647f81ff5263867ec08589f273899016ad4a2089647f81ff5263867ec08589f273899016ad4aCVE Program
LinuxLinuxfrom 68ca949cdb04b4dc71451a999148fbc5f187a220 before bf3f802619eb57cb11c706263dca13255db9f3fdbf3f802619eb57cb11c706263dca13255db9f3fdCVE Program
LinuxLinuxfrom 68ca949cdb04b4dc71451a999148fbc5f187a220 before 942ceba876881a57e5157bb30a8a05f99a77ddd8942ceba876881a57e5157bb30a8a05f99a77ddd8CVE Program
LinuxLinuxfrom 68ca949cdb04b4dc71451a999148fbc5f187a220 before 9bd063c082ef0475dfc28c46f607aa3e90fe13d79bd063c082ef0475dfc28c46f607aa3e90fe13d7CVE Program
LinuxLinuxfrom 68ca949cdb04b4dc71451a999148fbc5f187a220 before dd6c14db0dbb7774278e62c8114902f953540932dd6c14db0dbb7774278e62c8114902f953540932CVE Program
LinuxLinux2.6.31Not documentedCVE Program
Microsoftazl3 kernel 6.6.157.1-1 on Azure Linux 3.0Not documentedNot documentedMicrosoft MSRC
Microsoftazl3 kernel 6.6.159.1-1 on Azure Linux 3.0Not documented6.6.161.1-1Microsoft MSRC
Microsoftazl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0Not documented0:6.18.57-1.1.azl4Microsoft MSRC
LinuxLinux (unaffected)from 5.10.273 up to and including 5.10.*Not documentedCVE Program
LinuxLinux (unaffected)from 5.15.224 up to and including 5.15.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.1.191 up to and including 6.1.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.12.112 up to and including 6.12.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.18.53 up to and including 6.18.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.6.160 up to and including 6.6.*Not documentedCVE Program
LinuxLinux (unaffected)from 7.2.7 up to and including 7.2.*Not documentedCVE Program
LinuxLinux (unaffected)7.3Not documentedCVE Program
LinuxLinux (unaffected)all versions before 2.6.31Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by Linux

    Source: CVE Program (opens in a new tab)

  2. Advisory

    Microsoft advisory published

    Source: Microsoft MSRC (opens in a new tab)

  3. Advisory change

    Microsoft advisory revised (2.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  4. Advisory change

    Microsoft advisory revised (3.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  5. Advisory change

    Microsoft advisory revised (4.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  6. Advisory change

    Microsoft advisory revised (5.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  7. Advisory change

    Microsoft advisory revised (6.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  8. Patch

    Fix documented by Microsoft MSRC

    Source: Microsoft MSRC (opens in a new tab)

Vendor guidance and references