CVE-2024-26845

scsi: target: core: Add TMF to tmr_list handling

7.5 high EPSS 0.74%

Published 17 Apr 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2024-26845

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26845 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.74%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 55.8% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 28 May 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 2281c95fe751325874d135b237ecdcd3bc34cc26, before 11f3fe5001ed05721e641f0ecaa7a73b7deb245d
affected from 2281c95fe751325874d135b237ecdcd3bc34cc26, before 168ed59170de1fd7274080fe102216162d6826cf
affected from 2281c95fe751325874d135b237ecdcd3bc34cc26, before a9849b67b4402a12eb35eadc9306c1ef9847d53d
affected from 2281c95fe751325874d135b237ecdcd3bc34cc26, before e717bd412001495f17400bfc09f606f1b594ef5a
affected from 2281c95fe751325874d135b237ecdcd3bc34cc26, before 36bc5040c863b44af06094b22f1e50059227b9cb
affected from 2281c95fe751325874d135b237ecdcd3bc34cc26, before bd508f96b5fef96d8a0ce9cbb211d82bcfc2341f
affected from 2281c95fe751325874d135b237ecdcd3bc34cc26, before 83ab68168a3d990d5ff39ab030ad5754cbbccb25
Other versions: unaffected
Linux
affected 5.1
unaffected before 5.1
unaffected from 5.4.270 up to and including 5.4.*
unaffected from 5.10.211 up to and including 5.10.*
unaffected from 5.15.150 up to and including 5.15.*
unaffected from 6.1.80 up to and including 6.1.*
unaffected from 6.6.19 up to and including 6.6.*
unaffected from 6.7.7 up to and including 6.7.*
unaffected 6.8 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26845 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26845

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-26845
trivy image --scanners vuln IMAGE | grep CVE-2024-26845

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-26845 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.