Database/Kernel, userspace & hypervisor
Linux qla2xxx: NULL dma_free and mismatched bitmap locking in multiqueue queue teardown
Impact
Two distinct defects in qla25xx_free_req_que()/qla25xx_free_rsp_que(), exposed by the queue-creation error path. First, when dma_alloc_coherent() fails the free function runs with req->ring / rsp->ring still NULL and calls dma_free_coherent() on a NULL cpu_addr, which can panic. Second, the free functions cleared req_qid_map / rsp_qid_map under vport_lock while the creators protect the same bitmaps with mq_lock, so there is no mutual exclusion; the create error path also cleared the bit and dropped mq_lock before calling free, leaving a window in which another thread allocates the same que_id and has its ha->req_q_map entry clobbered by the lockless NULL assignment. On a host using QLogic FC multiqueue this means a panic or corrupted queue mapping under concurrent queue setup. This is separate from the qla2x00_mem_alloc double free (CVE-2026-97532) - different functions, different fix. No CVSS score is given.
Who can reach it
Local and privileged: the paths run during driver queue creation and teardown. The race needs concurrent multiqueue create/free, and the NULL free needs a coherent-DMA allocation failure. No tenant or remote vector is described.
What to do
Take a stable kernel with the NULL ring guard and the mq_lock conversion (three stable commits listed) and reboot the affected FC hosts; fold it into a normal kernel maintenance window. The record names no distro fixed version.
References
Related entries
- Linux LIO iSCSI target: LUN_RESET on a WRITE_PENDING command deadlocks the target worker threadCVE-2026-97951 · Linux kernel SCSI target iSCSI frontend (aborted WRITE_PENDING dataout handling)Unscored
- Linux cgroup: task iterator can resurrect a zero-refcount dying task, giving a use-after-freeCVE-2026-98163 · Linux kernel cgroup task iterator (css_task_iter_next over dying_tasks)Unscored
- Microsoft Hyper-V: vmswitch fails to validate guest OID requestsCVE-2021-28476 · Microsoft Hyper-VCritical
- Incus: instance snapshots bypass restricted.containers.lowlevel, giving command execution on the hostCVE-2026-48751 · Incus (instance snapshots ignore restricted.containers.lowlevel)Critical
- VMware ESXi (OpenSLP): Use-after-free in OpenSLP on port 427 - unauthenticated remote code execution on the hypervisorCVE-2020-3992 · VMware ESXi (OpenSLP)Critical
- Linux kernel mlx5_core kTLS RX offload: TLS RX resync list corruption: entries are moved by the resync handlerCVE-2021-47215 · Linux kernel mlx5_core kTLS RX offloadCritical
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.