USB: legousbtower: fix use-after-free on disconnect race (Linux Linux)

CVE-2026-64340
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: USB: legousbtower: fix use-after-free on disconnect race mutex_unlock() may access the mutex structure after releasing the lock and therefore cannot be used to manage lifetime of objects directly (unlike spinlocks and refcounts). [1][2] Use a kref to release the driver data to avoid use-after-free in mutex_unlock() when release() races with disconnect(). [1] a51749ab34d9 ("locking/mutex: Document that mutex_unlock() is non-atomic") [2] 2b9d9e0a9ba0 ("locking/mutex: Clarify that mutex_unlock(), and most other sleeping locks, can still use the lock object after it's unlocked")

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 18bcbcfe9ca2308ebffb40068b51803da9315d97 < 11d069f85851997b4ea0adf242ed9672dc749b8f ; affected 18bcbcfe9ca2308ebffb40068b51803da9315d97 < b4222c05066b252b451f9c8c4730b5b60824ea66 ; affected 18bcbcfe9ca2308ebffb40068b51803da9315d97 < 6462de75d2e370c7e74dcfb7b4ae79eb5a6a55ee ; affected 18bcbcfe9ca2308ebffb40068b51803da9315d97 < 0b57e5ddbd89df3bc367463de3d2ca66f99a1a5e ; affected 18bcbcfe9ca2308ebffb40068b51803da9315d97 < ab2bfd7bec4f134b377ec42f513e90c35db94160 ; affected 18bcbcfe9ca2308ebffb40068b51803da9315d97 < 766738ecf2b819e54d38763c8d1c8ae6cff14b39
Linux · Linuxaffected 2.6.25 ; unaffected 0 < 2.6.25 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 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