CVE-2026-89797
power: supply: ab8500_fg: fix use-after-free on remove
Check your servers for CVE-2026-89797
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89797 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 13151631b5bd06a1511353bb221079bbd76606c3, before c2ce9b8f325f522e10e4d262b37ae49deb83e79b affected from 13151631b5bd06a1511353bb221079bbd76606c3, before c660c017dec1fd7cd88e1103c5ae1aae6ce636bf affected from 13151631b5bd06a1511353bb221079bbd76606c3, before 013731074ab6a8d11ec209eee64c5b2656954479 affected from 13151631b5bd06a1511353bb221079bbd76606c3, before 75b1e88d34254f4fb7753345e21bfee47abddd7f
Other versions: unaffected
|
| Linux |
affected 3.4 unaffected before 3.4 unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.51 up to and including 6.18.* unaffected from 7.2.5 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89797 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89797
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-89797
trivy image --scanners vuln IMAGE | grep CVE-2026-89797
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c2ce9b8f325f522e10e4d262b37ae49deb83e79b git.kernel.org
- https://git.kernel.org/stable/c/c660c017dec1fd7cd88e1103c5ae1aae6ce636bf git.kernel.org
- https://git.kernel.org/stable/c/013731074ab6a8d11ec209eee64c5b2656954479 git.kernel.org
- https://git.kernel.org/stable/c/75b1e88d34254f4fb7753345e21bfee47abddd7f git.kernel.org
Source: the record CVE-2026-89797 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse