Skip to main content

In the Linux kernel, the following vulnerability has been resolved: power: supply: bq24257: fix use-after-free on remove The STAT-pin interrupt is… (CVE-2026-89475)

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

Description

A use-after-free vulnerability in the Linux kernel's power supply driver for bq24257 has been fixed. The issue arises because the STAT-pin interrupt is device-managed and remains armed until after the remove() function returns, allowing a threaded handler to reschedule work on freed memory. The fix involves making the delayed work device-managed and ensuring proper cleanup order to prevent the handler from accessing freed memory.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The Linux kernel's power supply driver for bq24257 had a use-after-free vulnerability triggered during device removal. The STAT-pin interrupt is managed by devm and remains active until devm cleanup runs after remove() returns. During remove(), the driver cancels scheduled work, but the threaded interrupt handler can still fire and reschedule this work, causing it to run against freed memory. The fix changes the delayed work to be device-managed with devm_delayed_work_autocancel(), ensuring the interrupt is released before the work is canceled and memory freed, preventing use-after-free conditions. This vulnerability was found by static analysis.

Potential Impact

This vulnerability could lead to use-after-free conditions in kernel memory, potentially causing system instability or crashes. There is no indication of known exploits in the wild. The impact is limited to the affected driver and occurs during device removal.

Mitigation Recommendations

A fix is available and has been applied in the Linux kernel source. Users should update to a kernel version that includes this fix. No additional mitigation is required beyond applying the official patch.

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-pg63-6v2p-p54j
Osv Schema Version
1.4.0
Aliases
["CVE-2026-89475"]

Threat ID: 6aa4a01c55bf5e2cf5a8672d

Added to database: 09/12/2026, 00:43:08 UTC

Last enriched: 09/12/2026, 01:15:18 UTC

Last updated: 09/12/2026, 01:15:18 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