What’s Vulnerable › Vulnerabilities
CVE-2023-52785: scsi: ufs: core: Fix racing issue between ufshcd_mcq_abort() and ISR
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-06-17
- Weakness: 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 products
- Linux kernel: from 6.5 before 6.5.13; from 6.6 before 6.6.3; 6.7-rc1 — fixed in 6.5.13, 6.6.3
How to fix
Upgrade to a fixed version: Linux kernel 6.5.13, 6.6.3. Check the vendor advisory for mitigations.
References
- 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
Get alerted when CVE-2023-52785 or the next vulnerability affects your stack