CVE-2023-52515

RDMA/srp: Do not call scsi_done() from srp_abort()

HIGH
7.8
CVSS Score
Published: March 2, 2024 at 09:52 PM UTC
Updated: August 5, 2026 at 09:25 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
HIGH7.8
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/srp: Do not call scsi_done() from srp_abort() After scmd_eh_abort_handler() has called the SCSI LLD eh_abort_handler callback, it performs one of the following actions: * Call scsi_queue_insert(). * Call scsi_finish_command(). * Call scsi_eh_scmd_add(). Hence, SCSI abort handlers must not call scsi_done(). Otherwise all the above actions would trigger a use-after-free. Hence remove the scsi_done() call from srp_abort(). Keep the srp_free_req() call before returning SUCCESS because we may not see the command again if SUCCESS is returned.

Affected

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

v ≥ 3.0.45v ≥ 3.2.32v ≥ 3.4.13v ≥ 3.5.6v ≥ 3.6.13.0.45 ≤ v < 3.13.2.32 ≤ v < 3.33.4.13 ≤ v < 3.53.5.6 ≤ v < 3.63.6.1 ≤ v < 3.73.7 ≤ v < 5.10.1993.7 ≤ v < 5.15.1363.7 ≤ v < 6.1.573.7 ≤ v < 6.5.73.7 ≤ v < 6.65.11 ≤ v < 5.15.1365.16 ≤ v < 6.1.576.2 ≤ v < 6.5.722fb582405002812d8fb89d0ed1264e97d3d25ad3.0.453.2.323.4.133.5.63.6.139d6594c457c4728794cb4c3c7be53f93f1ef3ae575df129e2eb4a801beae0e6e41787480f42b96.6 rc16.6 rc26.6 rc36.6 rc4738589592a04180e39b6fb5fe8205d85b7dc69f6b3f3b814add77a464911df0080d812b18f61ff38d8536670916a685df116b5c2cb256573fd25e4e3
Vendor states this is fixed in 05a10b316adaac1f322007ca9a0383b410d759cc (fixed)
Vendor states this is fixed in 26788a5b48d9d5cd3283d777d238631c8cd7495a (fixed)
Vendor states this is fixed in 2b298f9181582270d5e95774e5a6c7a7fb5b1206 (fixed)
Vendor states this is fixed in b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5 (fixed)
Vendor states this is fixed in e193b7955dfad68035b983a0011f4ef3590c85eb (fixed)
Affected range stops below 3.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.6, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 3.7 (unaffected)
Vendor states this is fixed in 5.10.199 (unaffected)
Vendor states this is fixed in 5.15.136 (unaffected)
Vendor states this is fixed in 6.1.57 (unaffected)
Vendor states this is fixed in 6.5.7 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/05a10b316adaac1f322007ca9a0383b410d759cc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/26788a5b48d9d5cd3283d777d238631c8cd7495a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2b298f9181582270d5e95774e5a6c7a7fb5b1206
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e193b7955dfad68035b983a0011f4ef3590c85eb

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

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

Quick Info

StatusMODIFIED
CWE
CWE-416

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