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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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

ProductVersions
Linux Linux3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to before 510db8214f41f700a9f50a7c5028df3c9d8db0b7 Affected3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to before 3516b05772ada4e3125e58e8554ab33d3087ccad Affected3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to before 2f9bd2695a96311bb7bdcb2c0310ed7fbc424e57 Affected3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to before 5a5a9c05d72e768fbbc95b5952d8792f8b2e15a9 Affected3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to before f84891f0ae03c796990d689213b6460d226b5d37 Affected3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to before 205937ec74a6c83cf3d049844c39e6737374cd03 Affected3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to before a666d72d7f9c121fea2ba16b0a59bb06fc6ce5ed Affected3e03c4b01da3e6a5f3081eb0aa252490fe83e352 to before d30e9b1bc47bd9be4b2fc97b0e4074bc02c4203a Affectedb6ac3aee1c73d5b107ae6ec6e3715b39db782781 Affected0404d26f31742bea0f5258c90acd21041b0afa9c Affected4.1.11 to before 4.2 Affected4.2.4 to before 4.3 Affected
Linux Linux4.3 Affectedbefore 4.3 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.