# CVE-2023-52515: RDMA/srp: Do not call scsi_done() from srp_abort()

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Published: 2024-03-02T21:52:25.863Z
- Modified: 2026-08-05T09:10:20.389Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from d8536670916a685df116b5c2cb256573fd25e4e3 before 26788a5b48d9d5cd3283d777d238631c8cd7495a; from d8536670916a685df116b5c2cb256573fd25e4e3 before b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5; from d8536670916a685df116b5c2cb256573fd25e4e3 before 2b298f9181582270d5e95774e5a6c7a7fb5b1206; from d8536670916a685df116b5c2cb256573fd25e4e3 before 05a10b316adaac1f322007ca9a0383b410d759cc; from d8536670916a685df116b5c2cb256573fd25e4e3 before e193b7955dfad68035b983a0011f4ef3590c85eb; 738589592a04180e39b6fb5fe8205d85b7dc69f6; 0575df129e2eb4a801beae0e6e041787480f42b9; 22fb582405002812d8fb89d0ed1264e97d3d25ad; 39d6594c457c4728794cb4c3c7be53f93f1ef3ae; b3f3b814add77a464911df0080d812b18f61ff38; from 3.0.45 before 3.1; from 3.2.32 before 3.3; and 4 more (not affected: before 3.7; from 5.10.199 up to 5.10.*; from 5.15.136 up to 5.15.*; from 6.1.57 up to 6.1.*; from 6.5.7 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 3.7 before 5.10.199; from 5.11 before 5.15.136; from 5.16 before 6.1.57; from 6.2 before 6.5.7; 6.6

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/26788a5b48d9d5cd3283d777d238631c8cd7495a> (patch)
- <https://git.kernel.org/stable/c/b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5> (patch)
- <https://git.kernel.org/stable/c/2b298f9181582270d5e95774e5a6c7a7fb5b1206> (patch)
- <https://git.kernel.org/stable/c/05a10b316adaac1f322007ca9a0383b410d759cc> (patch)
- <https://git.kernel.org/stable/c/e193b7955dfad68035b983a0011f4ef3590c85eb> (patch)

## Sources

- CVE List: [CVE-2023-52515](https://www.cve.org/CVERecord?id=CVE-2023-52515), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-52515](https://nvd.nist.gov/vuln/detail/CVE-2023-52515), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-52515 · Whole record: https://cve.day/CVE-2023-52515.json · Rebuilt by cve.day 2026-11-25T22:58:33.159Z
