spi: ch341: fix devres lifetime (Linux Linux)

CVE-2026-46228
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: spi: ch341: fix devres lifetime USB drivers bind to USB interfaces and any device managed resources should have their lifetime tied to the interface rather than parent USB device. This avoids issues like memory leaks when drivers are unbound without their devices being physically disconnected (e.g. on probe deferral or configuration changes). Fix the controller and driver data lifetime so that they are released on driver unbind. Note that this also makes sure that the SPI controller is placed correctly under the USB interface in the device tree.

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

Références

Scores

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

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 8846739f52afa07e63395c80227dc544f54bd7b1 < 42dfcd2ced905ea3993d88a051c13e04ab1029f7
affectée : ≥ 8846739f52afa07e63395c80227dc544f54bd7b1 < 4422fc2411cbbdf5104a914e0596bb483faea254
affectée : ≥ 8846739f52afa07e63395c80227dc544f54bd7b1 < 108a64b27a52f781c4f3751641e3dd65c7dd2fb5
affectée : ≥ 8846739f52afa07e63395c80227dc544f54bd7b1 < abe572f630bc1f0e77041012ab075869036ede4f
Autres versions : non affectée
Linux · Linux
affectée : 6.11
non affectée : ≥ 0 < 6.11
non affectée : ≥ 6.12.114 ≤ 6.12.*
non affectée : ≥ 6.18.32 ≤ 6.18.*
non affectée : ≥ 7.0.9 ≤ 7.0.*
non affectée : ≥ 7.1 ≤ *
Autres versions : affectée

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