CVE-2026-89475
power: supply: bq24257: fix use-after-free on remove
Reported by linux · Published September 11, 2026
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.
EPSS 0.22% · 12.2th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2219a935963e5eeb19e5abfb99475fcc06bbb804, 2219a935963e5eeb19e5abfb99475fcc06bbb804, 2219a935963e5eeb19e5abfb99475fcc06bbb804 |
| Linux | Linux | 4.2, 0, 5.10.273 |
| linux | linux_kernel | 4.2, 4.2, 4.2 |
| Linux | Linux | 2219a935963e5eeb19e5abfb99475fcc06bbb804, 2219a935963e5eeb19e5abfb99475fcc06bbb804, 2219a935963e5eeb19e5abfb99475fcc06bbb804 |
Timeline
- Sep 11, 2026 CVE Published
- Sep 12, 2026 EPSS Score (17 in total, the first dated here)
- Sep 12, 2026 Coalition ESS Score
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-89475
vulnetix vdb fixes CVE-2026-89475
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89475/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart