Skip to main content

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)

0
Medium
Published: 09/11/2026 (09/11/2026, 21:31:27 UTC)
Source: GCVE Database

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

AILast updated: 09/12/2026, 01:15:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses