{"id":"CVE-2026-23193","aliases":["CVE-2026-23193"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: target: iscsi: Fix use-after-free in iscsit_dec_session_usage_count()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: iscsi: Fix use-after-free in iscsit_dec_session_usage_count()\n\nIn iscsit_dec_session_usage_count(), the function calls complete() while\nholding the sess->session_usage_lock. Similar to the connection usage count\nlogic, the waiter signaled by complete() (e.g., in the session release\npath) may wake up and free the iscsit_session structure immediately.\n\nThis creates a race condition where the current thread may attempt to\nexecute spin_unlock_bh() on a session structure that has already been\ndeallocated, resulting in a KASAN slab-use-after-free.\n\nTo resolve this, release the session_usage_lock before calling complete()\nto ensure all dereferences of the sess pointer are finished before the\nwaiter is allowed to proceed with deallocation.","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_session_usage_count()\n\nIn iscsit_dec_session_usage_count(), the function calls complete() while\nholding the sess->session_usage_lock. Similar to the connection usage count\nlogic, the waiter signaled by complete() (e.g., in the session release\npath) may wake up and free the iscsit_session structure immediately.\n\nThis creates a race condition where the current thread may attempt to\nexecute spin_unlock_bh() on a session structure that has already been\ndeallocated, resulting in a KASAN slab-use-after-free.\n\nTo resolve this, release the session_usage_lock before calling complete()\nto ensure all dereferences of the sess pointer are finished before the\nwaiter is allowed to proceed with deallocation.","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_session_usage_count()\n\nEn iscsit_dec_session_usage_count(), la función llama a complete() mientras mantiene el sess-&gt;session_usage_lock. Similar a la lógica de conteo de uso de la conexión, el hilo en espera señalado por complete() (por ejemplo, en la ruta de liberación de la sesión) puede despertar y liberar la estructura iscsit_session inmediatamente.\n\nEsto crea una condición de carrera donde el hilo actual puede intentar ejecutar spin_unlock_bh() en una estructura de sesión que ya ha sido desasignada, lo que resulta en un KASAN slab-uso después de liberación.\n\nPara resolver esto, liberar el session_usage_lock antes de llamar a complete() para asegurar que todas las desreferencias del puntero sess hayan terminado antes de que se permita al hilo en espera proceder con la desasignación.","source":"nvd"}],"published":"2026-02-14T16:27:20.251Z","modified":"2026-10-19T19:17:41.130Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"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":"2b64015550a13bcc72910be0565548d9a754d46d","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"fd8b0900173307039d3a84644c2fee041a7ed4fb","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"d8dbdc146e9e9a976931b78715be2e91299049f9","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"11ebafffce31efc6abeb28c509017976fc49f1ca","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"41b86a9ec037bd3435d68dd3692f0891a207e7e7","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"4530f4e4d0e6a207110b0ffed0c911bca43531a4","status":"affected"},{"type":"git","introduced":"e48354ce078c079996f89d715dfa44814b4eba01","fixed":"84dc6037390b8607c5551047d3970336cb51ba9a","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/2b64015550a13bcc72910be0565548d9a754d46d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd8b0900173307039d3a84644c2fee041a7ed4fb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d8dbdc146e9e9a976931b78715be2e91299049f9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11ebafffce31efc6abeb28c509017976fc49f1ca","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/41b86a9ec037bd3435d68dd3692f0891a207e7e7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4530f4e4d0e6a207110b0ffed0c911bca43531a4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84dc6037390b8607c5551047d3970336cb51ba9a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-16T20:19:30.330Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23193","url":"https://www.cve.org/CVERecord?id=CVE-2026-23193","licence":"CVE Terms of Use","modified":"2026-10-19T18:25:34.873Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23193","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23193","licence":"Public domain","modified":"2026-10-19T19:17:41.130Z"}],"updatedAt":"2026-11-25T22:59:13.913Z","epss":{"score":0.00358,"percentile":0.31553,"date":"2026-12-01T12:00:22.000Z"}}