Local kernel crash via UFS cleanup race
Published Jul 29, 2024 · Updated May 11, 2026
Race condition in the Linux kernel UFS core allows local users to crash the kernel during concurrent UFS command cleanup. The completion ISR can free a finished request and clear rq->mq_hctx while ufshcd_clear_cmd still passes that request to ufshcd_mcq_req_to_hwq, causing blk_mq_unique_tag to dereference NULL. Reachability requires local privileges and the affected UFS multi-circular-queue path; the bounded consequence is a kernel crash and service interruption.
Summary
What happened
Race condition in the Linux kernel UFS core allows local users to crash the kernel during concurrent UFS command cleanup. The completion ISR can free a finished request and clear rq->mq_hctx while ufshcd_clear_cmd still passes that request to ufshcd_mcq_req_to_hwq, causing blk_mq_unique_tag to dereference NULL. Reachability requires local privileges and the affected UFS multi-circular-queue path; the bounded consequence is a kernel crash and service interruption.
The record
- CVE
- CVE-2024-41054
- Published
- Jul 29, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 29, 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=8d7290348992f27242dd6a696fa2eede709f0b14 <11d81233f4ebe6907b12c79ad7d8787aa4db0633
- Affected versionversion=8d7290348992f27242dd6a696fa2eede709f0b14 <9307a998cb9846a2557fdca286997430bee36a2a
- Affected versionversion=8d7290348992f27242dd6a696fa2eede709f0b14 <bed0896008334eeee4b4bfd7150491ca098cbf72
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.
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