power: supply: bq25890: Fix power_supply reference leak
Summary
| CVE | CVE-2026-89473 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-11 20:19:28 UTC |
| Updated | 2026-09-11 20:19:28 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected d54bf877fd878ee45cbc88d399fb98b0b1c4484d 81b558afda9321c1a70971a39071d156f3e26950 git |
Not specified |
| CNA |
Linux |
Linux |
affected d54bf877fd878ee45cbc88d399fb98b0b1c4484d 238320ad029a3eedabb86286a28cab55bca629b9 git |
Not specified |
| CNA |
Linux |
Linux |
affected d54bf877fd878ee45cbc88d399fb98b0b1c4484d 58f1025eca92734eadc063715b98f62538286468 git |
Not specified |
| CNA |
Linux |
Linux |
affected d54bf877fd878ee45cbc88d399fb98b0b1c4484d 863c32a83e4235eb0cbf6106f2b124e645302156 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.3 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.3 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.109 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.50 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.4 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/863c32a83e4235eb0cbf6106f2b124e645302156 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/81b558afda9321c1a70971a39071d156f3e26950 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/58f1025eca92734eadc063715b98f62538286468 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/238320ad029a3eedabb86286a28cab55bca629b9 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.