# CVE-2024-26845: scsi: target: core: Add TMF to tmr\_list handling

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 1.02% (percentile 63, 2026-11-26)
- **Published:** 2024-04-17T10:10:09.337Z
- **Modified:** 2026-08-05T11:27:45.996Z

## Who should check

- Anyone running Linux \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< 11f3fe5001ed05721e641f0ecaa7a73b7deb245d; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< 168ed59170de1fd7274080fe102216162d6826cf; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< a9849b67b4402a12eb35eadc9306c1ef9847d53d; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< e717bd412001495f17400bfc09f606f1b594ef5a; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< 36bc5040c863b44af06094b22f1e50059227b9cb; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< bd508f96b5fef96d8a0ce9cbb211d82bcfc2341f; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< 83ab68168a3d990d5ff39ab030ad5754cbbccb25
- Anyone running Linux 5.1

## Description

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

scsi: target: core: Add TMF to tmr\_list handling

An abort that is responded to by iSCSI itself is added to tmr\_list but does
not go to target core. A LUN\_RESET that goes through tmr\_list takes a
refcounter on the abort and waits for completion. However, the abort will
be never complete because it was not started in target core.

 Unable to locate ITT: 0x05000000 on CID: 0
 Unable to locate RefTaskTag: 0x05000000 on CID: 0.
 wait\_for\_tasks: Stopping tmf LUN\_RESET with tag 0x0 ref\_task\_tag 0x0 i\_state 34 t\_state ISTATE\_PROCESSING refcnt 2 transport\_state active,stop,fabric\_stop
 wait for tasks: tmf LUN\_RESET with tag 0x0 ref\_task\_tag 0x0 i\_state 34 t\_state ISTATE\_PROCESSING refcnt 2 transport\_state active,stop,fabric\_stop
...
 INFO: task kworker/0:2:49 blocked for more than 491 seconds.
 task:kworker/0:2     state:D stack:    0 pid:   49 ppid:     2 flags:0x00000800
 Workqueue: events target\_tmr\_work \[target\_core\_mod\]
Call Trace:
 \_\_switch\_to+0x2c4/0x470
 \_schedule+0x314/0x1730
 schedule+0x64/0x130
 schedule\_timeout+0x168/0x430
 wait\_for\_completion+0x140/0x270
 target\_put\_cmd\_and\_wait+0x64/0xb0 \[target\_core\_mod\]
 core\_tmr\_lun\_reset+0x30/0xa0 \[target\_core\_mod\]
 target\_tmr\_work+0xc8/0x1b0 \[target\_core\_mod\]
 process\_one\_work+0x2d4/0x5d0
 worker\_thread+0x78/0x6c0

To fix this, only add abort to tmr\_list if it will be handled by target
core.

## Affected and fixed versions

- Linux: \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< 11f3fe5001ed05721e641f0ecaa7a73b7deb245d; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< 168ed59170de1fd7274080fe102216162d6826cf; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< a9849b67b4402a12eb35eadc9306c1ef9847d53d; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< e717bd412001495f17400bfc09f606f1b594ef5a; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< 36bc5040c863b44af06094b22f1e50059227b9cb; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< bd508f96b5fef96d8a0ce9cbb211d82bcfc2341f; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< 83ab68168a3d990d5ff39ab030ad5754cbbccb25 (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- Upgrade Linux to 83ab68168a3d990d5ff39ab030ad5754cbbccb25 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-26845. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26845.md
Affected: Linux >= 2281c95fe751325874d135b237ecdcd3bc34cc26, < 11f3fe5001ed05721e641f0ecaa7a73b7deb245d; >= 2281c95fe751325874d135b237ecdcd3bc34cc26, < 168ed59170de1fd7274080fe102216162d6826cf; >= 2281c95fe751325874d135b237ecdcd3bc34cc26, < a9849b67b4402a12eb35eadc9306c1ef9847d53d; >= 2281c95fe751325874d135b…
Fixed in: Linux 11f3fe5001ed05721e641f0ecaa7a73b7deb245d, Linux 168ed59170de1fd7274080fe102216162d6826cf, Linux 36bc5040c863b44af06094b22f1e50059227b9cb, Linux 83ab68168a3d990d5ff39ab030ad5754cbbccb25

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-26845 being exploited?

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< 11f3fe5001ed05721e641f0ecaa7a73b7deb245d; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< 168ed59170de1fd7274080fe102216162d6826cf; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< a9849b67b4402a12eb35eadc9306c1ef9847d53d; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< e717bd412001495f17400bfc09f606f1b594ef5a; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< 36bc5040c863b44af06094b22f1e50059227b9cb; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< bd508f96b5fef96d8a0ce9cbb211d82bcfc2341f; \>= 2281c95fe751325874d135b237ecdcd3bc34cc26, \< 83ab68168a3d990d5ff39ab030ad5754cbbccb25; Linux 5.1.

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

Yes. Fixed in Linux 11f3fe5001ed05721e641f0ecaa7a73b7deb245d, Linux 168ed59170de1fd7274080fe102216162d6826cf, Linux 36bc5040c863b44af06094b22f1e50059227b9cb, Linux 83ab68168a3d990d5ff39ab030ad5754cbbccb25. Upgrade Linux to 83ab68168a3d990d5ff39ab030ad5754cbbccb25 or later.

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

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/11f3fe5001ed05721e641f0ecaa7a73b7deb245d>
- patch: <https://git.kernel.org/stable/c/168ed59170de1fd7274080fe102216162d6826cf>
- patch: <https://git.kernel.org/stable/c/a9849b67b4402a12eb35eadc9306c1ef9847d53d>
- patch: <https://git.kernel.org/stable/c/e717bd412001495f17400bfc09f606f1b594ef5a>
- patch: <https://git.kernel.org/stable/c/36bc5040c863b44af06094b22f1e50059227b9cb>
- patch: <https://git.kernel.org/stable/c/bd508f96b5fef96d8a0ce9cbb211d82bcfc2341f>
- patch: <https://git.kernel.org/stable/c/83ab68168a3d990d5ff39ab030ad5754cbbccb25>
- patch: <https://git.kernel.org/stable/c/425a571a7e6fc389954cf2564e1edbba3740e171>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>

## 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-26845>

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