Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-53586

HIGH 8.8EPSS 47%

scsi: target: Fix multiple LUN_RESET handling

Mitigation

  • Upgrade Linux to 673db054d7a2b5a470d7a25baf65956d005ad729 or later.

Who should check

  • Anyone running Linux >= 51ec502a32665fed66c7f03799ede4023b212536, < e1f59cd18a10969d08a082264b557876ca38766e; >= 51ec502a32665fed66c7f03799ede4023b212536, < 9158c86fd3237acaea8f0181c7836d90fd6eea10; >= 51ec502a32665fed66c7f03799ede4023b212536, < eacfe32c3650bfd0e54224d160c431013d7f6998; >= 51ec502a32665fed66c7f03799ede4023b212536, < ed18526289b5603bf2253dee50f1d7ec245cf397; >= 51ec502a32665fed66c7f03799ede4023b212536, < 2c43de56f9220dca3e28c774d1c5e2cab574223a; >= 51ec502a32665fed66c7f03799ede4023b212536, < 673db054d7a2b5a470d7a25baf65956d005ad729
  • Anyone running Linux 4.11

Vulnerability facts

Affected
Linux >= 51ec502a32665fed66c7f03799ede4023b212536, < e1f59cd18a10969d08a082264b557876ca38766e; >= 51ec502a32665fed66c7f03799ede4023b212536, < 9158c86fd3237acaea8f0181c7836d90fd6eea10; >= 51ec502a32665fed66c7f03799ede4023b212536, < eacfe32c3650bfd0e54224d160c431013d7f6998; >= 51ec502a32665fed66c7f03799ede4023b212536, < ed18526289b5603bf2253dee50f1d7ec245cf397; >= 51ec502a32665fed66c7f03799ede4023b212536, < 2c43de56f9220dca3e28c774d1c5e2cab574223a; >= 51ec502a32665fed66c7f03799ede4023b212536, < 673db054d7a2b5a470d7a25baf65956d005ad729; Linux 4.11
Fixed in
Linux 9158c86fd3237acaea8f0181c7836d90fd6eea10, Linux 2c43de56f9220dca3e28c774d1c5e2cab574223a, Linux 673db054d7a2b5a470d7a25baf65956d005ad729
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.67% chance of exploitation in 30 days (percentile 47, 2026-11-26)
CWE
CWE-415
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 51ec502a32665fed66c7f03799ede4023b212536, < e1f59cd18a10969d08a082264b557876ca38766e; >= 51ec502a32665fed66c7f03799ede4023b212536, < 9158c86fd3237acaea8f0181c7836d90fd6eea10; >= 51ec502a32665fed66c7f03799ede4023b212536, < eacfe32c3650bfd0e54224d160c431013d7f6998; >= 51ec502a32665fed66c7f03799ede4023b212536, < ed18526289b5603bf2253dee50f1d7ec245cf397; >= 51ec502a32665fed66c7f03799ede4023b212536, < 2c43de56f9220dca3e28c774d1c5e2cab574223a; >= 51ec502a32665fed66c7f03799ede4023b212536, < 673db054d7a2b5a470d7a25baf65956d005ad729—cvelist
Linux4.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-53586. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53586.md
Affected: Linux >= 51ec502a32665fed66c7f03799ede4023b212536, < e1f59cd18a10969d08a082264b557876ca38766e; >= 51ec502a32665fed66c7f03799ede4023b212536, < 9158c86fd3237acaea8f0181c7836d90fd6eea10; >= 51ec502a32665fed66c7f03799ede4023b212536, < eacfe32c3650bfd0e54224d160c431013d7f6998; >= 51ec502a32665fed66c7f03…
Fixed in: Linux 9158c86fd3237acaea8f0181c7836d90fd6eea10, Linux 2c43de56f9220dca3e28c774d1c5e2cab574223a, Linux 673db054d7a2b5a470d7a25baf65956d005ad729

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.

References

FAQ

Is CVE-2023-53586 being exploited?

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

How serious is CVE-2023-53586?

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

Which versions are affected by CVE-2023-53586?

Linux >= 51ec502a32665fed66c7f03799ede4023b212536, < e1f59cd18a10969d08a082264b557876ca38766e; >= 51ec502a32665fed66c7f03799ede4023b212536, < 9158c86fd3237acaea8f0181c7836d90fd6eea10; >= 51ec502a32665fed66c7f03799ede4023b212536, < eacfe32c3650bfd0e54224d160c431013d7f6998; >= 51ec502a32665fed66c7f03799ede4023b212536, < ed18526289b5603bf2253dee50f1d7ec245cf397; >= 51ec502a32665fed66c7f03799ede4023b212536, < 2c43de56f9220dca3e28c774d1c5e2cab574223a; >= 51ec502a32665fed66c7f03799ede4023b212536, < 673db054d7a2b5a470d7a25baf65956d005ad729; Linux 4.11.

Is there a fix for CVE-2023-53586?

Yes. Fixed in Linux 9158c86fd3237acaea8f0181c7836d90fd6eea10, Linux 2c43de56f9220dca3e28c774d1c5e2cab574223a, Linux 673db054d7a2b5a470d7a25baf65956d005ad729. Upgrade Linux to 673db054d7a2b5a470d7a25baf65956d005ad729 or later.

How do I check if I'm affected by CVE-2023-53586?

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.

Sponsors