Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-89797

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89797

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "13151631b5bd06a1511353bb221079bbd76606c3",
        "lessThan": "c2ce9b8f325f522e10e4d262b37ae49deb83e79b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "13151631b5bd06a1511353bb221079bbd76606c3",
        "lessThan": "c660c017dec1fd7cd88e1103c5ae1aae6ce636bf",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "13151631b5bd06a1511353bb221079bbd76606c3",
        "lessThan": "013731074ab6a8d11ec209eee64c5b2656954479",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "13151631b5bd06a1511353bb221079bbd76606c3",
        "lessThan": "75b1e88d34254f4fb7753345e21bfee47abddd7f",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/power/supply/ab8500_fg.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3.4"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "3.4",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.112",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.51",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.5",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/power/supply/ab8500_fg.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89797

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#36265 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement