CVE-2026-97531
7.5 HIGHPublished 2026-09-25 · Updated 2026-09-25
AI risk analysis
- Summary
- The Linux kernel's SCSI qla2xxx driver has a race condition where a vport (virtual port) being deleted can still be processed during ID acquisition, leading to a use-after-free vulnerability. This occurs because the driver fails to skip vports marked for deletion when updating the host map, allowing freed memory to be accessed after the vport structure is released.
- Exploitability
- Exploitation requires precise timing and specific SCSI configuration with multiple virtual ports, making it moderately difficult but possible with a crafted SCSI workload that triggers the race condition during vport teardown.
- Blast radius
- The vulnerability could affect enterprise storage systems using QLogic SCSI HBAs with virtual port configurations, potentially leading to system crashes or data corruption when multiple vports are actively managed and deleted concurrently.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Apply kernel patch for Linux kernel version 6.10 or later which includes the fix for qla2xxx vport deletion race condition in commit 457893a1c4d8.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Skip vport under deletion in report ID acquisition qla24xx_report_id_acquisition() format-1 handling walks ha->vp_list under vport_slock, takes a vref_count on the matching vport and calls qla_update_host_map() to register its port id. A vport teardown via qla24xx_vport_delete() sets VPORT_DELETE, then qla24xx_disable_vp() removes the vport from the host_map btree and zeroes vha->d_id (RESET_AL_PA). The vport is only unlinked from vp_list later, in qla24xx_deallocate_vp_id(), which clears vp_map[idx] (RESET_VP_IDX) but does not touch host_map. In the window in between, report ID acquisition can still find the vport on vp_list and call qla_update_host_map(); with d_id already zeroed it takes the btree_insert32() path and re-inserts the dying vport into host_map. Nothing cleans that entry afterwards, so once scsi_host_put() frees the vha a later host_map lookup dereferences freed memory. Skip a vport that has VPORT_DELETE set before taking the reference, so it is neither re-registered nor scheduled for DPC re-registration. This mirrors the existing guard in qla2x00_alert_all_vps().
CVSS vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.