CVE-2026-89463: power: supply: ucs1002: fix use-after-free on remove

Published Sep 11, 2026
·
Updated

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

power: supply: ucs1002: fix use-after-free on remove

ucs1002 has no remove callback, so unbind runs entirely through devm. The alert IRQ handler queues the healthpoll delayed work, and the work reschedules itself while the chip reports a bad-health condition. devm frees the alert IRQ, which only synchronizes the handler; it does not cancel the delayed work, which can then run after devm frees the driver data and dereference it.

Register healthpoll with devmdelayedworkautocancel() before the alert IRQ is requested. devm then frees the IRQ before cancelling the work, so the handler can no longer queue it and the work is cancelled before the driver data is freed.

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

Event History

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

Frequently Asked Questions

1

When can the use-after-free occur?

It can occur during driver unbind or device removal after the alert IRQ handler has queued the health_poll delayed work. The risk persists when the chip reports a bad-health condition because the delayed work reschedules itself.

2

What component must be present for a system to be affected?

The affected component is the Linux kernel ucs1002 power-supply driver. The vulnerable path requires its alert IRQ and health_poll delayed-work handling during removal.

3

What change resolves the issue?

The fix registers health_poll with devm_delayed_work_autocancel() before requesting the alert IRQ. This prevents the IRQ handler from queuing work during teardown and cancels pending work before the driver data 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