Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97532 Overview
CVE-2026-97532 is a memory management flaw in the Linux kernel's qla2xxx SCSI driver for QLogic Fibre Channel host bus adapters. The vulnerability resides in the qla2x00_mem_alloc() error-handling path, where several adapter members are freed but their pointers are left dangling. When qla2x00_probe_one() subsequently invokes qla2x00_mem_free(), those same pointers are freed again. For DMA pool members, the code calls dma_pool_free() against ha->s_dma_pool after that pool has already been destroyed and set to NULL, dereferencing a NULL pool.
Critical Impact
A double-free and NULL pointer dereference during driver probe failure can corrupt kernel memory or crash the host, denying service to systems using QLogic Fibre Channel HBAs.
Affected Products
- Linux kernel qla2xxx SCSI driver (QLogic Fibre Channel HBAs)
- Upstream kernel versions prior to the commits referenced in the stable tree
- Distribution kernels that have not yet backported the fix
Discovery Timeline
- 2026-09-25 - CVE-2026-97532 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-97532
Vulnerability Analysis
The qla2xxx driver allocates multiple adapter resources during qla2x00_mem_alloc(), including elsrej.c, purex_dma_pool, flt, sfp_data, loop_id_map, async_pd, sf_init_cb, ex_init_cb, and npiv_info. When allocation fails partway through, the function jumps to labeled cleanup blocks that free already-allocated members. However, these labels do not reset the freed pointers to NULL.
Control returns to qla2x00_probe_one(), which branches to probe_hw_failed and calls qla2x00_mem_free() as a catch-all cleanup. Because the pointers still hold their original addresses, qla2x00_mem_free() releases the same memory a second time. The result is classic memory corruption via double-free [CWE-415] combined with a NULL pointer dereference [CWE-476] on the destroyed DMA pool.
Root Cause
The root cause is incomplete cleanup in error paths. Freeing a resource without nulling the owning pointer leaves qla2x00_mem_free() unable to distinguish freed from live allocations. The fail_s_dma_pool label compounds this by destroying ha->s_dma_pool and setting it to NULL, while leaving dependent DMA allocations referenced. The follow-on dma_pool_free(ha->s_dma_pool, ...) call then dereferences a NULL pool handle.
Attack Vector
Triggering the flaw requires the probe sequence to fail during memory allocation for a QLogic Fibre Channel adapter. This is primarily a reliability and stability defect reachable during driver initialization under memory pressure or hardware fault conditions. The fix clears each freed pointer and its DMA handle in the error labels so the subsequent qla2x00_mem_free() safely skips them. See the upstream commits 286d9594, 6d90f0fe, and a5757022 for the patch set.
Detection Methods for CVE-2026-97532
Indicators of Compromise
- Kernel oops or panic messages referencing qla2x00_mem_free, dma_pool_free, or NULL pointer dereference during module load.
- Repeated qla2xxx probe failures in dmesg followed by system instability.
- Slab corruption warnings tied to the qla2xxx driver on hosts with QLogic Fibre Channel adapters.
Detection Strategies
- Inventory running kernels on Fibre Channel storage hosts and compare against the fixed stable kernel builds.
- Enable CONFIG_DEBUG_SLAB, KASAN, or similar runtime memory checkers in lab environments to surface double-free conditions during qla2xxx probe testing.
- Monitor crash reporting systems (kdump, abrt) for stack traces originating in qla2x00_mem_alloc or qla2x00_mem_free.
Monitoring Recommendations
- Forward kernel logs to a centralized logging platform and alert on qla2xxx probe failure patterns.
- Track host uptime and unexpected reboots on servers equipped with QLogic HBAs.
- Correlate storage path flapping events with kernel error signatures to identify affected systems early.
How to Mitigate CVE-2026-97532
Immediate Actions Required
- Identify all Linux hosts running the qla2xxx driver with QLogic Fibre Channel HBAs.
- Schedule kernel updates to a build that includes the referenced stable commits.
- Validate the patch in a staging environment that can simulate adapter probe failures before production rollout.
Patch Information
The fix is upstream in the Linux stable tree. Apply a kernel package that contains commits 286d9594a022, 6d90f0feb929, and a57570229edb. Distribution vendors are expected to publish backported kernel updates; consult the applicable vendor security advisory for exact fixed package versions.
Workarounds
- Blacklist the qla2xxx module on systems that do not require Fibre Channel connectivity until a patched kernel is installed.
- Ensure adequate memory headroom on storage hosts to reduce the likelihood of probe-time allocation failures that trigger the flaw.
- Avoid live hot-add of QLogic HBAs on unpatched kernels where probe failures could cascade into a crash.
# Verify running kernel and loaded qla2xxx module
uname -r
lsmod | grep qla2xxx
# Temporarily prevent loading on hosts not using Fibre Channel
echo "blacklist qla2xxx" | sudo tee /etc/modprobe.d/blacklist-qla2xxx.conf
sudo update-initramfs -u # Debian/Ubuntu
# or
sudo dracut -f # RHEL/Fedora/SLES
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

