A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/238320ad029a3eedabb86286a28cab55bca629b9
- git.kernel.org /stable/c/58f1025eca92734eadc063715b98f62538286468
- git.kernel.org /stable/c/81b558afda9321c1a70971a39071d156f3e26950
- git.kernel.org /stable/c/863c32a83e4235eb0cbf6106f2b124e645302156
- git.kernel.org /stable/c/976c10d883a02968f3f58be0cee499d1fd2ba68a
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning