Skip to main content

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: at91_udc: drain polled-VBUS timer/work before udc is freed In… (CVE-2026-89738)

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

Description

A use-after-free vulnerability in the Linux kernel's at91_udc USB gadget driver was resolved. The issue occurs because a polled-VBUS timer and work cycle continue to reference a USB device controller (udc) after it has been freed during driver removal or probe failure. This can lead to dereferencing freed memory. The fix involves properly shutting down the timer and draining pending work before freeing the udc, preventing use-after-free conditions.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 00:50:54 UTC

Technical Analysis

The vulnerability in the Linux kernel's at91_udc USB gadget driver arises from a polled-VBUS timer and associated work item that repeatedly access the same udc structure via container_of. When the driver is removed or probe fails, the udc is freed without cancelling this timer/work cycle, causing a use-after-free. The patch adds a shutdown function that synchronously stops the timer and cancels any pending work before freeing the udc, ensuring no callbacks dereference freed memory. This flaw does not require a fault to trigger; normal driver unbind can race with queued work. The issue was discovered by an internal static analysis tool.

Potential Impact

Dereferencing freed memory can lead to undefined behavior including kernel crashes or potential escalation of privileges if exploited. However, there are no known exploits in the wild. The flaw affects the stability and security of the affected USB gadget driver in the Linux kernel.

Mitigation Recommendations

A fix is available that properly shuts down the polled-VBUS timer and cancels pending work before freeing the udc structure. Users should apply the official Linux kernel patches that include this fix. No additional mitigation is required beyond applying the 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-3f57-g7j5-hj3q
Osv Schema Version
1.4.0
Aliases
["CVE-2026-89738"]

Threat ID: 6aa49ffb55bf5e2cf5a865d9

Added to database: 09/12/2026, 00:42:35 UTC

Last enriched: 09/12/2026, 00:50:54 UTC

Last updated: 09/12/2026, 00:50:54 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