CVE-2025-68745: scsi: qla2xxx: Clear cmds after chip reset
In the Linux kernel, the following vulnerability has been resolved:
scsi: qla2xxx: Clear cmds after chip reset
Commit aefed3e5548f ("scsi: qla2xxx: target: Fix offline port handling and host reset handling") caused two problems:
1. Commands sent to FW, after chip reset got stuck and never freed as FW is not going to respond to them anymore.
2. BUGON(cmd->sgmapped) in qltfreecmd(). Commit 26f9ce53817a ("scsi: qla2xxx: Fix missed DMA unmap for aborted commands") attempted to fix this, but introduced another bug under different circumstances when two different CPUs were racing to call qltunmapsg() at the same time: BUGON(!validdmadirection(dir)) in dmaunmapsgattrs().
So revert "scsi: qla2xxx: Fix missed DMA unmap for aborted commands" and partially revert "scsi: qla2xxx: target: Fix offline port handling and host reset handling" at qla2x00abortallcmds.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-68745?
CVE-2025-68745 is classified as a high severity vulnerability due to potential denial of service after chip reset.
How do I fix CVE-2025-68745?
To fix CVE-2025-68745, apply the latest kernel patch that addresses the vulnerabilities in the qla2xxx SCSI driver.
What systems are affected by CVE-2025-68745?
CVE-2025-68745 affects the Linux kernel version corresponding to commit aefed3e5548f that utilizes the qla2xxx driver.
What types of issues does CVE-2025-68745 cause?
CVE-2025-68745 can cause commands to get stuck, leading to operational disruptions in systems using the affected SCSI hardware.
Is CVE-2025-68745 exploitable remotely?
CVE-2025-68745 may be exploited remotely if an attacker sends specific commands after a chip reset, impacting the stability of the system.