Local system crash via UFS command race
Published May 21, 2024 · Updated May 11, 2026
Race condition in the Linux kernel 6.5 through 6.5.12, 6.6 through 6.6.2, and 6.7-rc1 allows local users to crash the system. The ufshcd_mcq_abort() path clears lrbp->cmd without holding the hardware queue's cq_lock while the completion interrupt handler can still dereference it. Reachability requires low-privileged local access, UFS operating in MCQ mode, and a command timeout concurrent with completion, resulting in a kernel NULL-pointer crash.
Summary
What happened
Race condition in the Linux kernel 6.5 through 6.5.12, 6.6 through 6.6.2, and 6.7-rc1 allows local users to crash the system. The ufshcd_mcq_abort() path clears lrbp->cmd without holding the hardware queue's cq_lock while the completion interrupt handler can still dereference it. Reachability requires low-privileged local access, UFS operating in MCQ mode, and a command timeout concurrent with completion, resulting in a kernel NULL-pointer crash.
The record
- CVE
- CVE-2023-52785
- Published
- May 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-362, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.5
- Affected versionversion=f1304d4420777f82a1d844c606db3d9eca841765 <27900d7119c464b43cd9eac69c85884d17bae240
- Affected versionversion=f1304d4420777f82a1d844c606db3d9eca841765 <8f15a7e3c054d960bbd1521110700450bbf798a1
- Affected versionversion=f1304d4420777f82a1d844c606db3d9eca841765 <f84d461f33a6b27304d468d9cfb56c0cefdb4ee7
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo