Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-53586

published high CVSS 3.1 · 8.8

scsi: target: Fix multiple LUN_RESET handling

Published
04 Oct 2025, 15:44:01 UTC
Updated
05 Aug 2026, 09:14:57 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux51ec502a32665fed66c7f03799ede4023b212536 to < e1f59cd18a10969d08a082264b557876ca38766e · 51ec502a32665fed66c7f03799ede4023b212536 to < 9158c86fd3237acaea8f0181c7836d90fd6eea10 · 51ec502a32665fed66c7f03799ede4023b212536 to < eacfe32c3650bfd0e54224d160c431013d7f6998 · 51ec502a32665fed66c7f03799ede4023b212536 to < ed18526289b5603bf2253dee50f1d7ec245cf397 · 51ec502a32665fed66c7f03799ede4023b212536 to < 2c43de56f9220dca3e28c774d1c5e2cab574223a · 51ec502a32665fed66c7f03799ede4023b212536 to < 673db054d7a2b5a470d7a25baf65956d005ad729 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.11 (affected) · 0 to < 4.11 (unaffected · semver) · 5.10.180 through 5.10.* (unaffected · semver) · 5.15.111 through 5.15.* (unaffected · semver) · 6.1.28 through 6.1.* (unaffected · semver) · 6.2.15 through 6.2.* (unaffected · semver) · 6.3.2 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2023-034 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2023-021 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2023-184 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolss390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdumps390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: target: Fix multiple LUN_RESET handling This fixes a bug where an initiator thinks a LUN_RESET has cleaned up running commands when it hasn't. The bug was added in commit 51ec502a3266 ("target: Delete tmr from list before processing"). The problem occurs when: 1. We have N I/O cmds running in the target layer spread over 2 sessions. 2. The initiator sends a LUN_RESET for each session. 3. session1's LUN_RESET loops over all the running commands from both sessions and moves them to its local drain_task_list. 4. session2's LUN_RESET does not see the LUN_RESET from session1 because the commit above has it remove itself. session2 also does not see any commands since the other reset moved them off the state lists. 5. sessions2's LUN_RESET will then complete with a successful response. 6. sessions2's inititor believes the running commands on its session are now cleaned up due to the successful response and cleans up the running commands from its side. It then restarts them. 7. The commands do eventually complete on the backend and the target starts to return aborted task statuses for them. The initiator will either throw a invalid ITT error or might accidentally lookup a new task if the ITT has been reallocated already. Fix the bug by reverting the patch, and serialize the execution of LUN_RESETs and Preempt and Aborts. Also prevent us from waiting on LUN_RESETs in core_tmr_drain_tmr_list, because it turns out the original patch fixed a bug that was not mentioned. For LUN_RESET1 core_tmr_drain_tmr_list can see a second LUN_RESET and wait on it. Then the second reset will run core_tmr_drain_tmr_list and see the first reset and wait on it resulting in a deadlock.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The vulnerable code is the LIO SCSI target core, and LUN_RESET task management functions are delivered by a remote initiator over the network — `iscsit_handle_task_mgt_cmd()` on TCP/3260, plus `ib_srpt` (IB/RoCE) and FC/FCoE fabrics. No local access to the target host is needed. AC:L - The attacker controls both sides of the race: it issues the in-flight I/O and both concurrent LUN_RESET TMFs (from one or two sessions), which are dispatched to separate workqueue contexts, and it can repeat the attempt indefinitely until the window is hit. PR:L - TMF PDUs are only processed in iSCSI full-feature phase, so the attacker needs an established session with a mapped LUN; LIO defaults to `authentication=1` (CHAP) with explicit ACLs, so this is an ordinary authorized-but-unprivileged initiator, not an unauthenticated peer. UI:N - Exploitation requires only that the attacker send SCSI commands and LUN_RESET TMFs on its own session; no action by any administrator or other user of the target is needed. S:U - The list corruption and use-after-free occur in the target host's own kernel, within the same security authority as the vulnerable component; no VM, IOMMU, or sandbox boundary is crossed. C:H - The unsynchronized `drain_tmr_list` walk can iterate a freed `se_tmr_req`/`se_cmd`, and a use-after-free of these heap objects gives an attacker who reclaims the slab a read primitive over kernel memory; additionally, status/data for a stale ITT can be delivered against a reallocated task, exposing one command's results to another. I:H - The kref underflow and use-after-free on `se_cmd` allow writes into reclaimed kernel memory (e.g. `cmd->abrt_compl`), a control-flow-relevant corruption primitive; independently, the premature TMR_FUNCTION_COMPLETE causes the initiator to reissue commands that are still executing on the backend, silently corrupting stored data and mis-attributing completion status to the wrong task. A:H - The self-linked list entry produces an unbounded loop in a workqueue context that repeatedly waits on and puts an already-freed command, hanging the TMR worker and oopsing on the use-after-free; the resulting I/O errors and session drops take the storage target offline.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 51ec502a32665fed66c7f03799ede4023b212536 to < e1f59cd18a10969d08a082264b557876ca38766e (affected · git)51ec502a32665fed66c7f03799ede4023b212536 to < 9158c86fd3237acaea8f0181c7836d90fd6eea10 (affected · git)51ec502a32665fed66c7f03799ede4023b212536 to < eacfe32c3650bfd0e54224d160c431013d7f6998 (affected · git)51ec502a32665fed66c7f03799ede4023b212536 to < ed18526289b5603bf2253dee50f1d7ec245cf397 (affected · git)51ec502a32665fed66c7f03799ede4023b212536 to < 2c43de56f9220dca3e28c774d1c5e2cab574223a (affected · git)51ec502a32665fed66c7f03799ede4023b212536 to < 673db054d7a2b5a470d7a25baf65956d005ad729 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.11 (affected)0 to < 4.11 (unaffected · semver)5.10.180 through 5.10.* (unaffected · semver)5.15.111 through 5.15.* (unaffected · semver)6.1.28 through 6.1.* (unaffected · semver)6.2.15 through 6.2.* (unaffected · semver)6.3.2 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

scsi: target: Fix multiple LUN_RESET handling

Provenance

Schema
5.2
Searchable
yes
Content hash
bda9b4aca2620b1953432a10adb81cd73da3e9e89aa21a6d6f1ff4517b5f85fa
Ingested
23 Sep 2026, 08:14:56 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected