# CVE-2023-53041: 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:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.29% (percentile 14, 2026-11-28)
- **Published:** 2025-05-02T15:54:59.210Z
- **Modified:** 2026-11-05T21:17:08.347Z

## Who should check

- Anyone running Linux \>= 31c1f455203e56a3ce8d5dd92f37c83d07bd5bd5, \< 9189f20b4c5307c0998682bb522e481b4567a8b8; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< 231cfa78ec5badd84a1a2b09465bfad1a926aba1; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< d6f7377528d2abf338e504126e44439541be8f7d; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< cd0a1804ac5bab2545ac700c8d0fe9ae9284c567; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< 415d614344a4f1bbddf55d724fc7eb9ef4b39aad; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< 0367076b0817d5c75dfb83001ce7ce5c64d803a9; 10fd34ac79b234d9bd4459c9b9c1f9d5a67f7bde; \>= 5.4.4, \< 5.4.240; \>= 5.3.17, \< 5.4
- Anyone running Linux 5.5

## Description

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

scsi: qla2xxx: Perform lockless command completion in abort path

While adding and removing the controller, the following call trace was
observed:

WARNING: CPU: 3 PID: 623596 at kernel/dma/mapping.c:532 dma\_free\_attrs+0x33/0x50
CPU: 3 PID: 623596 Comm: sh Kdump: loaded Not tainted 5.14.0-96.el9.x86\_64 \#1
RIP: 0010:dma\_free\_attrs+0x33/0x50

Call Trace:
   qla2x00\_async\_sns\_sp\_done+0x107/0x1b0 \[qla2xxx\]
   qla2x00\_abort\_srb+0x8e/0x250 \[qla2xxx\]
   ? ql\_dbg+0x70/0x100 \[qla2xxx\]
   \_\_qla2x00\_abort\_all\_cmds+0x108/0x190 \[qla2xxx\]
   qla2x00\_abort\_all\_cmds+0x24/0x70 \[qla2xxx\]
   qla2x00\_abort\_isp\_cleanup+0x305/0x3e0 \[qla2xxx\]
   qla2x00\_remove\_one+0x364/0x400 \[qla2xxx\]
   pci\_device\_remove+0x36/0xa0
   \_\_device\_release\_driver+0x17a/0x230
   device\_release\_driver+0x24/0x30
   pci\_stop\_bus\_device+0x68/0x90
   pci\_stop\_and\_remove\_bus\_device\_locked+0x16/0x30
   remove\_store+0x75/0x90
   kernfs\_fop\_write\_iter+0x11c/0x1b0
   new\_sync\_write+0x11f/0x1b0
   vfs\_write+0x1eb/0x280
   ksys\_write+0x5f/0xe0
   do\_syscall\_64+0x5c/0x80
   ? do\_user\_addr\_fault+0x1d8/0x680
   ? do\_syscall\_64+0x69/0x80
   ? exc\_page\_fault+0x62/0x140
   ? asm\_exc\_page\_fault+0x8/0x30
   entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae

The command was completed in the abort path during driver unload with a
lock held, causing the warning in abort path. Hence complete the command
without any lock held.

## Affected and fixed versions

- Linux: \>= 31c1f455203e56a3ce8d5dd92f37c83d07bd5bd5, \< 9189f20b4c5307c0998682bb522e481b4567a8b8; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< 231cfa78ec5badd84a1a2b09465bfad1a926aba1; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< d6f7377528d2abf338e504126e44439541be8f7d; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< cd0a1804ac5bab2545ac700c8d0fe9ae9284c567; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< 415d614344a4f1bbddf55d724fc7eb9ef4b39aad; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< 0367076b0817d5c75dfb83001ce7ce5c64d803a9; 10fd34ac79b234d9bd4459c9b9c1f9d5a67f7bde; \>= 5.4.4, \< 5.4.240; \>= 5.3.17, \< 5.4 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 5.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53041.md
Affected: Linux >= 31c1f455203e56a3ce8d5dd92f37c83d07bd5bd5, < 9189f20b4c5307c0998682bb522e481b4567a8b8; >= f45bca8c5052e8c59bab64ee90c44441678b9a52, < 231cfa78ec5badd84a1a2b09465bfad1a926aba1; >= f45bca8c5052e8c59bab64ee90c44441678b9a52, < d6f7377528d2abf338e504126e44439541be8f7d; >= f45bca8c5052e8c59bab64e…
Fixed in: Linux 9189f20b4c5307c0998682bb522e481b4567a8b8, Linux 231cfa78ec5badd84a1a2b09465bfad1a926aba1, Linux 415d614344a4f1bbddf55d724fc7eb9ef4b39aad, Linux 0367076b0817d5c75dfb83001ce7ce5c64d803a9, Linux 5.4.240, Linux 5.4

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-2023-53041 being exploited?

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

### How serious is CVE-2023-53041?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53041?

Linux \>= 31c1f455203e56a3ce8d5dd92f37c83d07bd5bd5, \< 9189f20b4c5307c0998682bb522e481b4567a8b8; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< 231cfa78ec5badd84a1a2b09465bfad1a926aba1; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< d6f7377528d2abf338e504126e44439541be8f7d; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< cd0a1804ac5bab2545ac700c8d0fe9ae9284c567; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< 415d614344a4f1bbddf55d724fc7eb9ef4b39aad; \>= f45bca8c5052e8c59bab64ee90c44441678b9a52, \< 0367076b0817d5c75dfb83001ce7ce5c64d803a9; 10fd34ac79b234d9bd4459c9b9c1f9d5a67f7bde; \>= 5.4.4, \< 5.4.240; \>= 5.3.17, \< 5.4; Linux 5.5.

### Is there a fix for CVE-2023-53041?

Yes. Fixed in Linux 9189f20b4c5307c0998682bb522e481b4567a8b8, Linux 231cfa78ec5badd84a1a2b09465bfad1a926aba1, Linux 415d614344a4f1bbddf55d724fc7eb9ef4b39aad, Linux 0367076b0817d5c75dfb83001ce7ce5c64d803a9, Linux 5.4.240, Linux 5.4. Upgrade Linux to 5.4 or later.

### How do I check if I'm affected by CVE-2023-53041?

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

- patch: <https://git.kernel.org/stable/c/9189f20b4c5307c0998682bb522e481b4567a8b8>
- patch: <https://git.kernel.org/stable/c/231cfa78ec5badd84a1a2b09465bfad1a926aba1>
- patch: <https://git.kernel.org/stable/c/d6f7377528d2abf338e504126e44439541be8f7d>
- patch: <https://git.kernel.org/stable/c/cd0a1804ac5bab2545ac700c8d0fe9ae9284c567>
- patch: <https://git.kernel.org/stable/c/415d614344a4f1bbddf55d724fc7eb9ef4b39aad>
- patch: <https://git.kernel.org/stable/c/0367076b0817d5c75dfb83001ce7ce5c64d803a9>

## 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-2023-53041>

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