CVE-2023-52785
Severity CVSS v4.0:
Pending analysis
Type:
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Publication date:
21/05/2024
Last modified:
14/01/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
scsi: ufs: core: Fix racing issue between ufshcd_mcq_abort() and ISR<br />
<br />
If command timeout happens and cq complete IRQ is raised at the same time,<br />
ufshcd_mcq_abort clears lprb->cmd and a NULL pointer deref happens in the<br />
ISR. Error log:<br />
<br />
ufshcd_abort: Device abort task at tag 18<br />
Unable to handle kernel NULL pointer dereference at virtual address<br />
0000000000000108<br />
pc : [0xffffffe27ef867ac] scsi_dma_unmap+0xc/0x44<br />
lr : [0xffffffe27f1b898c] ufshcd_release_scsi_cmd+0x24/0x114
Impact
Base Score 3.x
4.70
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.5 (including) | 6.5.13 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.6 (including) | 6.6.3 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.7:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/27900d7119c464b43cd9eac69c85884d17bae240
- https://git.kernel.org/stable/c/8f15a7e3c054d960bbd1521110700450bbf798a1
- https://git.kernel.org/stable/c/f84d461f33a6b27304d468d9cfb56c0cefdb4ee7
- https://git.kernel.org/stable/c/27900d7119c464b43cd9eac69c85884d17bae240
- https://git.kernel.org/stable/c/8f15a7e3c054d960bbd1521110700450bbf798a1
- https://git.kernel.org/stable/c/f84d461f33a6b27304d468d9cfb56c0cefdb4ee7



