{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52515","id":"CVE-2023-52515","title":"RDMA/srp: Do not call scsi_done() from srp_abort()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/srp: Do not call scsi_done() from srp_abort()\n\nAfter scmd_eh_abort_handler() has called the SCSI LLD eh_abort_handler\ncallback, it performs one of the following actions:\n* Call scsi_queue_insert().\n* Call scsi_finish_command().\n* Call scsi_eh_scmd_add().\nHence, SCSI abort handlers must not call scsi_done(). Otherwise all\nthe","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/srp: Do not call scsi_done() from srp_abort()\n\nAfter scmd_eh_abort_handler() has called the SCSI LLD eh_abort_handler\ncallback, it performs one of the following actions:\n* Call scsi_queue_insert().\n* Call scsi_finish_command().\n* Call scsi_eh_scmd_add().\nHence, SCSI abort handlers must not call scsi_done(). Otherwise all\nthe above actions would trigger a use-after-free. Hence remove the\nscsi_done() call from srp_abort(). Keep the srp_free_req() call\nbefore returning SUCCESS because we may not see the command again if\nSUCCESS is returned.","published":"2024-03-02T21:52:25.863Z","updated":"2026-11-17T07:01:21.769935436Z","reserved":"2024-02-20T12:30:33.316Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d8536670916a685df116b5c2cb256573fd25e4e3","lessThan":"26788a5b48d9d5cd3283d777d238631c8cd7495a","status":"affected","versionType":"git"},{"version":"d8536670916a685df116b5c2cb256573fd25e4e3","lessThan":"b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5","status":"affected","versionType":"git"},{"version":"d8536670916a685df116b5c2cb256573fd25e4e3","lessThan":"2b298f9181582270d5e95774e5a6c7a7fb5b1206","status":"affected","versionType":"git"},{"version":"d8536670916a685df116b5c2cb256573fd25e4e3","lessThan":"05a10b316adaac1f322007ca9a0383b410d759cc","status":"affected","versionType":"git"},{"version":"d8536670916a685df116b5c2cb256573fd25e4e3","lessThan":"e193b7955dfad68035b983a0011f4ef3590c85eb","status":"affected","versionType":"git"},{"version":"738589592a04180e39b6fb5fe8205d85b7dc69f6","status":"affected","versionType":"git"},{"version":"0575df129e2eb4a801beae0e6e041787480f42b9","status":"affected","versionType":"git"},{"version":"22fb582405002812d8fb89d0ed1264e97d3d25ad","status":"affected","versionType":"git"},{"version":"39d6594c457c4728794cb4c3c7be53f93f1ef3ae","status":"affected","versionType":"git"},{"version":"b3f3b814add77a464911df0080d812b18f61ff38","status":"affected","versionType":"git"},{"version":"3.0.45","lessThan":"3.1","status":"affected","versionType":"semver"},{"version":"3.2.32","lessThan":"3.3","status":"affected","versionType":"semver"},{"version":"3.4.13","lessThan":"3.5","status":"affected","versionType":"semver"},{"version":"3.5.6","lessThan":"3.6","status":"affected","versionType":"semver"},{"version":"3.6.1","lessThan":"3.7","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","lessThan":"3.7","status":"unaffected","versionType":"semver"},{"version":"5.10.199","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.136","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.57","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.5.7","lessThanOrEqual":"6.5.*","status":"unaffected","versionType":"semver"},{"version":"6.6","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/26788a5b48d9d5cd3283d777d238631c8cd7495a","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/2b298f9181582270d5e95774e5a6c7a7fb5b1206","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/05a10b316adaac1f322007ca9a0383b410d759cc","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/e193b7955dfad68035b983a0011f4ef3590c85eb","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52515.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52515","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00689,"epssPercentile":0.53691,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52515","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52515","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52515","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-52515","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}