{"id":"CVE-2026-23216","aliases":["CVE-2026-23216"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: target: iscsi: Fix use-after-free in iscsit_dec_conn_usage_count()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: iscsi: Fix use-after-free in iscsit_dec_conn_usage_count()\n\nIn iscsit_dec_conn_usage_count(), the function calls complete() while\nholding the conn->conn_usage_lock. As soon as complete() is invoked, the\nwaiter (such as iscsit_close_connection()) may wake up and proceed to free\nthe iscsit_conn structure.\n\nIf the waiter frees the memory before the current thread reaches\nspin_unlock_bh(), it results in a KASAN slab-use-after-free as the function\nattempts to release a lock within the already-freed connection structure.\n\nFix this by releasing the spinlock before calling complete().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: iscsi: Fix use-after-free in iscsit_dec_conn_usage_count()\n\nIn iscsit_dec_conn_usage_count(), the function calls complete() while\nholding the conn->conn_usage_lock. As soon as complete() is invoked, the\nwaiter (such as iscsit_close_connection()) may wake up and proceed to free\nthe iscsit_conn structure.\n\nIf the waiter frees the memory before the current thread reaches\nspin_unlock_bh(), it results in a KASAN slab-use-after-free as the function\nattempts to release a lock within the already-freed connection structure.\n\nFix this by releasing the spinlock before calling complete().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nscsi: target: iscsi: Corrección de uso después de liberación en iscsit_dec_conn_usage_count()\n\nEn iscsit_dec_conn_usage_count(), la función llama a complete() mientras mantiene el conn-&gt;conn_usage_lock. Tan pronto como se invoca complete(), el proceso en espera (como iscsit_close_connection()) puede despertarse y proceder a liberar la estructura iscsit_conn.\n\nSi el proceso en espera libera la memoria antes de que el hilo actual alcance spin_unlock_bh(), resulta en un KASAN slab-uso después de liberación, ya que la función intenta liberar un bloqueo dentro de la estructura de conexión ya liberada.\n\nEsto se corrige liberando el spinlock antes de llamar a complete().","source":"nvd"}],"published":"2026-02-18T14:21:53.699Z","modified":"2026-10-19T19:17:42.423Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"ba684191437380a07b27666eb4e72748be1ea201","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"8518f072fc92921418cd9ed4268dd4f3e9a8fd75","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"275016a551ba1a068a3bd6171b18611726b67110","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"73b487d44bf4f92942629d578381f89c326ff77f","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"48fe983e92de2c59d143fe38362ad17ba23ec7f3","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"3835e49e146a4e6e7787b29465f1a23379b6ec44","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"9411a89e9e7135cc459178fa77a3f1d6191ae903","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.1","status":"unaffected"},{"type":"semver","introduced":"5.10.250","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.200","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.163","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.124","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.70","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.10","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.1","fixed":"5.10.250"},{"status":"affected","introduced":"5.11","fixed":"5.15.200"},{"status":"affected","introduced":"5.16","fixed":"6.1.163"},{"status":"affected","introduced":"6.2","fixed":"6.6.124"},{"status":"affected","introduced":"6.7","fixed":"6.12.70"},{"status":"affected","introduced":"6.13","fixed":"6.18.10"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ba684191437380a07b27666eb4e72748be1ea201","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8518f072fc92921418cd9ed4268dd4f3e9a8fd75","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/275016a551ba1a068a3bd6171b18611726b67110","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73b487d44bf4f92942629d578381f89c326ff77f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48fe983e92de2c59d143fe38362ad17ba23ec7f3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3835e49e146a4e6e7787b29465f1a23379b6ec44","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9411a89e9e7135cc459178fa77a3f1d6191ae903","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-10T20:40:21.955Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23216","url":"https://www.cve.org/CVERecord?id=CVE-2026-23216","licence":"CVE Terms of Use","modified":"2026-10-19T18:35:39.164Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23216","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23216","licence":"Public domain","modified":"2026-10-19T19:17:42.423Z"}],"updatedAt":"2026-11-25T22:59:13.991Z","epss":{"score":0.00145,"percentile":0.03992,"date":"2026-12-01T12:00:22.000Z"}}