CVE-2026-89473: power: supply: bq25890: Fix power_supply reference leak

Published Sep 11, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

power: supply: bq25890: Fix powersupply reference leak

bq25890fwprobe() acquires a reference to a secondary charger using powersupplygetbyname(), but the reference is not released on later probe failures or on driver detach.

In particular, failures after bq25890fwprobe() returns successfully, such as a failure in bq25890hwinit(), 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 Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update the bq25890 driver so that after bq25890_fw_probe() acquires a secondary charger reference via power_supply_get_by_name(), it registers a device-managed cleanup action immediately to ensure the reference is released on later bq25890_fw_probe() probe failures (e.g., bq25890_hw_init() failure) and when the driver detaches. Title indicates: "power_supply reference leak".

    Linux kernel power: supply: bq25890 driver Device-managed cleanup registration = Register a device-managed cleanup action immediately after acquiring the power_supply reference in bq25890_fw_probe() (release the reference on subsequent probe failures and on driver detach)

Event History

Sep 11, 2026
CVE Published
via MITRE·07:43 PM
Data Sourced
via MITRE·07:43 PM
Description

Frequently Asked Questions

1

Can the leaked reference persist after the driver is removed?

Yes. The reference to the secondary charger can remain leaked on driver detach as well as on subsequent probe failures.

2

Does the leak require the initial firmware probe step to fail?

No. It can occur when bq25890_fw_probe() succeeds but a later initialization step fails, including bq25890_hw_init().

3

What does the fix change to prevent the leak?

It registers a device-managed cleanup action immediately after acquiring the secondary charger reference. That cleanup releases the reference on later probe failures and when the driver is detached.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203