CVE-2023-53041

scsi: qla2xxx: Perform lockless command completion in abort path

MEDIUM
5.5
CVSS Score
Published: May 2, 2025 at 03:54 PM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.3.17v < 5.4.2405.11 ≤ v < 5.15.1055.16 ≤ v < 6.1.225.3.17 ≤ v < 5.45.4.4 ≤ v < 5.4.2405.5 ≤ v < 5.10.1775.5 ≤ v < 5.15.1055.5 ≤ v < 6.1.225.5 ≤ v < 6.2.95.5 ≤ v < 6.36.2 ≤ v < 6.2.910fd34ac79b234d9bd4459c9b9c1f9d5a67f7bde31c1f455203e56a3ce8d5dd92f37c83d07bd5bd55.3.175.4.45.56.3 rc16.3 rc26.3 rc3f45bca8c5052e8c59bab64ee90c44441678b9a52
Vendor states this is fixed in 231cfa78ec5badd84a1a2b09465bfad1a926aba1 (fixed)
Vendor states this is fixed in 367076b817d5c75dfb83001ce7ce5c64d803a9 (fixed)
Vendor states this is fixed in 415d614344a4f1bbddf55d724fc7eb9ef4b39aad (fixed)
Vendor states this is fixed in 9189f20b4c5307c0998682bb522e481b4567a8b8 (fixed)
Vendor states this is fixed in cd0a1804ac5bab2545ac700c8d0fe9ae9284c567 (fixed)
Vendor states this is fixed in d6f7377528d2abf338e504126e44439541be8f7d (fixed)
Vendor states this is fixed in 5.10.177 (unaffected)
Vendor states this is fixed in 5.15.105 (unaffected)
Affected range stops below 5.4, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.4.240 (unaffected)
Vendor states this is fixed in 5.5 (unaffected)
Vendor states this is fixed in 6.1.22 (unaffected)
Vendor states this is fixed in 6.2.9 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0367076b0817d5c75dfb83001ce7ce5c64d803a9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/231cfa78ec5badd84a1a2b09465bfad1a926aba1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/415d614344a4f1bbddf55d724fc7eb9ef4b39aad
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9189f20b4c5307c0998682bb522e481b4567a8b8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cd0a1804ac5bab2545ac700c8d0fe9ae9284c567
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d6f7377528d2abf338e504126e44439541be8f7d

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card