power: supply: charger-manager: fix refcount leak in is_full_charged() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 13 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: power: supply: charger-manager: fix refcount leak in is_full_charged() In is_full_charged(), power_supply_get_by_name() is called to obtain a reference to the fuel_gauge power supply. If the voltage check (uV >= desc->fullbatt_uV) succeeds, the function returns true directly without releasing the reference, leaking the refcount. Fix this by setting a flag and jumping to the out label where power_supply_put() properly drops the reference.
References
- https://git.kernel.org/stable/c/afe3202c30bdff0635818ab525fe2694309d2692
- https://git.kernel.org/stable/c/93b99b63ad5657225faf702670ddfeddf1f0ae29
- https://git.kernel.org/stable/c/6f75912cc6ff4c05ff13af351c4eea49b6b3c078
- https://git.kernel.org/stable/c/e44ad91e9f75f3e3ccbdb85ffe699471f9675e5b
- https://git.kernel.org/stable/c/3999f47e4bbf864e3c7fbfd813fb2f651e6b5714
- https://git.kernel.org/stable/c/193e6471e985c2f25d09b3fe96ec52f4eab89bd4
- https://git.kernel.org/stable/c/e8631b883338ea4c3b5d8ddfbe16407af9f0b4b9
- https://git.kernel.org/stable/c/4373cfa38ead58f980362c841b0d0bdf8c4d956c
European references
- ENISA EUVD · EUVD-2026-58940
- GCVE · GCVE-0-2026-72182
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1470 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ e132fc6bb89bd307cfcdb8ba24afcd1985261485 < afe3202c30bdff0635818ab525fe2694309d2692 affected : ≥ e132fc6bb89bd307cfcdb8ba24afcd1985261485 < 93b99b63ad5657225faf702670ddfeddf1f0ae29 affected : ≥ e132fc6bb89bd307cfcdb8ba24afcd1985261485 < 6f75912cc6ff4c05ff13af351c4eea49b6b3c078 affected : ≥ e132fc6bb89bd307cfcdb8ba24afcd1985261485 < e44ad91e9f75f3e3ccbdb85ffe699471f9675e5b affected : ≥ e132fc6bb89bd307cfcdb8ba24afcd1985261485 < 3999f47e4bbf864e3c7fbfd813fb2f651e6b5714 affected : ≥ e132fc6bb89bd307cfcdb8ba24afcd1985261485 < 193e6471e985c2f25d09b3fe96ec52f4eab89bd4 affected : ≥ e132fc6bb89bd307cfcdb8ba24afcd1985261485 < e8631b883338ea4c3b5d8ddfbe16407af9f0b4b9 affected : ≥ e132fc6bb89bd307cfcdb8ba24afcd1985261485 < 4373cfa38ead58f980362c841b0d0bdf8c4d956c Other versions : unaffected |
| Linux · Linux | affected : 5.10 unaffected : ≥ 0 < 5.10 unaffected : ≥ 5.10.261 ≤ 5.10.* unaffected : ≥ 5.15.212 ≤ 5.15.* unaffected : ≥ 6.1.178 ≤ 6.1.* unaffected : ≥ 6.6.145 ≤ 6.6.* unaffected : ≥ 6.12.97 ≤ 6.12.* unaffected : ≥ 6.18.40 ≤ 6.18.* unaffected : ≥ 7.1.5 ≤ 7.1.* unaffected : ≥ 7.2 ≤ * Other versions : affected |
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 |