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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.89% (percentile 57, 2026-11-26)
- **Published:** 2025-12-24T12:09:41.517Z
- **Modified:** 2026-10-30T13:18:23.077Z

## Who should check

- Anyone running Linux \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< e87e9f92d7735895b7dd97f53dce6d95d08cf29c; \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< 0d0a1a267c1ee7c41aeffdca84afcb113787a91a; \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< c82c0fbb97d0fd44324eb55ab758408c7c964b32; \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< 5c1fb3fd05da3d55b8cbc42d7d660b313cbdc936; \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< d46c69a087aa3d1513f7a78f871b80251ea0c1ae; eb67b7a23d357f578578e737cb6412ae2384f352; ec9639d92c1e10d4bc667e842753d85e21683d5c; e6e957f552d5b696879a31e5b0e2a9120e1ea86e; \>= 4.9.316, \< 4.10; \>= 4.14.281, \< 4.15; …
- Anyone running Linux 5.2

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

## Affected and fixed versions

- Linux: \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< e87e9f92d7735895b7dd97f53dce6d95d08cf29c; \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< 0d0a1a267c1ee7c41aeffdca84afcb113787a91a; \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< c82c0fbb97d0fd44324eb55ab758408c7c964b32; \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< 5c1fb3fd05da3d55b8cbc42d7d660b313cbdc936; \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< d46c69a087aa3d1513f7a78f871b80251ea0c1ae; eb67b7a23d357f578578e737cb6412ae2384f352; ec9639d92c1e10d4bc667e842753d85e21683d5c; e6e957f552d5b696879a31e5b0e2a9120e1ea86e; \>= 4.9.316, \< 4.10; \>= 4.14.281, \< 4.15; … (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68745. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68745.md
Affected: Linux >= aefed3e5548f28e5fecafda6604fcbc65484dbaa, < e87e9f92d7735895b7dd97f53dce6d95d08cf29c; >= aefed3e5548f28e5fecafda6604fcbc65484dbaa, < 0d0a1a267c1ee7c41aeffdca84afcb113787a91a; >= aefed3e5548f28e5fecafda6604fcbc65484dbaa, < c82c0fbb97d0fd44324eb55ab758408c7c964b32; >= aefed3e5548f28e5fecafda…
Fixed in: Linux 0d0a1a267c1ee7c41aeffdca84afcb113787a91a, Linux 5c1fb3fd05da3d55b8cbc42d7d660b313cbdc936, Linux 4.10, Linux 4.15

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68745 being exploited?

There is no confirmed exploitation: CVE-2025-68745 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.89% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68745?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-68745?

Linux \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< e87e9f92d7735895b7dd97f53dce6d95d08cf29c; \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< 0d0a1a267c1ee7c41aeffdca84afcb113787a91a; \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< c82c0fbb97d0fd44324eb55ab758408c7c964b32; \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< 5c1fb3fd05da3d55b8cbc42d7d660b313cbdc936; \>= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \< d46c69a087aa3d1513f7a78f871b80251ea0c1ae; eb67b7a23d357f578578e737cb6412ae2384f352; ec9639d92c1e10d4bc667e842753d85e21683d5c; e6e957f552d5b696879a31e5b0e2a9120e1ea86e; \>= 4.9.316, \< 4.10; \>= 4.14.281, \< 4.15; …; Linux 5.2.

### Is there a fix for CVE-2025-68745?

Yes. Fixed in Linux 0d0a1a267c1ee7c41aeffdca84afcb113787a91a, Linux 5c1fb3fd05da3d55b8cbc42d7d660b313cbdc936, Linux 4.10, Linux 4.15. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68745?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68745>

HTML: <https://flawdb.com/CVE-2025-68745> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68745>
