power: supply: pf1550: drain IRQ work before unregistering supplies

State
Published
Severity
Not Scored
Published
Nov 19, 2026
Updated
Nov 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

power: supply: pf1550: drain IRQ work before unregistering supplies

The VBUS work calls power_supply_changed(), but its managed cancellation is registered before the supplies. Cleanup can therefore unregister a supply while IRQ-triggered work is still pending.

Commit 838767f50747 ("power: supply: pf1550: Fix use-after-free in power_supply_changed()") moved IRQ requests after supply registration, but left work cancellation before the supplies. That change protects the direct IRQ callbacks, while this fix drains the work they queue.

Register the three work items after both supplies and before the IRQs. Cleanup then frees the IRQ producers, drains the work, and unregisters the supplies.

The teardown ordering issue was found by static analysis.

ProductVersions
Linux Linux4b6b6433a97d5863b5340fc87f866d784fdf0783 to before 2a3ac39a7a260895d794e0a175e9b9a8d2acd207 Affected4b6b6433a97d5863b5340fc87f866d784fdf0783 to before 4856b49317ccd4ce96a0e8970df7d13ce8975a02 Affected
Linux Linux6.19 Affectedbefore 6.19 Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.