CVEvulnerability
CVE-2023-52785
4.7 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 4.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-362
Description
In the Linux kernel, the following vulnerability has been resolved:
scsi: ufs: core: Fix racing issue between ufshcd_mcq_abort() and ISR
If command timeout happens and cq complete IRQ is raised at the same time,
ufshcd_mcq_abort clears lprb->cmd and a NULL pointer deref happens in the
ISR. Error log:
ufshcd_abort: Device abort task at tag 18
Unable to handle kernel NULL pointer dereference at virtual address
0000000000000108
pc : [0xffffffe27ef867ac] scsi_dma_unmap+0xc/0x44
lr : [0xffffffe27f1b898c] ufshcd_release_scsi_cmd+0x24/0x114
Affected configurations
• linux linux kernel (>= 6.5 < 6.5.13)
• linux linux kernel (>= 6.6 < 6.6.3)
• linux linux kernel 6.7
Related
Weakness · CWE (1)
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
References
- https://git.kernel.org/stable/c/27900d7119c464b43cd9eac69c85884d17bae240 Patch
- https://git.kernel.org/stable/c/8f15a7e3c054d960bbd1521110700450bbf798a1 Patch
- https://git.kernel.org/stable/c/f84d461f33a6b27304d468d9cfb56c0cefdb4ee7 Patch
- https://git.kernel.org/stable/c/27900d7119c464b43cd9eac69c85884d17bae240 Patch
- https://git.kernel.org/stable/c/8f15a7e3c054d960bbd1521110700450bbf798a1 Patch
- https://git.kernel.org/stable/c/f84d461f33a6b27304d468d9cfb56c0cefdb4ee7 Patch