# CVE-2026-89847: scsi: qla2xxx: Avoid double completion in async IOCB timeout

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; 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:** Remote, no login needed
- **EPSS:** 0.73% (percentile 50, 2026-11-26)
- **Published:** 2026-09-16T10:31:21.286Z
- **Modified:** 2026-10-19T09:18:28.757Z

## Who should check

- Anyone running Linux \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 71a7b6e3c7f121439f51a058e53d4a8e05b63dec; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 7257b5e1fb6c9387714f66e01b79ec82b717eede; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< f5b660e0b0d9190d8853c795c2522cc5f8c93003; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 6e217a9482eabbd8b29847be334c74cf468d3544; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< d6d856c722f40f0694ff755208552e658db6dd42; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 9fa1d71233a82416492d9c9de9756ebe140fe714; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 845d4abd92cd2f97551356c8b281ad6e197acb07; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< bb45bc4bd53c95a7bf6f782577b5ede94c0f8aa8
- Anyone running Linux 4.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: qla2xxx: Avoid double completion in async IOCB timeout

qla2x00\_async\_iocb\_timeout() tries to abort a timed-out async IOCB. When
qla24xx\_async\_abort\_cmd() fails, both the SRB\_LOGIN\_CMD path and the
SRB\_CTRL\_VP/default path scan outstanding\_cmds\[\] for the SRB and then
call sp-\>done(sp, QLA\_FUNCTION\_TIMEOUT) unconditionally, without checking
whether the SRB was actually found and removed.

If the response ISR completes the same handle first, it removes the SRB
under qp\_lock\_ptr and runs sp-\>done() -\> complete(sp-\>comp). The
submitter qla24xx\_control\_vp() wakes from wait\_for\_completion(), clears
sp-\>comp, drops its reference and returns, reclaiming the on-stack
completion. The timer reference keeps the SRB alive across the timeout
handler, but not the submitter's stack. The timeout then issues a second
sp-\>done() -\> qla\_ctrlvp\_sp\_done(), which evaluates "if (sp-\>comp)
complete(sp-\>comp)"; with the pointer loaded before the submitter's NULL
store, complete() writes into the freed stack frame, a use-after-free.

Track whether this path removed the SRB from outstanding\_cmds and only
call sp-\>done() when it did, so the command is completed exactly once by
whichever path owns it. This mirrors the sp\_found guard already used in
qla24xx\_abort\_iocb\_timeout().

## Affected and fixed versions

- Linux: \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 71a7b6e3c7f121439f51a058e53d4a8e05b63dec; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 7257b5e1fb6c9387714f66e01b79ec82b717eede; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< f5b660e0b0d9190d8853c795c2522cc5f8c93003; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 6e217a9482eabbd8b29847be334c74cf468d3544; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< d6d856c722f40f0694ff755208552e658db6dd42; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 9fa1d71233a82416492d9c9de9756ebe140fe714; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 845d4abd92cd2f97551356c8b281ad6e197acb07; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< bb45bc4bd53c95a7bf6f782577b5ede94c0f8aa8 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89847.md
Affected: Linux >= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, < 71a7b6e3c7f121439f51a058e53d4a8e05b63dec; >= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, < 7257b5e1fb6c9387714f66e01b79ec82b717eede; >= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, < f5b660e0b0d9190d8853c795c2522cc5f8c93003; >= f6145e86d21fccd59bbb87b…
Fixed in: Linux 71a7b6e3c7f121439f51a058e53d4a8e05b63dec, Linux 7257b5e1fb6c9387714f66e01b79ec82b717eede, Linux 6e217a9482eabbd8b29847be334c74cf468d3544, Linux 9fa1d71233a82416492d9c9de9756ebe140fe714, Linux 845d4abd92cd2f97551356c8b281ad6e197acb07

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-89847 being exploited?

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 71a7b6e3c7f121439f51a058e53d4a8e05b63dec; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 7257b5e1fb6c9387714f66e01b79ec82b717eede; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< f5b660e0b0d9190d8853c795c2522cc5f8c93003; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 6e217a9482eabbd8b29847be334c74cf468d3544; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< d6d856c722f40f0694ff755208552e658db6dd42; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 9fa1d71233a82416492d9c9de9756ebe140fe714; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< 845d4abd92cd2f97551356c8b281ad6e197acb07; \>= f6145e86d21fccd59bbb87bc1e1eb076658fd79a, \< bb45bc4bd53c95a7bf6f782577b5ede94c0f8aa8; Linux 4.19.

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

Yes. Fixed in Linux 71a7b6e3c7f121439f51a058e53d4a8e05b63dec, Linux 7257b5e1fb6c9387714f66e01b79ec82b717eede, Linux 6e217a9482eabbd8b29847be334c74cf468d3544, Linux 9fa1d71233a82416492d9c9de9756ebe140fe714, Linux 845d4abd92cd2f97551356c8b281ad6e197acb07. No fix listed yet: follow the vendor advisory.

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

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/71a7b6e3c7f121439f51a058e53d4a8e05b63dec>
- other: <https://git.kernel.org/stable/c/7257b5e1fb6c9387714f66e01b79ec82b717eede>
- other: <https://git.kernel.org/stable/c/f5b660e0b0d9190d8853c795c2522cc5f8c93003>
- other: <https://git.kernel.org/stable/c/6e217a9482eabbd8b29847be334c74cf468d3544>
- other: <https://git.kernel.org/stable/c/d6d856c722f40f0694ff755208552e658db6dd42>
- other: <https://git.kernel.org/stable/c/9fa1d71233a82416492d9c9de9756ebe140fe714>
- other: <https://git.kernel.org/stable/c/845d4abd92cd2f97551356c8b281ad6e197acb07>
- other: <https://git.kernel.org/stable/c/bb45bc4bd53c95a7bf6f782577b5ede94c0f8aa8>

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

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