# CVE-2026-89797: power: supply: ab8500_fg: fix use-after-free on remove

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-02)
- Published: 2026-09-16T10:30:28.484Z
- Modified: 2026-10-19T09:18:23.493Z
- Assigned by: Linux

## Description

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

power: supply: ab8500_fg: fix use-after-free on remove

ab8500_fg_remove() destroys the driver workqueue while the threaded
interrupt handlers are still armed; they are devm-managed and freed
only after ->remove() returns, so a handler that fires in that
window queues work on the freed workqueue.

Tear the workqueue down through devm instead, registering its cleanup
after the power supply and before the interrupt requests.  devm then
frees the interrupts first, so the handlers can no longer queue work,
before disabling the delayed and plain work items and destroying the
workqueue.  Disabling the items, rather than cancelling them, keeps
them disabled so no producer (including the power-supply
external_power_changed callback) can requeue them.

Found by an in-house static analysis tool.

(As written by CVE List.)

## Affected

- Linux Linux: from 13151631b5bd06a1511353bb221079bbd76606c3 before c2ce9b8f325f522e10e4d262b37ae49deb83e79b; from 13151631b5bd06a1511353bb221079bbd76606c3 before c660c017dec1fd7cd88e1103c5ae1aae6ce636bf; from 13151631b5bd06a1511353bb221079bbd76606c3 before 013731074ab6a8d11ec209eee64c5b2656954479; from 13151631b5bd06a1511353bb221079bbd76606c3 before 75b1e88d34254f4fb7753345e21bfee47abddd7f; 3.4 (not affected: before 3.4; from 6.12.112 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/c2ce9b8f325f522e10e4d262b37ae49deb83e79b>
- <https://git.kernel.org/stable/c/c660c017dec1fd7cd88e1103c5ae1aae6ce636bf>
- <https://git.kernel.org/stable/c/013731074ab6a8d11ec209eee64c5b2656954479>
- <https://git.kernel.org/stable/c/75b1e88d34254f4fb7753345e21bfee47abddd7f>

## Sources

- CVE List: [CVE-2026-89797](https://www.cve.org/CVERecord?id=CVE-2026-89797), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89797](https://nvd.nist.gov/vuln/detail/CVE-2026-89797), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89797 · Whole record: https://cve.day/CVE-2026-89797.json · Rebuilt by cve.day 2026-11-25T22:59:38.940Z
