What happened
In the Linux kernel, the following vulnerability has been resolved: power: supply: lp8727: fix use-after-free in lp8727_release_irq() lp8727_isr_func(), the threaded IRQ handler, is the only caller that arms pchg->work via schedule_delayed_work(). lp8727_release_irq() currently cancels the work before freeing the IRQ, so an IRQ delivered in between can re-arm the work through the threaded handler. After .remove returns the devm layer frees pchg while lp8727_delayed_func() may still run and dereference it. Free the IRQ first so the threaded handler is quiesced and can no longer queue work, then cancel the delayed work to drain the final generation. This issue was found by an in-house static analysis tool.
Affected versions
Linux: d71fda01610269e3aaedd451f8d3e34cdf550036 through before 80d4e40a85ba524e66c8c748aa7bb19eaf2f69df (git); d71fda01610269e3aaedd451f8d3e34cdf550036 through before ab6b1ad710bed7931540733ce145493fece8ceef (git); d71fda01610269e3aaedd451f8d3e34cdf550036 through before 6ab3128292df67295de1b2a86f21d89cf6612a7e (git); d71fda01610269e3aaedd451f8d3e34cdf550036 through before ceb6ac43b0f591722401922ceb958ce2616935e0 (git); 3.7 Fixed: See vendor advisory.
Why it matters
Review the vendor advisory and exposure of the affected product to determine operational impact.
Detection & mitigation
- Apply vendor-provided updates or mitigations.
- Review affected product exposure and access logs.
Public PoC references
No public PoC reference has passed the current publication threshold.