power: supply: twl4030_charger: cancel workers via devm (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.17 % · centile 7 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: power: supply: twl4030_charger: cancel workers via devm bci is devm-allocated. Two workers (bci->work and bci->current_worker) dereference it. twl4030_bci_remove() disables charging and masks interrupts. It cancels neither worker. A worker pending at remove() can run after devm frees bci. The USB transceiver comes from devm_usb_get_phy_by_node(). devm unregisters its notifier only after remove() returns. A cancel_work_sync() in remove() can then race a notifier reschedule. devm_work_autocancel() and devm_delayed_work_autocancel() avoid that. They cancel the workers during devm release, before bci is freed. The current_worker is registered first, since devm will cancel in reverse order and bci->work can reschedule current_worker. [Move comment about order into the commit message]
Références
- https://git.kernel.org/stable/c/9644c96ef8646c65d46caa5139a6631e29b79d6c
- https://git.kernel.org/stable/c/e9fffe10bd791082263c1678f2f6cdd6d7b487e0
- https://git.kernel.org/stable/c/c46c205bab0dfce4dd54aeb49da3f183e1fdfc63
- https://git.kernel.org/stable/c/72a2d6cd049f892853e4e2d8d8fc5e7d0244a458
- https://git.kernel.org/stable/c/a4460e89d4088cfec2da5be33e265ef1a8e780e9
- https://git.kernel.org/stable/c/b955da82db4170bdf1c784dc457287aa0c977378
- https://git.kernel.org/stable/c/6eba34732524067da2aad5ddfdfbc641ded10e9e
Références européennes
- ENISA EUVD · EUVD-2026-76370
- GCVE · GCVE-0-2026-89464
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected d6ccc442b12102414c1343f0adacaa8a1aaa516c < 9644c96ef8646c65d46caa5139a6631e29b79d6c ; affected d6ccc442b12102414c1343f0adacaa8a1aaa516c < e9fffe10bd791082263c1678f2f6cdd6d7b487e0 ; affected d6ccc442b12102414c1343f0adacaa8a1aaa516c < c46c205bab0dfce4dd54aeb49da3f183e1fdfc63 ; affected d6ccc442b12102414c1343f0adacaa8a1aaa516c < 72a2d6cd049f892853e4e2d8d8fc5e7d0244a458 ; affected d6ccc442b12102414c1343f0adacaa8a1aaa516c < a4460e89d4088cfec2da5be33e265ef1a8e780e9 ; affected d6ccc442b12102414c1343f0adacaa8a1aaa516c < b955da82db4170bdf1c784dc457287aa0c977378 |
| Linux · Linux | affected 2.6.39 ; unaffected 0 < 2.6.39 ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.109 ≤ 6.12.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |