Bugzilla – Bug 1224950
VUL-0: CVE-2023-52785: kernel: scsi: ufs: core: Fix racing issue between ufshcd_mcq_abort() and ISR
Last modified: 2024-07-16 17:55:45 UTC
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 References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52785 https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2023/CVE-2023-52785.mbox https://git.kernel.org/stable/c/8f15a7e3c054d960bbd1521110700450bbf798a1 https://git.kernel.org/stable/c/f84d461f33a6b27304d468d9cfb56c0cefdb4ee7 https://git.kernel.org/stable/c/27900d7119c464b43cd9eac69c85884d17bae240 https://www.cve.org/CVERecord?id=CVE-2023-52785
Lee, can you handle it?
(In reply to Hannes Reinecke from comment #2) > Lee, can you handle it? Looks like you took care if it a month ago. Sorry I didn't beat you to it! I believe this is done, but sending back to security to make sure.