# CVE-2026-97532: scsi: qla2xxx: Null out freed pointers in qla2x00_mem_alloc() error path

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-02)
- Published: 2026-09-25T10:21:32.582Z
- Modified: 2026-10-30T13:21:06.707Z
- Assigned by: Linux

## Description

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

scsi: qla2xxx: Null out freed pointers in qla2x00_mem_alloc() error path

When qla2x00_mem_alloc() fails, qla2x00_probe_one() jumps to
probe_hw_failed and calls qla2x00_mem_free(). Several error labels in
qla2x00_mem_alloc() freed adapter members (elsrej.c, purex_dma_pool,
flt, sfp_data, loop_id_map, async_pd, sf_init_cb, ex_init_cb, npiv_info)
but left the pointers dangling. qla2x00_mem_free() then freed them a
second time. Worse, for the dma_pool members it issued
dma_pool_free(ha->s_dma_pool, ...) after s_dma_pool had already been
destroyed and set to NULL at fail_s_dma_pool, dereferencing a NULL pool.

Clear each freed pointer (and its DMA handle) in the error labels so the
subsequent qla2x00_mem_free() skips them.

(As written by CVE List.)

## Affected

- Linux Linux: from d64d6c5671db5e693a0caaee79f2571b098749c9 before e6732abc33c41772192ef8717354a5574a5c2ebf; from d64d6c5671db5e693a0caaee79f2571b098749c9 before aea0901d35beb3acc8a4086fb00c5b9c0e9c83ab; from d64d6c5671db5e693a0caaee79f2571b098749c9 before d3dee064ab9d705f6f652c639c55d7ea74df87cc; from d64d6c5671db5e693a0caaee79f2571b098749c9 before 5e0d6ffabbbd86b3fb9168b9dbb62190ecb20d84; from d64d6c5671db5e693a0caaee79f2571b098749c9 before 84f5de696b8c924aeb4bf430a0bdc762fc50e99f; from d64d6c5671db5e693a0caaee79f2571b098749c9 before a57570229edb7a0990d5c8067daeb9ac8858a961; from d64d6c5671db5e693a0caaee79f2571b098749c9 before 286d9594a022dd7e0caa3de9daa63b896bc70d43; from d64d6c5671db5e693a0caaee79f2571b098749c9 before 6d90f0feb929f6c0f3010f9af4747c7230b75993; 8540351ee8a4d540b1b7ee64b88d5e42c7c0bfbc; 7142b10b87d5b393a0688358b16a4b1d3680ec7d; from 4.14.27 before 4.15; from 4.15.10 before 4.16; and 1 more (not affected: before 4.16; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/e6732abc33c41772192ef8717354a5574a5c2ebf>
- <https://git.kernel.org/stable/c/aea0901d35beb3acc8a4086fb00c5b9c0e9c83ab>
- <https://git.kernel.org/stable/c/d3dee064ab9d705f6f652c639c55d7ea74df87cc>
- <https://git.kernel.org/stable/c/5e0d6ffabbbd86b3fb9168b9dbb62190ecb20d84>
- <https://git.kernel.org/stable/c/84f5de696b8c924aeb4bf430a0bdc762fc50e99f>
- <https://git.kernel.org/stable/c/a57570229edb7a0990d5c8067daeb9ac8858a961>
- <https://git.kernel.org/stable/c/286d9594a022dd7e0caa3de9daa63b896bc70d43>
- <https://git.kernel.org/stable/c/6d90f0feb929f6c0f3010f9af4747c7230b75993>

## Sources

- CVE List: [CVE-2026-97532](https://www.cve.org/CVERecord?id=CVE-2026-97532), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-97532](https://nvd.nist.gov/vuln/detail/CVE-2026-97532), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-97532 · Whole record: https://cve.day/CVE-2026-97532.json · Rebuilt by cve.day 2026-11-25T22:59:40.948Z
