# CVE-2024-41053: scsi: ufs: core: Fix ufshcd\_abort\_one racing issue

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2024-07-29T14:32:08.958Z
- **Modified:** 2026-06-17T07:47:10.603Z

## Who should check

- Anyone running Linux \>= ff7699d3620763b0dfe2ff93df4528880bf903a8, \< c3111b3cf3889bfa7b73ebff83d7397db9b7e5e0; \>= 93e6c0e19d5bb12b49534a411c85e21d333731fa, \< b5a6ac887256762758bfe7f2918cb0233aa544f4; \>= 93e6c0e19d5bb12b49534a411c85e21d333731fa, \< 74736103fb4123c71bf11fb7a6abe7c884c5269e; \>= 6.6.5, \< 6.6.41
- Anyone running Linux 6.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: ufs: core: Fix ufshcd\_abort\_one racing issue

When ufshcd\_abort\_one is racing with the completion ISR, the completed tag
of the request's mq\_hctx pointer will be set to NULL by ISR.  Return
success when request is completed by ISR because ufshcd\_abort\_one does not
need to do anything.

The racing flow is:

Thread A
ufshcd\_err\_handler					step 1
	...
	ufshcd\_abort\_one
		ufshcd\_try\_to\_abort\_task
			ufshcd\_cmd\_inflight(true)	step 3
		ufshcd\_mcq\_req\_to\_hwq
			blk\_mq\_unique\_tag
				rq-\>mq\_hctx-\>queue\_num	step 5

Thread B
ufs\_mtk\_mcq\_intr(cq complete ISR)			step 2
	scsi\_done
		...
		\_\_blk\_mq\_free\_request
			rq-\>mq\_hctx = NULL;		step 4

Below is KE back trace.
  ufshcd\_try\_to\_abort\_task: cmd at tag 41 not pending in the device.
  ufshcd\_try\_to\_abort\_task: cmd at tag=41 is cleared.
  Aborting tag 41 / CDB 0x28 succeeded
  Unable to handle kernel NULL pointer dereference at virtual address 0000000000000194
  pc : \[0xffffffddd7a79bf8\] blk\_mq\_unique\_tag+0x8/0x14
  lr : \[0xffffffddd6155b84\] ufshcd\_mcq\_req\_to\_hwq+0x1c/0x40 \[ufs\_mediatek\_mod\_ise\]
   do\_mem\_abort+0x58/0x118
   el1\_abort+0x3c/0x5c
   el1h\_64\_sync\_handler+0x54/0x90
   el1h\_64\_sync+0x68/0x6c
   blk\_mq\_unique\_tag+0x8/0x14
   ufshcd\_err\_handler+0xae4/0xfa8 \[ufs\_mediatek\_mod\_ise\]
   process\_one\_work+0x208/0x4fc
   worker\_thread+0x228/0x438
   kthread+0x104/0x1d4
   ret\_from\_fork+0x10/0x20

## Affected and fixed versions

- Linux: \>= ff7699d3620763b0dfe2ff93df4528880bf903a8, \< c3111b3cf3889bfa7b73ebff83d7397db9b7e5e0; \>= 93e6c0e19d5bb12b49534a411c85e21d333731fa, \< b5a6ac887256762758bfe7f2918cb0233aa544f4; \>= 93e6c0e19d5bb12b49534a411c85e21d333731fa, \< 74736103fb4123c71bf11fb7a6abe7c884c5269e; \>= 6.6.5, \< 6.6.41 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 6.6.41 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-41053. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-41053.md
Affected: Linux >= ff7699d3620763b0dfe2ff93df4528880bf903a8, < c3111b3cf3889bfa7b73ebff83d7397db9b7e5e0; >= 93e6c0e19d5bb12b49534a411c85e21d333731fa, < b5a6ac887256762758bfe7f2918cb0233aa544f4; >= 93e6c0e19d5bb12b49534a411c85e21d333731fa, < 74736103fb4123c71bf11fb7a6abe7c884c5269e; >= 6.6.5, < 6.6.41; Linux …
Fixed in: Linux 74736103fb4123c71bf11fb7a6abe7c884c5269e, Linux 6.6.41

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.
```

## FAQ

### Is CVE-2024-41053 being exploited?

There is no confirmed exploitation: CVE-2024-41053 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-41053?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-41053?

Linux \>= ff7699d3620763b0dfe2ff93df4528880bf903a8, \< c3111b3cf3889bfa7b73ebff83d7397db9b7e5e0; \>= 93e6c0e19d5bb12b49534a411c85e21d333731fa, \< b5a6ac887256762758bfe7f2918cb0233aa544f4; \>= 93e6c0e19d5bb12b49534a411c85e21d333731fa, \< 74736103fb4123c71bf11fb7a6abe7c884c5269e; \>= 6.6.5, \< 6.6.41; Linux 6.7.

### Is there a fix for CVE-2024-41053?

Yes. Fixed in Linux 74736103fb4123c71bf11fb7a6abe7c884c5269e, Linux 6.6.41. Upgrade Linux to 6.6.41 or later.

### How do I check if I'm affected by CVE-2024-41053?

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.

## References

- patch: <https://git.kernel.org/stable/c/c3111b3cf3889bfa7b73ebff83d7397db9b7e5e0>
- patch: <https://git.kernel.org/stable/c/b5a6ac887256762758bfe7f2918cb0233aa544f4>
- patch: <https://git.kernel.org/stable/c/74736103fb4123c71bf11fb7a6abe7c884c5269e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-41053>

HTML: <https://flawdb.com/CVE-2024-41053> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-41053>
