power: supply: pf1550: drain IRQ work before unregistering supplies
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2a3ac39a7a260895d794e0a175e9b9a8d2acd207, Kernel 4856b49317ccd4ce96a0e8970df7d13ce8975a02 and Kernel 7.3.2.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=4b6b6433a97d5863b5340fc87f866d784fdf0783 <2a3ac39a7a260895d794e0a175e9b9a8d2acd207, >=4b6b6433a97d5863b5340fc87f866d784fdf0783 <4856b49317ccd4ce96a0e8970df7d13ce8975a02 | 2a3ac39a7a260895d794e0a175e9b9a8d2acd207, 4856b49317ccd4ce96a0e8970df7d13ce8975a02 |
| linux-kernel: Kernel | >=6.19.0 <7.3.2 | 7.3.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket