Not scored
IB/isert: Don't share drop_cmd_list across concurrent connection teardowns
- Severity
- Not scored
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 before 510db8214f41f700a9f50a7c5028df3c9d8db0b7, from 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 before 3516b05772ada4e3125e58e8554ab33d3087ccad, from 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 before 2f9bd2695a96311bb7bdcb2c0310ed7fbc424e57, from 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 before 5a5a9c05d72e768fbbc95b5952d8792f8b2e15a9, from 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 before f84891f0ae03c796990d689213b6460d226b5d37, from 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 before 205937ec74a6c83cf3d049844c39e6737374cd03, from 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 before a666d72d7f9c121fea2ba16b0a59bb06fc6ce5ed, from 3e03c4b01da3e6a5f3081eb0aa252490fe83e352 before d30e9b1bc47bd9be4b2fc97b0e4074bc02c4203a and 5 more Not affected: before 4.3, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139590 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139590 changed 2026-11-30 | Public domain |