CVE-2026-143445: soc: qcom: pmic_pdcharger_ulog: prevent work requeue during remove

Published Dec 5, 2026
·
Updated

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

soc: qcom: pmicpdchargerulog: prevent work requeue during remove

pmicpdchargerulogrpmsgremove() cancels the delayed worker while the RPMsg endpoint can still deliver callbacks. The RPMsg core invokes the driver remove callback before destroying the endpoint, so a response callback can run after canceldelayedworksync() returns and queue the worker again.

Device cleanup then frees the devm-allocated pmicpdchargerulog while the requeued delayed work still embeds and dereferences that object. KASAN reports a slab-use-after-free in pmicpdchargerulogwork().

Use disabledelayedworksync() to drain the worker and reject queue attempts that race with removal.

The issue was reproduced in four of four runs with the real target driver, RPMsg bus removal, endpoint teardown, workqueue code and devres cleanup. The test provider delivered a valid response in the window between the driver remove callback and endpoint destruction. With this change, the same late callback occurred in four of four runs without a KASAN report, warning, Oops or panic.

The reproducer uses a test RPMsg provider to control the teardown timing. No unprivileged trigger or physical Qualcomm-device result is claimed.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In pmic_pdcharger_ulog_rpmsg_remove(), use disable_delayed_work_sync() to drain the worker and reject requeue attempts racing with removal; invoke the driver remove callback before destroying the RPMsg endpoint.

Event History

Dec 5, 2026
CVE Published
via MITRE·01:41 AM
Data Sourced
via MITRE·01:41 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the use-after-free?

The affected PMIC PD charger ulog driver must be removed while its RPMsg endpoint can still deliver a response callback. A valid late response arriving after the delayed worker is cancelled but before endpoint destruction can requeue that worker, which later dereferences freed driver state.

2

Who is most likely exposed to this issue?

Systems using the Linux kernel's Qualcomm PMIC PD charger ulog RPMsg driver are the relevant population. The issue depends on RPMsg bus removal and teardown timing, rather than ordinary steady-state operation.

3

How can I tell whether the issue is occurring?

KASAN can report a slab use-after-free in pmic_pdcharger_ulog_work(). The described failure may also manifest as a warning, Oops, or panic during RPMsg device removal or endpoint teardown.

4

What should be done if the driver cannot be updated immediately?

The provided data does not identify a configuration workaround. Reducing or avoiding removal of the affected RPMsg device while callbacks may still be delivered may reduce exposure, but the documented fix is to prevent delayed-work requeue attempts during removal.

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