Skip to main content

Linux Kernel EUVDEUVD-2026-26653

| CVE-2026-43054 MEDIUM
Missing Release of Resource after Effective Lifetime (CWE-772)
2026-05-01 Linux
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Load tcm_loop module
  2. Delivery
    Configure SCSI loopback target
  3. Exploit
    Issue I/O commands
  4. Install
    Trigger target reset during command processing
  5. C2
    Leak LUN reference
  6. Execute
    Block configfs unlink operation
  7. Impact
    Achieve denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup on lifecycle end
Exploitation Conditions

Local user account with permission to interact with SCSI target configfs or sysfs (typically root or target-admin group membership). The tcm_loop driver must be loaded in the kernel and actively servicing loopback SCSI targets. In-flight SCSI commands must be present during the reset operation; the race condition occurs when reset is triggered while the target core has async completion work pending for previous commands. This typically occurs in test/development environments, containerized deployments with storage emulation, or systems using software-defined SAN stacks. The vulnerability does NOT affect systems not using tcm_loop (standalone iSCSI targets, NVME, or production storage hardware drivers like mpt3sas/ipr/virtio_scsi are NOT vulnerable as they properly drain commands). Non-default configuration required: tcm_loop loopback target must be explicitly configured; this is not present in standard kernel deployments or production storage stacks.

Impact

This vulnerability presents moderate local denial of service risk to systems using the tcm_loop target driver. CVSS 5.5 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) correctly reflects local attack vector, low complexity, and availability impact without privilege escalation or confidentiality/integrity breaches. The EPSS score of 0.02% (7th percentile) indicates very low likelihood of widespread automated exploitation, which aligns with tcm_loop being a niche loopback driver primarily used in testing and development rather than production storage deployments. However, the practical impact when triggered is severe: configfs LUN unlinking hangs indefinitely with affected processes in uninterruptible D-state, potentially blocking system administration tasks or storage reconfiguration. The vulnerability requires local access and standard user privileges (PR:L) but affects system availability and administrative control. Real-world risk is lower than raw CVSS suggests due to limited deployment scope (tcm_loop is not typically used in production), but organizations using SCSI target loopback functionality for testing, containerization, or software-defined storage should prioritize patching to restore graceful reset handling and prevent operational deadlocks.

Exploit ScenarioDerived

An attacker with local user privileges initiates a SCSI target reset on a loopback target while in-flight I/O commands are being processed. The attacker issues a reset via sysfs or configfs, triggering tcm_loop_target_reset() while the target core has async completion work queued. The reset handler returns SUCCESS without draining commands, causing SCSI EH to reuse scsi_cmnd structures for recovery operations while old se_cmd structures still have completion work pending. This race condition causes LUN reference leaks, and subsequent attempts to unlink the LUN from configfs via rm or target removal commands hang indefinitely in D-state, blocking administrative operations and potentially disrupting storage reconfiguration or system shutdown.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

tcm_loop target reset handler fails to drain in-flight SCSI commands, violating SCSI error handling contract and causing LUN reference leaks that deadlock configfs LUN unlink operations. Local users with appropriate privileges can trigger denial of service by initiating reset sequences while SCSI commands are in flight, leaving the kernel in an unkillable D-state waiting for LUN reference counts to clear. This is a local denial of service affecting the SCSI target core's tcm_loop loopback driver across multiple kernel versions.

RemediationAI

Upgrade to patched kernel versions: Linux 6.12.81 or later for 6.12 series, 6.1.168 or later for 6.1 LTS, 6.18.22 or later for 6.18 series, 6.19.12 or later for 6.19 series, 5.15.203 or later for 5.15 LTS, or 6.6.134 or later for 6.6 LTS. The fix is upstream commit e0eb5d38b732b011cd9ed5b1bf9f59b83c2500d3 and is available in stable kernel branches via git.kernel.org/stable. For systems unable to update immediately, disable or unload the tcm_loop driver module if not required for production workloads: rmmod tcm_loop. However, this provides only operational mitigation since the driver is built-in on many distributions. Alternative compensating control: restrict access to /sys/kernel/config/target/ configfs mount and /dev/target/lio-org/ device files to trusted administrative users only, limiting exposure to local users who could trigger target reset sequences, though this does not eliminate the race condition. Systems using tcm_loop for containerized storage, testing, or iSCSI target simulation should prioritize kernel updates to restore proper reset handling and prevent administrative deadlock scenarios.

Affected VersionsENISA

