# CVE-2026-89475: power: supply: bq24257: fix use-after-free on remove

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-11T19:43:32.537Z
- **Modified:** 2026-10-30T13:20:17.380Z

## Who should check

- Anyone running Linux \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 9aace29bbcfa64450c53773ed2f20e95987b3690; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 9d77fd7dd9a3ad57f7655c5264b503b85adbb7b8; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< a279e64c907f5638bb34cb8e2c9285798cf5f690; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 6d2eb93975c07b0169a3287efc1ae3b60cf52d8e; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 861ec73ce86e2ca18082cc7be4f140a5bbdf1428; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< f495808cdd6d9576965787cf6d9737d0b0e86b73; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 47ccbad210f48721c30d69d65b83dc9fff919ca9; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 9d34c9d660c3d0931d2cc749c46c47cf31f96e48
- Anyone running Linux 4.2

## Description

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

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

The STAT-pin interrupt is devm-managed, so it stays armed until the devm
cleanup that runs after remove() returns. remove() cancels
bq-\>iilimit\_setup\_work while the threaded handler can still fire; that
handler reschedules the work and dereferences bq, so the work runs
against freed memory once devm frees bq.

Make the delayed work device-managed with devm\_delayed\_work\_autocancel(),
registered before the interrupt request. The devm cleanup then releases
the interrupt first, so the handler can no longer reschedule the work,
and cancels the work before bq is freed. The explicit
cancel\_delayed\_work\_sync() in remove() is no longer needed and is dropped.

Found by static analysis.

## Affected and fixed versions

- Linux: \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 9aace29bbcfa64450c53773ed2f20e95987b3690; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 9d77fd7dd9a3ad57f7655c5264b503b85adbb7b8; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< a279e64c907f5638bb34cb8e2c9285798cf5f690; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 6d2eb93975c07b0169a3287efc1ae3b60cf52d8e; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 861ec73ce86e2ca18082cc7be4f140a5bbdf1428; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< f495808cdd6d9576965787cf6d9737d0b0e86b73; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 47ccbad210f48721c30d69d65b83dc9fff919ca9; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 9d34c9d660c3d0931d2cc749c46c47cf31f96e48 (cvelist)
- Linux: 4.2 (cvelist)

## Mitigation

- Upgrade Linux to 9d34c9d660c3d0931d2cc749c46c47cf31f96e48 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89475. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89475.md
Affected: Linux >= 2219a935963e5eeb19e5abfb99475fcc06bbb804, < 9aace29bbcfa64450c53773ed2f20e95987b3690; >= 2219a935963e5eeb19e5abfb99475fcc06bbb804, < 9d77fd7dd9a3ad57f7655c5264b503b85adbb7b8; >= 2219a935963e5eeb19e5abfb99475fcc06bbb804, < a279e64c907f5638bb34cb8e2c9285798cf5f690; >= 2219a935963e5eeb19e5abf…
Fixed in: Linux 9aace29bbcfa64450c53773ed2f20e95987b3690, Linux 9d77fd7dd9a3ad57f7655c5264b503b85adbb7b8, Linux 6d2eb93975c07b0169a3287efc1ae3b60cf52d8e, Linux 861ec73ce86e2ca18082cc7be4f140a5bbdf1428, Linux 47ccbad210f48721c30d69d65b83dc9fff919ca9, Linux 9d34c9d660c3d0931d2cc749c46c47cf31f96e48

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89475 being exploited?

There is no confirmed exploitation: CVE-2026-89475 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89475?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89475?

Linux \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 9aace29bbcfa64450c53773ed2f20e95987b3690; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 9d77fd7dd9a3ad57f7655c5264b503b85adbb7b8; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< a279e64c907f5638bb34cb8e2c9285798cf5f690; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 6d2eb93975c07b0169a3287efc1ae3b60cf52d8e; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 861ec73ce86e2ca18082cc7be4f140a5bbdf1428; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< f495808cdd6d9576965787cf6d9737d0b0e86b73; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 47ccbad210f48721c30d69d65b83dc9fff919ca9; \>= 2219a935963e5eeb19e5abfb99475fcc06bbb804, \< 9d34c9d660c3d0931d2cc749c46c47cf31f96e48; Linux 4.2.

### Is there a fix for CVE-2026-89475?

Yes. Fixed in Linux 9aace29bbcfa64450c53773ed2f20e95987b3690, Linux 9d77fd7dd9a3ad57f7655c5264b503b85adbb7b8, Linux 6d2eb93975c07b0169a3287efc1ae3b60cf52d8e, Linux 861ec73ce86e2ca18082cc7be4f140a5bbdf1428, Linux 47ccbad210f48721c30d69d65b83dc9fff919ca9, Linux 9d34c9d660c3d0931d2cc749c46c47cf31f96e48. Upgrade Linux to 9d34c9d660c3d0931d2cc749c46c47cf31f96e48 or later.

### How do I check if I'm affected by CVE-2026-89475?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/9aace29bbcfa64450c53773ed2f20e95987b3690>
- other: <https://git.kernel.org/stable/c/9d77fd7dd9a3ad57f7655c5264b503b85adbb7b8>
- other: <https://git.kernel.org/stable/c/a279e64c907f5638bb34cb8e2c9285798cf5f690>
- other: <https://git.kernel.org/stable/c/6d2eb93975c07b0169a3287efc1ae3b60cf52d8e>
- other: <https://git.kernel.org/stable/c/861ec73ce86e2ca18082cc7be4f140a5bbdf1428>
- other: <https://git.kernel.org/stable/c/f495808cdd6d9576965787cf6d9737d0b0e86b73>
- other: <https://git.kernel.org/stable/c/47ccbad210f48721c30d69d65b83dc9fff919ca9>
- other: <https://git.kernel.org/stable/c/9d34c9d660c3d0931d2cc749c46c47cf31f96e48>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89475>

HTML: <https://flawdb.com/CVE-2026-89475> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89475>
