---
id: CVE-2026-89797
title: |-
  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…
summary: |-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 13151631b5bd06a1511353bb221079bbd76606c3 <
    c660c017dec1fd7cd88e1103c5ae1aae6ce636bf
  - >-
    Linux >= 13151631b5bd06a1511353bb221079bbd76606c3 <
    013731074ab6a8d11ec209eee64c5b2656954479
  - >-
    Linux >= 13151631b5bd06a1511353bb221079bbd76606c3 <
    75b1e88d34254f4fb7753345e21bfee47abddd7f
  - Linux 3.4
published: '2026-09-16'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T11:16:44.547'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89797'
references:
  - url: 'https://git.kernel.org/stable/c/013731074ab6a8d11ec209eee64c5b2656954479'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/75b1e88d34254f4fb7753345e21bfee47abddd7f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c660c017dec1fd7cd88e1103c5ae1aae6ce636bf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-16T10:53:54.010Z'
epss: 0.00206
epssPercentile: 0.09424
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
