{"id":"CVE-2023-52515","published":"2024-03-02T21:52:25Z","modified":"2026-08-05T09:10:20Z","title":"RDMA/srp: Do not call scsi_done() from srp_abort()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00868,"percentile":0.5634,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/26788a5b48d9d5cd3283d777d238631c8cd7495a","tags":[]},{"url":"https://git.kernel.org/stable/c/b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5","tags":[]},{"url":"https://git.kernel.org/stable/c/2b298f9181582270d5e95774e5a6c7a7fb5b1206","tags":[]},{"url":"https://git.kernel.org/stable/c/05a10b316adaac1f322007ca9a0383b410d759cc","tags":[]},{"url":"https://git.kernel.org/stable/c/e193b7955dfad68035b983a0011f4ef3590c85eb","tags":[]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":11.27},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d8536670916a685df116b5c2cb256573fd25e4e3, < 26788a5b48d9d5cd3283d777d238631c8cd7495a",">= d8536670916a685df116b5c2cb256573fd25e4e3, < b9bdffb3f9aaeff8379c83f5449c6b42cb71c2b5",">= d8536670916a685df116b5c2cb256573fd25e4e3, < 2b298f9181582270d5e95774e5a6c7a7fb5b1206",">= d8536670916a685df116b5c2cb256573fd25e4e3, < 05a10b316adaac1f322007ca9a0383b410d759cc",">= d8536670916a685df116b5c2cb256573fd25e4e3, < e193b7955dfad68035b983a0011f4ef3590c85eb","738589592a04180e39b6fb5fe8205d85b7dc69f6","0575df129e2eb4a801beae0e6e041787480f42b9","22fb582405002812d8fb89d0ed1264e97d3d25ad","39d6594c457c4728794cb4c3c7be53f93f1ef3ae","b3f3b814add77a464911df0080d812b18f61ff38"]},{"vendor":"Linux","product":"Linux","versions":["3.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:56:46.822904Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-57140","exploited":false,"provenance":"source"}}