-

CVE-2026-89797

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

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 13151631b5bd06a1511353bb221079bbd76606c3
Version < c2ce9b8f325f522e10e4d262b37ae49deb83e79b
Status affected
Version 13151631b5bd06a1511353bb221079bbd76606c3
Version < c660c017dec1fd7cd88e1103c5ae1aae6ce636bf
Status affected
Version 13151631b5bd06a1511353bb221079bbd76606c3
Version < 013731074ab6a8d11ec209eee64c5b2656954479
Status affected
Version 13151631b5bd06a1511353bb221079bbd76606c3
Version < 75b1e88d34254f4fb7753345e21bfee47abddd7f
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 3.4
Status affected
Version 0
Version < 3.4
Status unaffected
Version <= 6.12.*
Version 6.12.112
Status unaffected
Version <= 6.18.*
Version 6.18.51
Status unaffected
Version <= 7.2.*
Version 7.2.5
Status unaffected
Version <= *
Version 7.3-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.2% 0.099
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/c660c017dec1fd7cd88e1103c5ae1aae6ce636bf
https://git.kernel.org/stable/c/013731074ab6a8d11ec209eee64c5b2656954479
https://git.kernel.org/stable/c/75b1e88d34254f4fb7753345e21bfee47abddd7f
https://git.kernel.org/stable/c/c2ce9b8f325f522e10e4d262b37ae49deb83e79b