Linux Kernel qla2xxx Double-Free Flaw Can Crash Systems and Risk Privilege Escalation
Attack Tradecraft · 2 sources · Updated 3mo ago · First seen Mar 30, 2026

A double-free vulnerability tracked as CVE-2025-71238 was disclosed in the Linux kernel's qla2xxx SCSI driver, affecting the block SCSI generic (bsg) interface used by vendor-specific handlers in qla_bsg.c. The flaw stems from inconsistent calls to bsg_done()/bsg_job_done() on both success and failure paths, allowing the same bsg job to be freed twice and potentially causing memory corruption. Kernel maintainers said the bug can trigger a kernel panic, and published crash details show faults during qla2x00_process_vendor_specific and qla24xx_bsg_request execution.
Red Hat rated the issue moderate severity and warned that a local attacker could exploit it to cause denial of service by crashing the kernel, with a theoretical chance of local privilege escalation; the flaw is not network reachable. Fixes were released in upstream stable and development kernel branches as well as multiple Red Hat Enterprise Linux kernel packages. Red Hat advised customers to apply updated kernel packages, while the kernel community recommended moving to the latest stable kernel; as a mitigation, Red Hat said systems can prevent the qla2xxx module from loading if immediate patching is not possible.
Why it matters
Impact assessment
CVE-2025-71238 affects Linux systems using the qla2xxx SCSI driver and its block SCSI generic (bsg) interface, including Red Hat Enterprise Linux deployments and upstream kernel users. The primary impact is local denial of service through kernel panic or crash, with a theoretical path to local privilege escalation due to kernel memory corruption.
The exposure is narrower than a remotely reachable kernel flaw because exploitation requires local access and the vulnerable qla2xxx module path to be present and reachable. There is no evidence in the provided references of active exploitation in the wild, but affected enterprise servers using QLogic/Marvell Fibre Channel adapters or related qla2xxx-backed storage workflows face operational disruption risk if unpatched.
Supporting facts
- Affected product: Linux kernel qla2xxx SCSI driver, specifically the bsg interface in qla_bsg.c.
- Affected populations: upstream Linux users and Red Hat Enterprise Linux customers with affected kernel packages.
- Reachability: not network reachable; exploitation is local.
- Impact: kernel memory corruption, kernel panic, and denial of service.
- Secondary risk: theoretical local privilege escalation.
- Severity: Red Hat rated the issue Moderate.
- Scope: targeted to systems with the qla2xxx driver/module loaded rather than all Linux hosts.
- Known incidents: no confirmed in-the-wild exploitation stated in the references.


