# CVE-2025-68745: scsi: qla2xxx: Clear cmds after chip reset

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2025-12-24T12:09:41.517Z
- Modified: 2026-10-30T13:18:23.077Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## Description

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. BUG_ON(cmd->sg_mapped) in qlt_free_cmd().  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
   qlt_unmap_sg() at the same time: BUG_ON(!valid_dma_direction(dir)) in
   dma_unmap_sg_attrs().

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 __qla2x00_abort_all_cmds.

(As written by CVE List.)

## Affected

- Linux Linux: from aefed3e5548f28e5fecafda6604fcbc65484dbaa before e87e9f92d7735895b7dd97f53dce6d95d08cf29c; from aefed3e5548f28e5fecafda6604fcbc65484dbaa before 0d0a1a267c1ee7c41aeffdca84afcb113787a91a; from aefed3e5548f28e5fecafda6604fcbc65484dbaa before c82c0fbb97d0fd44324eb55ab758408c7c964b32; from aefed3e5548f28e5fecafda6604fcbc65484dbaa before 5c1fb3fd05da3d55b8cbc42d7d660b313cbdc936; from aefed3e5548f28e5fecafda6604fcbc65484dbaa before d46c69a087aa3d1513f7a78f871b80251ea0c1ae; eb67b7a23d357f578578e737cb6412ae2384f352; ec9639d92c1e10d4bc667e842753d85e21683d5c; e6e957f552d5b696879a31e5b0e2a9120e1ea86e; from 4.9.316 before 4.10; from 4.14.281 before 4.15; from 4.19.245 before 4.20; 5.2 (not affected: before 5.2; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.2 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/e87e9f92d7735895b7dd97f53dce6d95d08cf29c>
- <https://git.kernel.org/stable/c/0d0a1a267c1ee7c41aeffdca84afcb113787a91a>
- <https://git.kernel.org/stable/c/c82c0fbb97d0fd44324eb55ab758408c7c964b32>
- <https://git.kernel.org/stable/c/5c1fb3fd05da3d55b8cbc42d7d660b313cbdc936>
- <https://git.kernel.org/stable/c/d46c69a087aa3d1513f7a78f871b80251ea0c1ae>

## Sources

- CVE List: [CVE-2025-68745](https://www.cve.org/CVERecord?id=CVE-2025-68745), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2025-68745](https://nvd.nist.gov/vuln/detail/CVE-2025-68745), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2025-68745 · Whole record: https://cve.day/CVE-2025-68745.json · Rebuilt by cve.day 2026-11-25T22:59:09.906Z
