In the Linux kernel, the following vulnerability has been resolved: power: supply: twl4030_charger: cancel workers via devm bci is devm-allocated. (CVE-2026-89464)
A vulnerability in the Linux kernel's power supply driver for twl4030_charger was resolved. The issue involved improper cancellation of worker threads during device removal, which could lead to use-after-free conditions. Specifically, two workers referencing a devm-allocated structure were not properly canceled, allowing a worker to run after the structure was freed. The fix involved using devm_work_autocancel() and devm_delayed_work_autocancel() to ensure workers are canceled before freeing resources.
AI Analysis
Technical Summary
The Linux kernel vulnerability (CVE-2026-89464) affected the twl4030_charger power supply driver. Two worker threads (bci->work and bci->current_worker) referenced a devm-allocated structure 'bci'. During device removal (twl4030_bci_remove()), charging was disabled and interrupts masked, but the workers were not canceled. This allowed a race condition where a worker could execute after the devm-managed 'bci' structure was freed, potentially causing use-after-free issues. The USB transceiver notifier was unregistered only after remove() returned, creating a race with cancel_work_sync(). The patch replaced cancel_work_sync() with devm_work_autocancel() and devm_delayed_work_autocancel(), which cancel workers during devm release in the correct order, preventing rescheduling after resource free.
Potential Impact
The vulnerability could lead to use-after-free conditions in the kernel, potentially causing system instability or crashes. There is no information about exploitation in the wild or privilege escalation. The impact is limited to kernel-level resource management in the twl4030_charger driver.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source to properly cancel worker threads using devm_work_autocancel() and devm_delayed_work_autocancel() during device removal. Users should update to the fixed kernel version containing this patch. No additional mitigation is indicated.
In the Linux kernel, the following vulnerability has been resolved: power: supply: twl4030_charger: cancel workers via devm bci is devm-allocated. (CVE-2026-89464)
Description
A vulnerability in the Linux kernel's power supply driver for twl4030_charger was resolved. The issue involved improper cancellation of worker threads during device removal, which could lead to use-after-free conditions. Specifically, two workers referencing a devm-allocated structure were not properly canceled, allowing a worker to run after the structure was freed. The fix involved using devm_work_autocancel() and devm_delayed_work_autocancel() to ensure workers are canceled before freeing resources.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability (CVE-2026-89464) affected the twl4030_charger power supply driver. Two worker threads (bci->work and bci->current_worker) referenced a devm-allocated structure 'bci'. During device removal (twl4030_bci_remove()), charging was disabled and interrupts masked, but the workers were not canceled. This allowed a race condition where a worker could execute after the devm-managed 'bci' structure was freed, potentially causing use-after-free issues. The USB transceiver notifier was unregistered only after remove() returned, creating a race with cancel_work_sync(). The patch replaced cancel_work_sync() with devm_work_autocancel() and devm_delayed_work_autocancel(), which cancel workers during devm release in the correct order, preventing rescheduling after resource free.
Potential Impact
The vulnerability could lead to use-after-free conditions in the kernel, potentially causing system instability or crashes. There is no information about exploitation in the wild or privilege escalation. The impact is limited to kernel-level resource management in the twl4030_charger driver.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source to properly cancel worker threads using devm_work_autocancel() and devm_delayed_work_autocancel() during device removal. Users should update to the fixed kernel version containing this patch. No additional mitigation is indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-pf33-mh27-rp5j
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89464"]
Threat ID: 6aa4a02155bf5e2cf5a86994
Added to database: 09/12/2026, 00:43:13 UTC
Last enriched: 09/12/2026, 01:15:23 UTC
Last updated: 09/12/2026, 01:15:23 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.