CVE Catalog

CVE-2026-90394

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, the sc2731_charger power supply driver does not cancel scheduled work on device removal. The USB notifier and initial charger detection can schedule info->work, but the remove path unregisters the notifier without cancelling queued or running work before the devm-allocated driver data is released. The issue was found by a static analysis tool.

Risk Assessment

This can lead to a use-after-free during device removal, causing kernel instability or potential code execution. Systems using this charger driver are affected.

Recommendation

Update the Linux kernel to a version containing the fix that sets the platform drvdata and cancels the work after unregistering the notifier. If updating is not possible, avoid dynamically removing the charger device.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: power: supply: sc2731_charger: cancel work on remove The USB notifier and initial charger detection can schedule info->work. The remove path unregisters the notifier, but does not cancel queued or running work before the devm-allocated driver data is released. Set the platform drvdata used by remove, then cancel the work after unregistering the notifier. This issue was found by a static analysis tool.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS