CVE-2023-52515
RDMA/srp: Do not call scsi_done() from srp_abort()
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= d8536670916a685df116b5c2cb256573fd25e4e3, < 26788a5b48d9d5cd3283d777d238631c8cd7495a; >= d8536670916a685df116b5c2cb256573fd25e4e3, < b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5; >= d8536670916a685df116b5c2cb256573fd25e4e3, < 2b298f9181582270d5e95774e5a6c7a7fb5b1206; >= d8536670916a685df116b5c2cb256573fd25e4e3, < 05a10b316adaac1f322007ca9a0383b410d759cc; >= d8536670916a685df116b5c2cb256573fd25e4e3, < e193b7955dfad68035b983a0011f4ef3590c85eb; 738589592a04180e39b6fb5fe8205d85b7dc69f6; 0575df129e2eb4a801beae0e6e041787480f42b9; 22fb582405002812d8fb89d0ed1264e97d3d25ad; 39d6594c457c4728794cb4c3c7be53f93f1ef3ae; b3f3b814add77a464911df0080d812b18f61ff38; …; Linux 3.7
- Fixed in
- Linux 26788a5b48d9d5cd3283d777d238631c8cd7495a, Linux 2b298f9181582270d5e95774e5a6c7a7fb5b1206, Linux 05a10b316adaac1f322007ca9a0383b410d759cc
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.87% chance of exploitation in 30 days (percentile 56, 2026-11-26)
- CWE
- CWE-416
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d8536670916a685df116b5c2cb256573fd25e4e3, < 26788a5b48d9d5cd3283d777d238631c8cd7495a; >= d8536670916a685df116b5c2cb256573fd25e4e3, < b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5; >= d8536670916a685df116b5c2cb256573fd25e4e3, < 2b298f9181582270d5e95774e5a6c7a7fb5b1206; >= d8536670916a685df116b5c2cb256573fd25e4e3, < 05a10b316adaac1f322007ca9a0383b410d759cc; >= d8536670916a685df116b5c2cb256573fd25e4e3, < e193b7955dfad68035b983a0011f4ef3590c85eb; 738589592a04180e39b6fb5fe8205d85b7dc69f6; 0575df129e2eb4a801beae0e6e041787480f42b9; 22fb582405002812d8fb89d0ed1264e97d3d25ad; 39d6594c457c4728794cb4c3c7be53f93f1ef3ae; b3f3b814add77a464911df0080d812b18f61ff38; … | — | cvelist |
| Linux | 3.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- https://git.kernel.org/stable/c/26788a5b48d9d5cd3283d777d238631c8cd7495a
- https://git.kernel.org/stable/c/b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5
- https://git.kernel.org/stable/c/2b298f9181582270d5e95774e5a6c7a7fb5b1206
- https://git.kernel.org/stable/c/05a10b316adaac1f322007ca9a0383b410d759cc
- https://git.kernel.org/stable/c/e193b7955dfad68035b983a0011f4ef3590c85eb
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-26).
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.