CVE-2025-71238: Double Free in Linux qla2xxx BSG bsg_done()
- Vendor
- Linux
CVE-2025-71238 is a double-free vulnerability in the Linux kernel QLogic qla2xxx SCSI driver's block SCSI generic (BSG) handling, in qla_bsg.c. Certain vendor-specific request failure paths invoke bsg_done() even though the BSG job may also be completed on the normal path. This can free the same BSG job twice during qla2x00_process_vendor_specific() and qla24xx_bsg_request() processing. The correction validates state before calling bsg_done().
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation can corrupt kernel memory and trigger a kernel page fault or panic, resulting in local denial of service. Local privilege escalation is considered a theoretical consequence of the memory corruption.
Mitigation
If you can’t patch tonight, do this now.
Where the affected QLogic qla2xxx hardware and driver are not required, prevent the qla2xxx kernel module from loading. Restrict local access to affected hosts until a fixed kernel is installed.
Remediation
Patch, then assume compromise.
Install a vendor-supplied kernel update containing the fix and reboot into the updated kernel. Upstream stable releases containing the fix include Linux kernel versions 5.10.251, 5.15.201, 6.1.164, 6.6.127, 6.12.74, 6.18.13, 6.19.3, and 7.0-rc1. Prefer the latest stable or distribution-maintained kernel release rather than individually cherry-picking the patch.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-71238 exploited in the wild?
- As of Oct 24, 2026, Mallory has no reports of CVE-2025-71238 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-71238?
- As of Oct 24, 2026, Mallory has found no public exploit for CVE-2025-71238.
- Is there a patch for CVE-2025-71238?
- Install a vendor-supplied kernel update containing the fix and reboot into the updated kernel. Upstream stable releases containing the fix include Linux kernel versions 5.10.251, 5.15.201, 6.1.164, 6.6.127, 6.12.74, 6.18.13, 6.19.3, and 7.0-rc1.
- What products are affected by CVE-2025-71238?
- Linux Kernel.
- How severe is CVE-2025-71238?
- CVE-2025-71238 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.20% (6th percentile) as of Oct 24, 2026.
Recent activity
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.