CVE-2026-89467: power: supply: qcom_battmgr: fix use-after-free

Published Sep 11, 2026
·
Updated

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

power: supply: qcombattmgr: fix use-after-free

qcombattmgrpdrnotify() queues enablework when the PMIC GLINK service comes up, and the worker recovers battmgr through containerof() to issue firmware requests. The PMIC GLINK client stays on the client list until its devres release action runs, so a PDR notification can keep queueing the work, and a pending or running worker can access battmgr after devres frees it.

Make enablework device-managed with devmworkautocancel(), registered before the PMIC GLINK client is allocated. The devres cleanup then releases the client first, so no further notification can queue the work, and cancels the work before battmgr is freed.

This issue was found by an in-house static analysis tool.

Affected Software

1 affected component
Linux Kernel

Event History

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

Frequently Asked Questions

1

Which systems are potentially affected?

Systems running the Linux kernel Qualcomm battery manager driver (qcom_battmgr) with a PMIC GLINK client are potentially affected. The issue involves notifications from the PMIC GLINK service.

2

What conditions are required for the use-after-free to occur?

A PMIC GLINK PDR notification must queue or leave pending the enable_work worker while the driver is being released through devres. The worker can then run after the battmgr structure has been freed.

3

What does the fix do to prevent the issue?

The fix makes enable_work device-managed with devm_work_autocancel() and registers it before allocating the PMIC GLINK client. Cleanup releases the client before cancelling the work, preventing further notifications from queuing it and ensuring the worker is cancelled before battmgr is freed.

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