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

CVE-2026-23216
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.14 % · centile 4 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected e48354ce078c079996f89d715dfa44814b4eba01 < ba684191437380a07b27666eb4e72748be1ea201 ; affected e48354ce078c079996f89d715dfa44814b4eba01 < 8518f072fc92921418cd9ed4268dd4f3e9a8fd75 ; affected e48354ce078c079996f89d715dfa44814b4eba01 < 275016a551ba1a068a3bd6171b18611726b67110 ; affected e48354ce078c079996f89d715dfa44814b4eba01 < 73b487d44bf4f92942629d578381f89c326ff77f ; affected e48354ce078c079996f89d715dfa44814b4eba01 < 48fe983e92de2c59d143fe38362ad17ba23ec7f3 ; affected e48354ce078c079996f89d715dfa44814b4eba01 < 3835e49e146a4e6e7787b29465f1a23379b6ec44
Linux · Linuxaffected 3.1 ; unaffected 0 < 3.1 ; unaffected 5.10.250 ≤ 5.10.* ; unaffected 5.15.200 ≤ 5.15.* ; unaffected 6.1.163 ≤ 6.1.* ; unaffected 6.6.124 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD