CVE-2026-139590

medium

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().

References

https://git.kernel.org/stable/c/f84891f0ae03c796990d689213b6460d226b5d37

https://git.kernel.org/stable/c/d30e9b1bc47bd9be4b2fc97b0e4074bc02c4203a

https://git.kernel.org/stable/c/a666d72d7f9c121fea2ba16b0a59bb06fc6ce5ed

https://git.kernel.org/stable/c/5a5a9c05d72e768fbbc95b5952d8792f8b2e15a9

https://git.kernel.org/stable/c/510db8214f41f700a9f50a7c5028df3c9d8db0b7

https://git.kernel.org/stable/c/3516b05772ada4e3125e58e8554ab33d3087ccad

https://git.kernel.org/stable/c/2f9bd2695a96311bb7bdcb2c0310ed7fbc424e57

https://git.kernel.org/stable/c/205937ec74a6c83cf3d049844c39e6737374cd03

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-139296

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 4.7

Vector: CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 4.7

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium