# CVE-2025-68818: scsi: Revert "scsi: qla2xxx: Perform lockless command completion in abort path"

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.49% (percentile 35, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-01-13T15:29:22.018Z
- **Modified:** 2026-11-10T13:18:02.127Z

## Who should check

- Anyone running Linux \>= 231cfa78ec5badd84a1a2b09465bfad1a926aba1, \< b04b3733fff7e94566386b962e4795550fbdfd3d; \>= d6f7377528d2abf338e504126e44439541be8f7d, \< 50b097d92c99f718831b8b349722bc79f718ba1b; \>= cd0a1804ac5bab2545ac700c8d0fe9ae9284c567, \< c5c37a821bd1708f26a9522b4a6f47b9f7a20003; \>= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, \< e9e601b7df58ba0c667baf30263331df2c02ffe1; \>= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, \< b10ebbfd59a535c8d22f4ede6e8389622ce98dc0; \>= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, \< 1c728951bc769b795d377852eae1abddad88635d; \>= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, \< b57fbc88715b6d18f379463f48a15b560b087ffe; 9189f20b4c5307c0998682bb522e481b4567a8b8; 415d614344a4f1bbddf55d724fc7eb9ef4b39aad; \>= 5.10.177, \< 5.10.248; …
- Anyone running Linux 6.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: Revert "scsi: qla2xxx: Perform lockless command completion in abort path"

This reverts commit 0367076b0817d5c75dfb83001ce7ce5c64d803a9.

The commit being reverted added code to \_\_qla2x00\_abort\_all\_cmds() to
call sp-\>done() without holding a spinlock.  But unlike the older code
below it, this new code failed to check sp-\>cmd\_type and just assumed
TYPE\_SRB, which results in a jump to an invalid pointer in target-mode
with TYPE\_TGT\_CMD:

qla2xxx \[0000:65:00.0\]-d034:8: qla24xx\_do\_nack\_work create sess success
  0000000009f7a79b
qla2xxx \[0000:65:00.0\]-5003:8: ISP System Error - mbx1=1ff5h mbx2=10h
  mbx3=0h mbx4=0h mbx5=191h mbx6=0h mbx7=0h.
qla2xxx \[0000:65:00.0\]-d01e:8: -\> fwdump no buffer
qla2xxx \[0000:65:00.0\]-f03a:8: qla\_target(0): System error async event
  0x8002 occurred
qla2xxx \[0000:65:00.0\]-00af:8: Performing ISP error recovery -
  ha=0000000058183fda.
BUG: kernel NULL pointer dereference, address: 0000000000000000
PF: supervisor instruction fetch in kernel mode
PF: error\_code(0x0010) - not-present page
PGD 0 P4D 0
Oops: 0010 \[\#1\] SMP
CPU: 2 PID: 9446 Comm: qla2xxx\_8\_dpc Tainted: G           O       6.1.133 \#1
Hardware name: Supermicro Super Server/X11SPL-F, BIOS 4.2 12/15/2023
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90001f93dc8 EFLAGS: 00010206
RAX: 0000000000000282 RBX: 0000000000000355 RCX: ffff88810d16a000
RDX: ffff88810dbadaa8 RSI: 0000000000080000 RDI: ffff888169dc38c0
RBP: ffff888169dc38c0 R08: 0000000000000001 R09: 0000000000000045
R10: ffffffffa034bdf0 R11: 0000000000000000 R12: ffff88810800bb40
R13: 0000000000001aa8 R14: ffff888100136610 R15: ffff8881070f7400
FS:  0000000000000000(0000) GS:ffff88bf80080000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000010c8ff006 CR4: 00000000003706e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
 ? \_\_die+0x4d/0x8b
 ? page\_fault\_oops+0x91/0x180
 ? trace\_buffer\_unlock\_commit\_regs+0x38/0x1a0
 ? exc\_page\_fault+0x391/0x5e0
 ? asm\_exc\_page\_fault+0x22/0x30
 \_\_qla2x00\_abort\_all\_cmds+0xcb/0x3e0 \[qla2xxx\_scst\]
 qla2x00\_abort\_all\_cmds+0x50/0x70 \[qla2xxx\_scst\]
 qla2x00\_abort\_isp\_cleanup+0x3b7/0x4b0 \[qla2xxx\_scst\]
 qla2x00\_abort\_isp+0xfd/0x860 \[qla2xxx\_scst\]
 qla2x00\_do\_dpc+0x581/0xa40 \[qla2xxx\_scst\]
 kthread+0xa8/0xd0
 \</TASK\>

Then commit 4475afa2646d ("scsi: qla2xxx: Complete command early within
lock") added the spinlock back, because not having the lock caused a
race and a crash.  But qla2x00\_abort\_srb() in the switch below already
checks for qla2x00\_chip\_is\_down() and handles it the same way, so the
code above the switch is now redundant and still buggy in target-mode.
Remove it.

## Affected and fixed versions

- Linux: \>= 231cfa78ec5badd84a1a2b09465bfad1a926aba1, \< b04b3733fff7e94566386b962e4795550fbdfd3d; \>= d6f7377528d2abf338e504126e44439541be8f7d, \< 50b097d92c99f718831b8b349722bc79f718ba1b; \>= cd0a1804ac5bab2545ac700c8d0fe9ae9284c567, \< c5c37a821bd1708f26a9522b4a6f47b9f7a20003; \>= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, \< e9e601b7df58ba0c667baf30263331df2c02ffe1; \>= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, \< b10ebbfd59a535c8d22f4ede6e8389622ce98dc0; \>= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, \< 1c728951bc769b795d377852eae1abddad88635d; \>= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, \< b57fbc88715b6d18f379463f48a15b560b087ffe; 9189f20b4c5307c0998682bb522e481b4567a8b8; 415d614344a4f1bbddf55d724fc7eb9ef4b39aad; \>= 5.10.177, \< 5.10.248; … (cvelist)
- Linux: 6.3 (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-68818. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68818.md
Affected: Linux >= 231cfa78ec5badd84a1a2b09465bfad1a926aba1, < b04b3733fff7e94566386b962e4795550fbdfd3d; >= d6f7377528d2abf338e504126e44439541be8f7d, < 50b097d92c99f718831b8b349722bc79f718ba1b; >= cd0a1804ac5bab2545ac700c8d0fe9ae9284c567, < c5c37a821bd1708f26a9522b4a6f47b9f7a20003; >= 0367076b0817d5c75dfb830…
Fixed in: Linux 50b097d92c99f718831b8b349722bc79f718ba1b, Linux 1c728951bc769b795d377852eae1abddad88635d, Linux 5.10.248

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-68818 being exploited?

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

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

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 231cfa78ec5badd84a1a2b09465bfad1a926aba1, \< b04b3733fff7e94566386b962e4795550fbdfd3d; \>= d6f7377528d2abf338e504126e44439541be8f7d, \< 50b097d92c99f718831b8b349722bc79f718ba1b; \>= cd0a1804ac5bab2545ac700c8d0fe9ae9284c567, \< c5c37a821bd1708f26a9522b4a6f47b9f7a20003; \>= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, \< e9e601b7df58ba0c667baf30263331df2c02ffe1; \>= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, \< b10ebbfd59a535c8d22f4ede6e8389622ce98dc0; \>= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, \< 1c728951bc769b795d377852eae1abddad88635d; \>= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, \< b57fbc88715b6d18f379463f48a15b560b087ffe; 9189f20b4c5307c0998682bb522e481b4567a8b8; 415d614344a4f1bbddf55d724fc7eb9ef4b39aad; \>= 5.10.177, \< 5.10.248; …; Linux 6.3.

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

Yes. Fixed in Linux 50b097d92c99f718831b8b349722bc79f718ba1b, Linux 1c728951bc769b795d377852eae1abddad88635d, Linux 5.10.248. No fix listed yet: follow the vendor advisory.

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

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/b04b3733fff7e94566386b962e4795550fbdfd3d>
- other: <https://git.kernel.org/stable/c/50b097d92c99f718831b8b349722bc79f718ba1b>
- other: <https://git.kernel.org/stable/c/c5c37a821bd1708f26a9522b4a6f47b9f7a20003>
- other: <https://git.kernel.org/stable/c/e9e601b7df58ba0c667baf30263331df2c02ffe1>
- other: <https://git.kernel.org/stable/c/b10ebbfd59a535c8d22f4ede6e8389622ce98dc0>
- other: <https://git.kernel.org/stable/c/1c728951bc769b795d377852eae1abddad88635d>
- other: <https://git.kernel.org/stable/c/b57fbc88715b6d18f379463f48a15b560b087ffe>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

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

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