# CVE-2023-52515: RDMA/srp: Do not call scsi\_done() from srp\_abort()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.87% (percentile 56, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2024-03-02T21:52:25.863Z
- **Modified:** 2026-08-05T09:10:20.389Z

## Who should check

- Anyone running Linux \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< 26788a5b48d9d5cd3283d777d238631c8cd7495a; \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5; \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< 2b298f9181582270d5e95774e5a6c7a7fb5b1206; \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< 05a10b316adaac1f322007ca9a0383b410d759cc; \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< e193b7955dfad68035b983a0011f4ef3590c85eb; 738589592a04180e39b6fb5fe8205d85b7dc69f6; 0575df129e2eb4a801beae0e6e041787480f42b9; 22fb582405002812d8fb89d0ed1264e97d3d25ad; 39d6594c457c4728794cb4c3c7be53f93f1ef3ae; b3f3b814add77a464911df0080d812b18f61ff38; …
- Anyone running Linux 3.7

## 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 and fixed versions

- Linux: \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< 26788a5b48d9d5cd3283d777d238631c8cd7495a; \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5; \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< 2b298f9181582270d5e95774e5a6c7a7fb5b1206; \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< 05a10b316adaac1f322007ca9a0383b410d759cc; \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< e193b7955dfad68035b983a0011f4ef3590c85eb; 738589592a04180e39b6fb5fe8205d85b7dc69f6; 0575df129e2eb4a801beae0e6e041787480f42b9; 22fb582405002812d8fb89d0ed1264e97d3d25ad; 39d6594c457c4728794cb4c3c7be53f93f1ef3ae; b3f3b814add77a464911df0080d812b18f61ff38; … (cvelist)
- Linux: 3.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-52515.md
Affected: Linux >= d8536670916a685df116b5c2cb256573fd25e4e3, < 26788a5b48d9d5cd3283d777d238631c8cd7495a; >= d8536670916a685df116b5c2cb256573fd25e4e3, < b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5; >= d8536670916a685df116b5c2cb256573fd25e4e3, < 2b298f9181582270d5e95774e5a6c7a7fb5b1206; >= d8536670916a685df116b5c…
Fixed in: Linux 26788a5b48d9d5cd3283d777d238631c8cd7495a, Linux 2b298f9181582270d5e95774e5a6c7a7fb5b1206, Linux 05a10b316adaac1f322007ca9a0383b410d759cc

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-52515 being exploited?

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< 26788a5b48d9d5cd3283d777d238631c8cd7495a; \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5; \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< 2b298f9181582270d5e95774e5a6c7a7fb5b1206; \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< 05a10b316adaac1f322007ca9a0383b410d759cc; \>= d8536670916a685df116b5c2cb256573fd25e4e3, \< e193b7955dfad68035b983a0011f4ef3590c85eb; 738589592a04180e39b6fb5fe8205d85b7dc69f6; 0575df129e2eb4a801beae0e6e041787480f42b9; 22fb582405002812d8fb89d0ed1264e97d3d25ad; 39d6594c457c4728794cb4c3c7be53f93f1ef3ae; b3f3b814add77a464911df0080d812b18f61ff38; …; Linux 3.7.

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

Yes. Fixed in Linux 26788a5b48d9d5cd3283d777d238631c8cd7495a, Linux 2b298f9181582270d5e95774e5a6c7a7fb5b1206, Linux 05a10b316adaac1f322007ca9a0383b410d759cc. No fix listed yet: follow the vendor advisory.

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

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/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>

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

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