CVE-2023-52785
scsi: ufs: core: Fix racing issue between ufshcd_mcq_abort() and ISR
Mitigation
- Upgrade Linux to 27900d7119c464b43cd9eac69c85884d17bae240 or later.
Who should check
- Anyone running Linux >= f1304d4420777f82a1d844c606db3d9eca841765, < 8f15a7e3c054d960bbd1521110700450bbf798a1; >= f1304d4420777f82a1d844c606db3d9eca841765, < f84d461f33a6b27304d468d9cfb56c0cefdb4ee7; >= f1304d4420777f82a1d844c606db3d9eca841765, < 27900d7119c464b43cd9eac69c85884d17bae240
- Anyone running Linux 6.5
Vulnerability facts
- Affected
- Linux >= f1304d4420777f82a1d844c606db3d9eca841765, < 8f15a7e3c054d960bbd1521110700450bbf798a1; >= f1304d4420777f82a1d844c606db3d9eca841765, < f84d461f33a6b27304d468d9cfb56c0cefdb4ee7; >= f1304d4420777f82a1d844c606db3d9eca841765, < 27900d7119c464b43cd9eac69c85884d17bae240; Linux 6.5
- Fixed in
- Linux 8f15a7e3c054d960bbd1521110700450bbf798a1, Linux 27900d7119c464b43cd9eac69c85884d17bae240
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-362
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f1304d4420777f82a1d844c606db3d9eca841765, < 8f15a7e3c054d960bbd1521110700450bbf798a1; >= f1304d4420777f82a1d844c606db3d9eca841765, < f84d461f33a6b27304d468d9cfb56c0cefdb4ee7; >= f1304d4420777f82a1d844c606db3d9eca841765, < 27900d7119c464b43cd9eac69c85884d17bae240 | — | cvelist |
| Linux | 6.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-52785. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52785.md Affected: Linux >= f1304d4420777f82a1d844c606db3d9eca841765, < 8f15a7e3c054d960bbd1521110700450bbf798a1; >= f1304d4420777f82a1d844c606db3d9eca841765, < f84d461f33a6b27304d468d9cfb56c0cefdb4ee7; >= f1304d4420777f82a1d844c606db3d9eca841765, < 27900d7119c464b43cd9eac69c85884d17bae240; Linux 6.5 Fixed in: Linux 8f15a7e3c054d960bbd1521110700450bbf798a1, Linux 27900d7119c464b43cd9eac69c85884d17bae240 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2023-52785 being exploited?
There is no confirmed exploitation: CVE-2023-52785 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-52785?
Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2023-52785?
Linux >= f1304d4420777f82a1d844c606db3d9eca841765, < 8f15a7e3c054d960bbd1521110700450bbf798a1; >= f1304d4420777f82a1d844c606db3d9eca841765, < f84d461f33a6b27304d468d9cfb56c0cefdb4ee7; >= f1304d4420777f82a1d844c606db3d9eca841765, < 27900d7119c464b43cd9eac69c85884d17bae240; Linux 6.5.
Is there a fix for CVE-2023-52785?
Yes. Fixed in Linux 8f15a7e3c054d960bbd1521110700450bbf798a1, Linux 27900d7119c464b43cd9eac69c85884d17bae240. Upgrade Linux to 27900d7119c464b43cd9eac69c85884d17bae240 or later.
How do I check if I'm affected by CVE-2023-52785?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.