{"schema":"threatline.record/2","record":{"id":"CVE-2026-97536","aliases":[],"summary":"scsi: qla2xxx: Fix use-after-free of qpair work on queue teardown","details":"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, &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.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97536","source_modified_at":"2026-10-21T12:53:11.632Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"68ca949cdb04b4dc71451a999148fbc5f187a220","lessThan":"9bd063c082ef0475dfc28c46f607aa3e90fe13d7","status":"affected","versionType":"git"},{"version":"68ca949cdb04b4dc71451a999148fbc5f187a220","lessThan":"dd6c14db0dbb7774278e62c8114902f953540932","status":"affected","versionType":"git"},{"version":"68ca949cdb04b4dc71451a999148fbc5f187a220","lessThan":"1710a69fd74d0b4bdfcc57c3309b1c4057f70d85","status":"affected","versionType":"git"},{"version":"68ca949cdb04b4dc71451a999148fbc5f187a220","lessThan":"f1f4d1cb93eeeb250eac9405121933e268eefbd3","status":"affected","versionType":"git"},{"version":"68ca949cdb04b4dc71451a999148fbc5f187a220","lessThan":"19788a55cab61d78e33e0914a5a31d27843e8a4a","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97536","source_modified_at":"2026-10-21T12:53:11.632Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"2.6.31","status":"affected"},{"version":"0","lessThan":"2.6.31","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.112","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.53","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.7","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97536","source_modified_at":"2026-10-21T12:53:11.632Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"9bd063c082ef0475dfc28c46f607aa3e90fe13d7","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97536","source_modified_at":"2026-10-21T12:53:11.632Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"1710a69fd74d0b4bdfcc57c3309b1c4057f70d85","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97536","source_modified_at":"2026-10-21T12:53:11.632Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"19788a55cab61d78e33e0914a5a31d27843e8a4a","basis":"first unaffected version stated in the CVE record"}],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00284,"percentile":0.19858,"score_date":"2026-10-23"},"published_at":"2026-09-25T10:21:34.991Z","modified_at":"2026-10-21T12:53:11.632Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-97536","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-21T12:53:11.632Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-97536","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/9bd063c082ef0475dfc28c46f607aa3e90fe13d7"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/dd6c14db0dbb7774278e62c8114902f953540932"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/1710a69fd74d0b4bdfcc57c3309b1c4057f70d85"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/f1f4d1cb93eeeb250eac9405121933e268eefbd3"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/19788a55cab61d78e33e0914a5a31d27843e8a4a"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-21T12:53:11.632Z","content_hash":"d8d6a29a734cdf14100c78e6aac415082f0abb7cb4bfa22b31f518539cbdabd2"}}
