- Accueil
- Vulnérabilités
- CVE-2026-142977
CVE-2026-142977
w1: netlink: drop the slave after the bus is unlocked
Résumé
In the Linux kernel, the following vulnerability has been resolved: w1: netlink: drop the slave after the bus is unlocked w1_process_cb() executes the commands of a netlink message with bus_mutex held, and drops the reference to the slave which the message was addressed to before it unlocks the mutex. If the slave has been detached in the meantime, this is the last reference, and w1_unref_slave() tears the slave down on the spot. That waits - in device_unregister(), for the sysfs callbacks of the slave which are running, and - in w1_therm_remove_slave(), for the readers which have taken a reference to the family data, and both kinds take bus_mutex to talk to the slave. Whoever is waiting for the mutex at that moment is never going to finish, and neither is the thread of the bus master. Unlock the bus first. The reference keeps the slave, and with it the master, alive until then.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 3.15 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://git.kernel.org/stable/c/bed1bba433a5ba23463e204833a8b1506ffb7f55
- https://git.kernel.org/stable/c/61ea257fec4085dbd4795f759eedf01ac1166fff
- https://git.kernel.org/stable/c/61807c07ab2baec1e238d53b5bcf0f67cf1adec4
- https://git.kernel.org/stable/c/016d555ff77ff6c82a4bbb31f4cde337bda46d31
- https://git.kernel.org/stable/c/4187e08612650fbb597a998bc5889b46d887425c
- https://git.kernel.org/stable/c/847fa880a3e1b2fdbbf72d89e830566108457637
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)