CVE-2026-139590

IB/isert: Don't share drop_cmd_list across concurrent connection teardowns

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

IB/isert: Don't share drop_cmd_list across concurrent connection teardowns

isert_put_unsol_pending_cmds() declares drop_cmd_list as a static
LIST_HEAD, so the list is shared across all invocations of the function.
It is called from isert_wait_conn(), the per-connection .iscsit_wait_conn
transport callback, which runs independently for each connection during
teardown.

conn->cmd_lock only protects each connection's own conn_cmd_list, not the
shared drop_cmd_list. If two connections tear down at the same time, both
threads list_move_tail() commands into the same drop_cmd_list without any
mutual exclusion, and then both iterate and list_del/put it concurrently.
This corrupts the linked list and can double-free iscsit_cmd structures.

Make drop_cmd_list a stack-local list, matching the pattern already used
in isert_free_np().

Analysis

AI-generated

Technical impact

The flaw is a race condition in the Linux kernel's iSCSI target implementation where a static list is shared across simultaneous connection teardowns. Concurrent writes to this list can corrupt the linked list and trigger a double‑free of iscsit_cmd structures, leading to kernel memory corruption that could be exploitable to gain privileged or root execution.

Affected Systems

All Linux kernel implementations that include the iSCSI target code affected by this defect. The vulnerability applies to any distribution running a kernel version that has not yet incorporated the patch turning drop_cmd_list into a stack‑local list.

Risk and Exploitability

Exploitation requires an attacker to orchestrate two iSCSI connection teardowns at the same time, a scenario that can be achieved remotely through well‑crafted iSCSI traffic or locally by manipulating the target. Although EPSS data is unavailable and the vulnerability is not listed in the CISA KEV catalog, the kernel memory corruption nature and lack of mitigations make the risk high for affected systems.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the commit turning the shared list into a stack‑local list.
  • Reboot the host to load the new kernel image.
  • If the patch cannot be applied immediately, temporarily restrict or serialize iSCSI connection teardowns during maintenance or normal operation to avoid concurrent teardown scenarios.

Generated by OpenCVE AI on November 30, 2026 at 23:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
CWE-847
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: IB/isert: Don't share drop_cmd_list across concurrent connection teardowns isert_put_unsol_pending_cmds() declares drop_cmd_list as a static LIST_HEAD, so the list is shared across all invocations of the function. It is called from isert_wait_conn(), the per-connection .iscsit_wait_conn transport callback, which runs independently for each connection during teardown. conn->cmd_lock only protects each connection's own conn_cmd_list, not the shared drop_cmd_list. If two connections tear down at the same time, both threads list_move_tail() commands into the same drop_cmd_list without any mutual exclusion, and then both iterate and list_del/put it concurrently. This corrupts the linked list and can double-free iscsit_cmd structures. Make drop_cmd_list a stack-local list, matching the pattern already used in isert_free_np().
Title IB/isert: Don't share drop_cmd_list across concurrent connection teardowns
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM