# CVE-2026-23216: scsi: target: iscsi: Fix use-after-free in iscsit_dec_conn_usage_count()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-02-18T14:21:53.699Z
- Modified: 2026-10-19T19:17:42.423Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: target: iscsi: Fix use-after-free in iscsit_dec_conn_usage_count()

In iscsit_dec_conn_usage_count(), the function calls complete() while
holding the conn->conn_usage_lock. As soon as complete() is invoked, the
waiter (such as iscsit_close_connection()) may wake up and proceed to free
the iscsit_conn structure.

If the waiter frees the memory before the current thread reaches
spin_unlock_bh(), it results in a KASAN slab-use-after-free as the function
attempts to release a lock within the already-freed connection structure.

Fix this by releasing the spinlock before calling complete().

(As written by CVE List.)

## Affected

- Linux Linux: from e48354ce078c079996f89d715dfa44814b4eba01 before ba684191437380a07b27666eb4e72748be1ea201; from e48354ce078c079996f89d715dfa44814b4eba01 before 8518f072fc92921418cd9ed4268dd4f3e9a8fd75; from e48354ce078c079996f89d715dfa44814b4eba01 before 275016a551ba1a068a3bd6171b18611726b67110; from e48354ce078c079996f89d715dfa44814b4eba01 before 73b487d44bf4f92942629d578381f89c326ff77f; from e48354ce078c079996f89d715dfa44814b4eba01 before 48fe983e92de2c59d143fe38362ad17ba23ec7f3; from e48354ce078c079996f89d715dfa44814b4eba01 before 3835e49e146a4e6e7787b29465f1a23379b6ec44; from e48354ce078c079996f89d715dfa44814b4eba01 before 9411a89e9e7135cc459178fa77a3f1d6191ae903; 3.1 (not affected: before 3.1; from 5.10.250 up to 5.10.*; from 5.15.200 up to 5.15.*; from 6.1.163 up to 6.1.*; from 6.6.124 up to 6.6.*; from 6.12.70 up to 6.12.*; from 6.18.10 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 3.1 before 5.10.250; from 5.11 before 5.15.200; from 5.16 before 6.1.163; from 6.2 before 6.6.124; from 6.7 before 6.12.70; from 6.13 before 6.18.10; 6.19

## References

- <https://git.kernel.org/stable/c/ba684191437380a07b27666eb4e72748be1ea201> (patch)
- <https://git.kernel.org/stable/c/8518f072fc92921418cd9ed4268dd4f3e9a8fd75> (patch)
- <https://git.kernel.org/stable/c/275016a551ba1a068a3bd6171b18611726b67110> (patch)
- <https://git.kernel.org/stable/c/73b487d44bf4f92942629d578381f89c326ff77f> (patch)
- <https://git.kernel.org/stable/c/48fe983e92de2c59d143fe38362ad17ba23ec7f3> (patch)
- <https://git.kernel.org/stable/c/3835e49e146a4e6e7787b29465f1a23379b6ec44> (patch)
- <https://git.kernel.org/stable/c/9411a89e9e7135cc459178fa77a3f1d6191ae903> (patch)

## Sources

- CVE List: [CVE-2026-23216](https://www.cve.org/CVERecord?id=CVE-2026-23216), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-23216](https://nvd.nist.gov/vuln/detail/CVE-2026-23216), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-23216 · Whole record: https://cve.day/CVE-2026-23216.json · Rebuilt by cve.day 2026-11-25T22:59:13.991Z
