# CVE-2026-97536: scsi: qla2xxx: Fix use-after-free of qpair work on queue teardown

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **Published:** 2026-09-25T10:21:34.991Z
- **Modified:** 2026-10-30T13:21:07.087Z

## Who should check

- Anyone running Linux \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 2089647f81ff5263867ec08589f273899016ad4a; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< bf3f802619eb57cb11c706263dca13255db9f3fd; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 942ceba876881a57e5157bb30a8a05f99a77ddd8; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 9bd063c082ef0475dfc28c46f607aa3e90fe13d7; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< dd6c14db0dbb7774278e62c8114902f953540932; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< f1f4d1cb93eeeb250eac9405121933e268eefbd3; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 19788a55cab61d78e33e0914a5a31d27843e8a4a
- Anyone running Linux 2.6.31

## 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.

## Affected and fixed versions

- Linux: \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 2089647f81ff5263867ec08589f273899016ad4a; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< bf3f802619eb57cb11c706263dca13255db9f3fd; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 942ceba876881a57e5157bb30a8a05f99a77ddd8; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 9bd063c082ef0475dfc28c46f607aa3e90fe13d7; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< dd6c14db0dbb7774278e62c8114902f953540932; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< f1f4d1cb93eeeb250eac9405121933e268eefbd3; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 19788a55cab61d78e33e0914a5a31d27843e8a4a (cvelist)
- Linux: 2.6.31 (cvelist)

## Mitigation

- Upgrade Linux to 19788a55cab61d78e33e0914a5a31d27843e8a4a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97536. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97536.md
Affected: Linux >= 68ca949cdb04b4dc71451a999148fbc5f187a220, < 2089647f81ff5263867ec08589f273899016ad4a; >= 68ca949cdb04b4dc71451a999148fbc5f187a220, < bf3f802619eb57cb11c706263dca13255db9f3fd; >= 68ca949cdb04b4dc71451a999148fbc5f187a220, < 942ceba876881a57e5157bb30a8a05f99a77ddd8; >= 68ca949cdb04b4dc71451a9…
Fixed in: Linux 2089647f81ff5263867ec08589f273899016ad4a, Linux 942ceba876881a57e5157bb30a8a05f99a77ddd8, Linux 9bd063c082ef0475dfc28c46f607aa3e90fe13d7, Linux 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85, Linux 19788a55cab61d78e33e0914a5a31d27843e8a4a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97536 being exploited?

There is no confirmed exploitation: CVE-2026-97536 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97536?

High: CVSS 7.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-97536?

Linux \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 2089647f81ff5263867ec08589f273899016ad4a; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< bf3f802619eb57cb11c706263dca13255db9f3fd; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 942ceba876881a57e5157bb30a8a05f99a77ddd8; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 9bd063c082ef0475dfc28c46f607aa3e90fe13d7; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< dd6c14db0dbb7774278e62c8114902f953540932; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< f1f4d1cb93eeeb250eac9405121933e268eefbd3; \>= 68ca949cdb04b4dc71451a999148fbc5f187a220, \< 19788a55cab61d78e33e0914a5a31d27843e8a4a; Linux 2.6.31.

### Is there a fix for CVE-2026-97536?

Yes. Fixed in Linux 2089647f81ff5263867ec08589f273899016ad4a, Linux 942ceba876881a57e5157bb30a8a05f99a77ddd8, Linux 9bd063c082ef0475dfc28c46f607aa3e90fe13d7, Linux 1710a69fd74d0b4bdfcc57c3309b1c4057f70d85, Linux 19788a55cab61d78e33e0914a5a31d27843e8a4a. Upgrade Linux to 19788a55cab61d78e33e0914a5a31d27843e8a4a or later.

### How do I check if I'm affected by CVE-2026-97536?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/2089647f81ff5263867ec08589f273899016ad4a>
- other: <https://git.kernel.org/stable/c/bf3f802619eb57cb11c706263dca13255db9f3fd>
- other: <https://git.kernel.org/stable/c/942ceba876881a57e5157bb30a8a05f99a77ddd8>
- other: <https://git.kernel.org/stable/c/9bd063c082ef0475dfc28c46f607aa3e90fe13d7>
- other: <https://git.kernel.org/stable/c/dd6c14db0dbb7774278e62c8114902f953540932>
- other: <https://git.kernel.org/stable/c/1710a69fd74d0b4bdfcc57c3309b1c4057f70d85>
- other: <https://git.kernel.org/stable/c/f1f4d1cb93eeeb250eac9405121933e268eefbd3>
- other: <https://git.kernel.org/stable/c/19788a55cab61d78e33e0914a5a31d27843e8a4a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97536>

HTML: <https://flawdb.com/CVE-2026-97536> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97536>
