CVE-2024-26845: scsi: target: core: Add TMF to tmr_list handling

Published Apr 17, 2024
·
Updated

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

scsi: target: core: Add TMF to tmrlist handling

An abort that is responded to by iSCSI itself is added to tmrlist but does not go to target core. A LUNRESET that goes through tmrlist 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. waitfortasks: Stopping tmf LUNRESET with tag 0x0 reftasktag 0x0 istate 34 tstate ISTATEPROCESSING refcnt 2 transportstate active,stop,fabricstop wait for tasks: tmf LUNRESET with tag 0x0 reftasktag 0x0 istate 34 tstate ISTATEPROCESSING refcnt 2 transportstate active,stop,fabricstop ... 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 targettmrwork [targetcoremod] Call Trace: switchto+0x2c4/0x470 schedule+0x314/0x1730 schedule+0x64/0x130 scheduletimeout+0x168/0x430 waitforcompletion+0x140/0x270 targetputcmdandwait+0x64/0xb0 [targetcoremod] coretmrlunreset+0x30/0xa0 [targetcoremod] targettmrwork+0xc8/0x1b0 [targetcoremod] processonework+0x2d4/0x5d0 workerthread+0x78/0x6c0

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

Affected Software

9 affected componentsFixes available
Linux Linux kernel<4.19.308
Linux Linux kernel>=4.20<5.4.270
Linux Linux kernel>=5.5<5.10.211
Linux Linux kernel>=5.11<5.15.150
Linux Linux kernel>=5.16<6.1.80
Linux Linux kernel>=6.2<6.6.19
Linux Linux kernel>=6.7<6.7.7
Debian Debian Linux=10.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1

Event History

Apr 17, 2024
CVE Published
via MITRE·10:10 AM
Data Sourced
via MITRE·10:10 AM
DescriptionSeverity
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:07 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·02:20 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26845?

CVE-2024-26845 has been classified as a moderate severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2024-26845?

To mitigate CVE-2024-26845, update to the recommended Linux versions: 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.11-1, or 6.12.12-1.

3

Which software is affected by CVE-2024-26845?

The affected software for CVE-2024-26845 is the Linux kernel, specifically certain versions of it on Debian.

4

What is the nature of CVE-2024-26845?

CVE-2024-26845 involves improper handling of abort responses that affect iSCSI in the Linux kernel.

5

Is there a public reference for CVE-2024-26845?

Yes, the details for CVE-2024-26845 can be found in public bug tracking systems like Launchpad.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203