← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel ab8500 Power Supply Driver Frees Memory Before Its Interrupt Handler Stops, Creating a Use-After-Free

Last refreshed2026-11-24

Status: UPDATED  |  Advisory ID: CVE-2026-45946

Key Details

CVECVE-2026-45946
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-11-23
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Classified as
CWE-416 (Use After Free)
Exploitation prediction (EPSS)
0.16% probability of exploitation in the next 30 days (5% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

In the Linux kernel, the following vulnerability has been resolved:

power: supply: ab8500: Fix use-after-free in power_supply_changed()

Using the `devm_` variant for requesting IRQ _before_ the `devm_`

variant for allocating/registering the `power_supply` handle, means that

the `power_supply` handle will be deallocated/unregistered _before_ the

interrupt handler (since `devm_` naturally deallocates in reverse

allocation order). This means that during removal, there is a race

condition where an interrupt can fire just _after_ the `power_supply`

handle has been freed, *but* just _before_ the corresponding

unregistration of the IRQ handler has run.

This will lead to the IRQ handler calling `power_supply_changed()` with

a freed `power_supply` handle. Which usually crashes the system or

otherwise silently corrupts the memory...

Note that there is a similar situation which can also happen during

`probe()`; the possibility of an interrupt firing _before_ registering

the `power_supply` handle. This would then lead to the nasty situation

of using the `power_supply` handle *uninitialized* in

`power_supply_changed()`.

Commit 1c1f13a006ed ("power: supply: ab8500: Move to componentized

binding") introduced this issue during a refactorization. Fix this racy

use-after-free by making sure the IRQ is requested _after_ the

registration of the `power_supply` handle. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-45946
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-45946
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.