Vulnerability record
soc: qcom: pmic_pdcharger_ulog: prevent work requeue during remove
In the Linux kernel, the following vulnerability has been resolved:
soc: qcom: pmic_pdcharger_ulog: prevent work requeue during remove
pmic_pdcharger_ulog_rpmsg_remove() 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 cancel_delayed_work_sync() returns and queue the worker again.
Device cleanup then frees the devm-allocated pmic_pdcharger_ulog while the requeued delayed work still embeds and dereferences that object. KASAN reports a…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources