Skip to main content
← All vulnerabilities
CVE-2026-89473

power: supply: bq25890: Fix power_supply reference leak

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.157, 6.12.109, 6.18.50, 7.2.4
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From d54bf877fd878ee45cbc88d399fb98b0b1c4484d · fixed in 976c10d883a02968f3f58be0cee499d1fd2ba68a; From d54bf877fd878ee45cbc88d399fb98b0b1c4484d · fixed in 81b558afda9321c1a70971a39071d156f3e26950; From d54bf877fd878ee45cbc88d399fb98b0b1c4484d · fixed in 238320ad029a3eedabb86286a28cab55bca629b9; From d54bf877fd878ee45cbc88d399fb98b0b1c4484d · fixed in 58f1025eca92734eadc063715b98f62538286468; From d54bf877fd878ee45cbc88d399fb98b0b1c4484d · fixed in 863c32a83e4235eb0cbf6106f2b124e645302156

  • Linux Linux

    6.3

  • KernelLinux

    From 6.3.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4

References 5

git.kernel.org