{"id":"CVE-2026-139590","summary":"IB/isert: Don't share drop_cmd_list across concurrent connection teardowns","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nIB/isert: Don't share drop_cmd_list across concurrent connection teardowns\n\nisert_put_unsol_pending_cmds() declares drop_cmd_list as a static\nLIST_HEAD, so the list is shared across all invocations of the function.\nIt is called from isert_wait_conn(), the per-connection .iscsit_wait_conn\ntransport callback, which runs independently for each connection during\nteardown.\n\nconn-\u003ecmd_lock only protects each connection's own conn_cmd_list, not the\nshared drop_cmd_list.  If two connections tear down at the same time, both\nthreads list_move_tail() commands into the same drop_cmd_list without any\nmutual exclusion, and then both iterate and list_del/put it concurrently.\nThis corrupts the linked list and can double-free iscsit_cmd structures.\n\nMake drop_cmd_list a stack-local list, matching the pattern already used\nin isert_free_np().","modified":"2026-11-30T15:02:29.266846048Z","published":"2026-11-30T13:36:09.681Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139590.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/205937ec74a6c83cf3d049844c39e6737374cd03"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f9bd2695a96311bb7bdcb2c0310ed7fbc424e57"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3516b05772ada4e3125e58e8554ab33d3087ccad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/510db8214f41f700a9f50a7c5028df3c9d8db0b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5a5a9c05d72e768fbbc95b5952d8792f8b2e15a9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a666d72d7f9c121fea2ba16b0a59bb06fc6ce5ed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d30e9b1bc47bd9be4b2fc97b0e4074bc02c4203a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f84891f0ae03c796990d689213b6460d226b5d37"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139590.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139590"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3e03c4b01da3e6a5f3081eb0aa252490fe83e352"},{"fixed":"510db8214f41f700a9f50a7c5028df3c9d8db0b7"},{"fixed":"3516b05772ada4e3125e58e8554ab33d3087ccad"},{"fixed":"2f9bd2695a96311bb7bdcb2c0310ed7fbc424e57"},{"fixed":"5a5a9c05d72e768fbbc95b5952d8792f8b2e15a9"},{"fixed":"f84891f0ae03c796990d689213b6460d226b5d37"},{"fixed":"205937ec74a6c83cf3d049844c39e6737374cd03"},{"fixed":"a666d72d7f9c121fea2ba16b0a59bb06fc6ce5ed"},{"fixed":"d30e9b1bc47bd9be4b2fc97b0e4074bc02c4203a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b6ac3aee1c73d5b107ae6ec6e3715b39db782781"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0404d26f31742bea0f5258c90acd21041b0afa9c"}]}],"versions":["v4.1.52","v4.1.51","v4.1.50","v4.1.49","v4.1.48","v4.1.47","v4.1.46","v4.1.45","v4.1.44","v4.1.43","v4.1.42","v4.1.41","v4.1.40","v4.1.39","v4.1.38","v4.1.37","v4.1.36","v4.1.35","v4.1.34","v4.1.33","v4.1.32","v4.1.31","v4.1.30","v4.1.29","v4.1.28","v4.1.27","v4.1.26","v4.1.25","v4.1.24","v4.1.23","v4.1.22","v4.1.21","v4.1.20","v4.1.19","v4.1.18","v4.1.17","v4.1.16","v4.1.15","v4.1.14","v4.1.13","v4.1.12","v4.1.11","v4.2.8","v4.2.7","v4.2.6","v4.2.5","v4.2.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139590.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.11"},{"fixed":"4.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.2.4"},{"fixed":"4.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139590.json"}}],"schema_version":"1.9.2"}