power: supply: bq25890: Fix power_supply reference leak (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 11 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: power: supply: bq25890: Fix power_supply reference leak bq25890_fw_probe() acquires a reference to a secondary charger using power_supply_get_by_name(), but the reference is not released on later probe failures or on driver detach. In particular, failures after bq25890_fw_probe() returns successfully, such as a failure in bq25890_hw_init(), also leak the reference. Register a device-managed cleanup action immediately after acquiring the secondary charger. This releases the reference on all subsequent probe failures and on driver detach. Found by code review.
References
- https://git.kernel.org/stable/c/976c10d883a02968f3f58be0cee499d1fd2ba68a
- https://git.kernel.org/stable/c/81b558afda9321c1a70971a39071d156f3e26950
- https://git.kernel.org/stable/c/238320ad029a3eedabb86286a28cab55bca629b9
- https://git.kernel.org/stable/c/58f1025eca92734eadc063715b98f62538286468
- https://git.kernel.org/stable/c/863c32a83e4235eb0cbf6106f2b124e645302156
European references
- ENISA EUVD · EUVD-2026-76379
- GCVE · GCVE-0-2026-89473
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · 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
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected d54bf877fd878ee45cbc88d399fb98b0b1c4484d < 976c10d883a02968f3f58be0cee499d1fd2ba68a ; affected d54bf877fd878ee45cbc88d399fb98b0b1c4484d < 81b558afda9321c1a70971a39071d156f3e26950 ; affected d54bf877fd878ee45cbc88d399fb98b0b1c4484d < 238320ad029a3eedabb86286a28cab55bca629b9 ; affected d54bf877fd878ee45cbc88d399fb98b0b1c4484d < 58f1025eca92734eadc063715b98f62538286468 ; affected d54bf877fd878ee45cbc88d399fb98b0b1c4484d < 863c32a83e4235eb0cbf6106f2b124e645302156 |
| Linux · Linux | affected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.109 ≤ 6.12.* ; unaffected 6.18.50 ≤ 6.18.* ; unaffected 7.2.4 ≤ 7.2.* |
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 |