CVE-2023-52515

HIGH

Linux Kernel 3.7-5.10.199 - Use-After-Free in RDMA/srp Abort Handler

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0023
EPSS Percentile 13.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (24)
Linux/Linux < 3.7
Linux/Linux 0575df129e2eb4a801beae0e6e041787480f42b9
Linux/Linux 22fb582405002812d8fb89d0ed1264e97d3d25ad
Linux/Linux 3.0.45 - 3.1
Linux/Linux 3.2.32 - 3.3
Linux/Linux 3.4.13 - 3.5
Linux/Linux 3.5.6 - 3.6
Linux/Linux 3.6.1 - 3.7
Linux/Linux 3.7
Linux/Linux 39d6594c457c4728794cb4c3c7be53f93f1ef3ae
... and 14 more
Published Mar 02, 2024
Tracked Since Feb 18, 2026