CVE-2023-52785
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
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of service disruption.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 4.7 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-362 · Race condition
- Record status
- Analyzed
Affected
- Linux Kernel < 6.5.13
- Linux Kernel < 6.6.3
- Linux Kernel 6.7
Attack profile CVSS 3.1 · 4.7
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-52785.md and follow it. Check whether this project is affected by CVE-2023-52785. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/27900d7119c464b43cd9eac69c85884d17bae240
- https://git.kernel.org/stable/c/8f15a7e3c054d960bbd1521110700450bbf798a1
- https://git.kernel.org/stable/c/f84d461f33a6b27304d468d9cfb56c0cefdb4ee7
- https://git.kernel.org/stable/c/27900d7119c464b43cd9eac69c85884d17bae240
- https://git.kernel.org/stable/c/8f15a7e3c054d960bbd1521110700450bbf798a1
- https://git.kernel.org/stable/c/f84d461f33a6b27304d468d9cfb56c0cefdb4ee7
References
- https://git.kernel.org/stable/c/27900d7119c464b43cd9eac69c85884d17bae240
- https://git.kernel.org/stable/c/8f15a7e3c054d960bbd1521110700450bbf798a1
- https://git.kernel.org/stable/c/f84d461f33a6b27304d468d9cfb56c0cefdb4ee7
- https://git.kernel.org/stable/c/27900d7119c464b43cd9eac69c85884d17bae240
- https://git.kernel.org/stable/c/8f15a7e3c054d960bbd1521110700450bbf798a1
- https://git.kernel.org/stable/c/f84d461f33a6b27304d468d9cfb56c0cefdb4ee7