CVE-2023-52785

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

published May 21, 2024

CVSS
—
EPSS
0%
Percentile
7.1
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00179 · 7.1th percentile
Published
2024-05-21T15:31Z
EPSS history
Timeline
  • 21 MAY 15:31Z
    scsi: ufs: core: Fix racing issue between ufshcd_mcq_abort() and ISR
    cvelistv5