CVE-2023-52785

Source
https://cve.org/CVERecord?id=CVE-2023-52785
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52785.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-52785
Downstream
Published
2024-05-21T15:31:03.040Z
Modified
2026-03-14T12:23:14.591881Z
Summary
scsi: ufs: core: Fix racing issue between ufshcd_mcq_abort() and ISR
Details

In the Linux kernel, the following vulnerability has been resolved:

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

If command timeout happens and cq complete IRQ is raised at the same time, ufshcdmcqabort clears lprb->cmd and a NULL pointer deref happens in the ISR. Error log:

ufshcdabort: Device abort task at tag 18 Unable to handle kernel NULL pointer dereference at virtual address 0000000000000108 pc : [0xffffffe27ef867ac] scsidmaunmap+0xc/0x44 lr : [0xffffffe27f1b898c] ufshcdreleasescsicmd+0x24/0x114

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52785.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f1304d4420777f82a1d844c606db3d9eca841765
Fixed
8f15a7e3c054d960bbd1521110700450bbf798a1
Fixed
f84d461f33a6b27304d468d9cfb56c0cefdb4ee7
Fixed
27900d7119c464b43cd9eac69c85884d17bae240

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52785.json"