PT-2024-29233 · Linux+3 · Linux Kernel+3

Published

2024-06-28

·

Updated

2025-09-29

·

CVE-2024-41054

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue arises when ufshcd clear cmd is racing with the completion ISR, causing the completed tag of the request's mq hctx pointer to be set to NULL by the ISR. This results in ufshcd clear cmd's call to ufshcd mcq req to hwq getting a NULL pointer, leading to a kernel NULL pointer dereference. The racing flow involves two threads: Thread A, which calls ufshcd err handler, ufshcd try to abort task, and ufshcd clear cmd, and Thread B, which calls ufs mtk mcq intr (cq complete ISR), scsi done, and blk mq free request. The error occurs when rq->mq hctx is set to NULL in Thread B, and then ufshcd clear cmd attempts to access rq->mq hctx->queue num in Thread A.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-13979
BDU:2025-03019
CVE-2024-41054
MGASA-2024-0277
MGASA-2024-0278
OESA-2024-2076
USN-7089-1
USN-7089-2
USN-7089-3
USN-7089-4
USN-7089-5
USN-7089-6
USN-7089-7
USN-7090-1
USN-7095-1
USN-7156-1

Affected Products

Alt Linux
Linuxmint
Linux Kernel
Ubuntu