Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139590

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

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to < 510db8214f41f700a9f50a7c5028df3c9d8db0b7affected
  • 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to < 3516b05772ada4e3125e58e8554ab33d3087ccadaffected
  • 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to < 2f9bd2695a96311bb7bdcb2c0310ed7fbc424e57affected
  • 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to < 5a5a9c05d72e768fbbc95b5952d8792f8b2e15a9affected
  • 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to < f84891f0ae03c796990d689213b6460d226b5d37affected
  • 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to < 205937ec74a6c83cf3d049844c39e6737374cd03affected
  • 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to < a666d72d7f9c121fea2ba16b0a59bb06fc6ce5edaffected
  • 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to < d30e9b1bc47bd9be4b2fc97b0e4074bc02c4203aaffected
  • b6ac3aee1c73d5b107ae6ec6e3715b39db782781affected
  • 0404d26f31742bea0f5258c90acd21041b0afa9caffected
  • 4.1.11 to < 4.2affected
  • 4.2.4 to < 4.3affected

Linux Linux

Default version status: affected

  • 4.3affected
  • 0 to < 4.3unaffected
  • 5.10.275 to ≤ 5.10.*unaffected
  • 5.15.226 to ≤ 5.15.*unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References