Linux patch: 6.12.81
Linux e0eb5d38b732b011cd9ed5b1bf9f59b83c2500d3 <7cbd69aaa507b1245240a28022bf5da0f07c68d9
Linux patch: 6.1.168
Linux patch: 6.18.22
Linux e0eb5d38b732b011cd9ed5b1bf9f59b83c2500d3 <757c43c692294cdfad31390accc0e90429b2ef8a
Linux patch: 7.0
Linux e0eb5d38b732b011cd9ed5b1bf9f59b83c2500d3 <1333eee56cdf3f0cf67c6ab4114c2c9e0a952026
Linux patch: 0
Linux e0eb5d38b732b011cd9ed5b1bf9f59b83c2500d3 <15f5241d5a52364a7e7867b49128b0442dbcad9d
Linux 5.13
Linux e0eb5d38b732b011cd9ed5b1bf9f59b83c2500d3 <103f79e4949513247d763c6e7f3cbbf62017afdf
Linux patch: 6.19.12
Linux e0eb5d38b732b011cd9ed5b1bf9f59b83c2500d3 <05ac3754467363558a0a54ae4bb7c89b2c9574cf
Linux patch: 5.15.203
Linux patch: 6.6.134
Linux e0eb5d38b732b011cd9ed5b1bf9f59b83c2500d3 <a836054ea81014117ec6b73529a21626a9e1f829

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the Linux kernel's SCSI target core, specifically in the tcm_loop loopback driver (drivers/target/loopback). The tcm_loop_target_reset() function violates the SCSI Error Handler (EH) contract documented in scsi_eh.rst, which requires that reset handlers drain or complete all outstanding commands before returning SUCCESS. The root cause is a resource management failure (CWE-772: Missing Initialization with Hard-Coded Network Resource Configuration Data, though more accurately a reference counting issue) where async completion work remains queued in the target core while SCSI EH reuses scsi_cmnd structures for recovery commands. When queuecommand processes the reused structure, memset operations zero se_lun and lun_ref_active fields, causing transport_lun_remove_cmd() to skip its percpu_ref_put() operation. This leaks the LUN reference, preventing transport_clear_lun_ref() from completing and blocking configfs operations indefinitely. The fix implements proper command draining by issuing a TMR_LUN_RESET via tcm_loop_issue_tmr() and using blk_mq_tagset_busy_iter() to flush deferred completion work for already-completed commands, mirroring patterns used by mpi3mr, scsi_debug, and libsas drivers.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
CVSS changed
May 07, 2026 - 18:37 NVD
5.5 (MEDIUM)
Patch available
May 01, 2026 - 16:33 EUVD
Patch released
May 01, 2026 - 15:24 nvd
Patch available
CVE Published
May 01, 2026 - 14:15 nvd
MEDIUM 5.5
CVE Published
May 01, 2026 - 14:15 nvd
N/A

DescriptionNVD

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

scsi: target: tcm_loop: Drain commands in target_reset handler

tcm_loop_target_reset() violates the SCSI EH contract: it returns SUCCESS without draining any in-flight commands. The SCSI EH documentation (scsi_eh.rst) requires that when a reset handler returns SUCCESS the driver has made lower layers "forget about timed out scmds" and is ready for new commands. Every other SCSI LLD (virtio_scsi, mpt3sas, ipr, scsi_debug, mpi3mr) enforces this by draining or completing outstanding commands before returning SUCCESS.

Because tcm_loop_target_reset() doesn't drain, the SCSI EH reuses in-flight scsi_cmnd structures for recovery commands (e.g. TUR) while the target core still has async completion work queued for the old se_cmd. The memset in queuecommand zeroes se_lun and lun_ref_active, causing transport_lun_remove_cmd() to skip its percpu_ref_put(). The leaked LUN reference prevents transport_clear_lun_ref() from completing, hanging configfs LUN unlink forever in D-state:

INFO: task rm:264 blocked for more than 122 seconds. rm D 0 264 258 0x00004000 Call Trace: __schedule+0x3d0/0x8e0 schedule+0x36/0xf0 transport_clear_lun_ref+0x78/0x90 [target_core_mod] core_tpg_remove_lun+0x28/0xb0 [target_core_mod] target_fabric_port_unlink+0x50/0x60 [target_core_mod] configfs_unlink+0x156/0x1f0 [configfs] vfs_unlink+0x109/0x290 do_unlinkat+0x1d5/0x2d0

Fix this by making tcm_loop_target_reset() actually drain commands:

  1. Issue TMR_LUN_RESET via tcm_loop_issue_tmr() to drain all commands that

the target core knows about (those not yet CMD_T_COMPLETE).

  1. Use blk_mq_tagset_busy_iter() to iterate all started requests and

flush_work() on each se_cmd - this drains any deferred completion work for commands that already had CMD_T_COMPLETE set before the TMR (which the TMR skips via __target_check_io_state()). This is the same pattern used by mpi3mr, scsi_debug, and libsas to drain outstanding commands during reset.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy