CVE-2023-52785

published 21 May 2024 · updated 11 May 2026

scsi: ufs: core: Fix racing issue between ufshcd_mcq_abort() and ISR

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 27900d7119c464b43cd9eac69c85884d17bae240, Kernel 8f15a7e3c054d960bbd1521110700450bbf798a1 and Kernel f84d461f33a6b27304d468d9cfb56c0cefdb4ee7.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.5, >=f1304d4420777f82a1d844c606db3d9eca841765 <27900d7119c464b43cd9eac69c85884d17bae240, >=f1304d4420777f82a1d844c606db3d9eca841765 <8f15a7e3c054d960bbd1521110700450bbf798a1, >=f1304d4420777f82a1d844c606db3d9eca841765 <f84d461f33a6b27304d468d9cfb56c0cefdb4ee727900d7119c464b43cd9eac69c85884d17bae240, 8f15a7e3c054d960bbd1521110700450bbf798a1, f84d461f33a6b27304d468d9cfb56c0cefdb4ee7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52785 severity on Zeptric[![CVE-2023-52785](https://zeptric.io/badge/cve/CVE-2023-52785.svg)](https://zeptric.io/cve/CVE-2023-52785)