CVE-2024-41054
kernel: scsi: ufs: core: Fix ufshcd_clear_cmd racing issue
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 29, 2024
Updated · February 2, 2026
Description
The vulnerability in the UFS driver involves a race condition between the error handler (ufshcd_err_handler) and the completion interrupt service routine (ufs_mtk_mcq_intr). This race leads to a null pointer dereference in the ufshcd_clear_cmd function when it attempts to access a potentially NULL mq_hctx pointer.
Statement
Red Hat Enterprise Linux is not vulnerable to this CVE, as it does not affect the versions or configurations of the Linux kernel used in its distributions.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')