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().
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 3e03c4b01da3e6a5f3081eb0aa252490fe83e352, < 510db8214f41f700a9f50a7c5028df3c9d8db0b7; >= 3e03c4b01da3e6a5f3081eb0aa252490fe83e352, < 3516b05772ada4e3125e58e8554ab33d3087ccad; >= 3e03c4b01da3e6a5f3081eb0aa252490fe83e352, < 2f9bd2695a96311bb7bdcb2c0310ed7fbc424e57; >= 3e03c4b01da3e6a5f3081eb0aa252490fe83e352, < 5a5a9c05d72e768fbbc95b5952d8792f8b2e15a9; >= 3e03c4b01da3e6a5f3081eb0aa252490fe83e352, < f84891f0ae03c796990d689213b6460d226b5d37; >= 3e03c4b01da3e6a5f3081eb0aa252490fe83e352, < 205937ec74a6c83cf3d049844c39e6737374cd03; >= 3e03c4b01da3e6a5f3081eb0aa252490fe83e352, < a666d72d7f9c121fea2ba16b0a59bb06fc6ce5ed; >= 3e03c4b01da3e6a5f3081eb0aa252490fe83e352, < d30e9b1bc47bd9be4b2fc97b0e4074bc02c4203a; b6ac3aee1c73d5b107ae6ec6e3715b39db782781; 0404d26f31742bea0f5258c90acd21041b0afa9c; >= 4.1.11, < 4.2; >= 4.2.4, < 4.3 |
| Linux | Linux | 4.3 |
References
- https://git.kernel.org/stable/c/205937ec74a6c83cf3d049844c39e6737374cd03
- https://git.kernel.org/stable/c/2f9bd2695a96311bb7bdcb2c0310ed7fbc424e57
- https://git.kernel.org/stable/c/3516b05772ada4e3125e58e8554ab33d3087ccad
- https://git.kernel.org/stable/c/510db8214f41f700a9f50a7c5028df3c9d8db0b7
- https://git.kernel.org/stable/c/5a5a9c05d72e768fbbc95b5952d8792f8b2e15a9
- https://git.kernel.org/stable/c/a666d72d7f9c121fea2ba16b0a59bb06fc6ce5ed
- https://git.kernel.org/stable/c/d30e9b1bc47bd9be4b2fc97b0e4074bc02c4203a
- https://git.kernel.org/stable/c/f84891f0ae03c796990d689213b6460d226b5d37
Timeline
- Published
- Nov 30, 2026
- Last modified
- Nov 30, 2026
- NVD status
- Received