power: supply: ucs1002: fix use-after-free on remove (Linux Linux)

CVE-2026-89463
Non disponible

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: power: supply: ucs1002: fix use-after-free on remove ucs1002 has no remove callback, so unbind runs entirely through devm. The alert IRQ handler queues the health_poll delayed work, and the work reschedules itself while the chip reports a bad-health condition. devm frees the alert IRQ, which only synchronizes the handler; it does not cancel the delayed work, which can then run after devm frees the driver data and dereference it. Register health_poll with devm_delayed_work_autocancel() before the alert IRQ is requested. devm then frees the IRQ before cancelling the work, so the handler can no longer queue it and the work is cancelled before the driver data is freed. This issue was found by an in-house static analysis tool.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 81196e2e57fc5b88f6b8ca98372a3dde047aa49d < b389325e1ad3bfd113aac6a1fcf1658fec2aebb1 ; affected 81196e2e57fc5b88f6b8ca98372a3dde047aa49d < 00c19f8a9a58a318a76fd6f735a8aab3f8ead393 ; affected 81196e2e57fc5b88f6b8ca98372a3dde047aa49d < a9a7bb801c443a4d9fc623c4a47deb53accb70bb ; affected 81196e2e57fc5b88f6b8ca98372a3dde047aa49d < 2ec4d203ecb06d327af67e32097fe8f774838a40 ; affected 81196e2e57fc5b88f6b8ca98372a3dde047aa49d < 4ca2a4678202f15eb790eb7f1d562061709caea7 ; affected 81196e2e57fc5b88f6b8ca98372a3dde047aa49d < 39b60d615dfa1725c235351fb12bc72e5f8a8d32
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 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