4.7medium
scsi: ufs: core: Fix racing issue between ufshcd_mcq_abort() and ISR
- Severity
- 4.7medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from f1304d4420777f82a1d844c606db3d9eca841765 before 8f15a7e3c054d960bbd1521110700450bbf798a1, from f1304d4420777f82a1d844c606db3d9eca841765 before f84d461f33a6b27304d468d9cfb56c0cefdb4ee7, from f1304d4420777f82a1d844c606db3d9eca841765 before 27900d7119c464b43cd9eac69c85884d17bae240, 6.5 Not affected: before 6.5, from 6.5.13 up to 6.5.*, from 6.6.3 up to 6.6.*, from 6.7 up to * | CVE List |
| linux linux_kernel | from 6.5 before 6.5.13, from 6.6 before 6.6.3, 6.7 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: ufs: core: soluciona el problema de ejecuciones entre ufshcd_mcq_abort() e ISR. Si se agota el tiempo de espera del comando y se genera cq complete IRQ al mismo tiempo, ufshcd_mcq_abort borra lprb->cmd y un La eliminación del puntero NULL ocurre en el ISR. Registro de errores: ufshcd_abort: tarea de cancelación del dispositivo en la etiqueta 18 No se puede manejar la desreferencia del puntero NULL del kernel en la dirección virtual 0000000000000108 pc: [0xffffffe27ef867ac] scsi_dma_unmap+0xc/0x44 lr: [0xffffffe27f1b898c] ufshcd_release_scsi_cmd+0x24 /0x114
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52785 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-52785 changed 2026-06-17 | Public domain |