pinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip (Linux Linux)

CVE-2026-92482
Non disponible

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: pinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip The gpio_chip is allocated with device-managed memory but registered with the non-managed gpiochip_add_data(). This was harmless while the drivers were built-in, but once they can be built as modules and unbound/rmmod'd, devm frees the gpio_chip's memory while it is still registered, causing a use-after-free. Register it with devm_gpiochip_add_data() so it shares the same device-managed lifecycle, which also lets the manual gpiochip_remove() error paths go away.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ a6df410d420aa4ff316797d352f69e7ebae5ff98 < 13a25cb4f0f0863afded5e915cb3bceede221426
affectée : ≥ a6df410d420aa4ff316797d352f69e7ebae5ff98 < dc6e5d802c88468290fee8826dd3a54cf58da25a
affectée : ≥ a6df410d420aa4ff316797d352f69e7ebae5ff98 < 2490528a90a26f408ec3e95f865bad35454f9ff3
affectée : ≥ a6df410d420aa4ff316797d352f69e7ebae5ff98 < 01b5fcdc30c0ab35af960b60508eae1f7f7d32fd
affectée : ≥ a6df410d420aa4ff316797d352f69e7ebae5ff98 < b8fa1098ee9f627d38bdf7c0ef6c1a6058a4165b
affectée : ≥ a6df410d420aa4ff316797d352f69e7ebae5ff98 < 9c650317ba553d297f3fc5f0ae40ec53d86f9dab
Autres versions : non affectée
Linux · Linux
affectée : 4.1
non affectée : ≥ 0 < 4.1
non affectée : ≥ 6.1.191 ≤ 6.1.*
non affectée : ≥ 6.6.160 ≤ 6.6.*
non affectée : ≥ 6.12.114 ≤ 6.12.*
non affectée : ≥ 6.18.57 ≤ 6.18.*
non affectée : ≥ 7.2.6 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
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