Skip to main content

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: aspeed-vhub: cancel wake work on device removal wake_work is armed… (CVE-2026-98766)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:32:02 UTC)
Source: GCVE Database

Description

A use-after-free vulnerability in the Linux kernel's usb gadget driver for aspeed-vhub was resolved. The issue occurs because a wake_work item is not properly cancelled during device removal, allowing a work item to run after the device and its ports have been freed. The fix involves cancelling the work item atomically with device unbinding and refusing wakeup requests once the device is unregistered. This vulnerability was discovered via static analysis and has no known exploits in the wild.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 22:23:35 UTC

Technical Analysis

The Linux kernel usb gadget driver for aspeed-vhub had a use-after-free vulnerability (CVE-2026-98766) caused by the wake_work item not being cancelled in ast_vhub_remove(). This allowed a queued work item to execute after the device and its ports were freed, leading to potential memory corruption. The root cause was that usb_gadget_wakeup() could re-arm the work after cancellation due to lack of locking and the unbind path not clearing wakeup_en. The patch introduced an atomic check of the device's registered state under a lock to refuse wakeup requests after unbinding, ensuring that any wake_work is properly drained before freeing the device. INIT_WORK() was also moved to the probe start to avoid cancelling uninitialized work. The vulnerability was found by an internal static analysis tool. No CVSS score or known exploits are reported.

Potential Impact

This vulnerability could lead to use-after-free conditions in the Linux kernel usb gadget driver, potentially causing kernel memory corruption or instability. However, no known exploits in the wild have been reported. The impact is limited to systems running the affected usb gadget driver for aspeed-vhub.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel by cancelling the wake_work item atomically during device removal and refusing wakeup requests once the device is unregistered. Users should apply the official kernel update containing this patch when available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory or Linux kernel mailing lists for the exact fixed versions and update guidance.

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-5m27-6x28-p9v6
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98766"]

Threat ID: 6ad520ab2cdf04f6569939cc

Added to database: 10/18/2026, 19:40:27 UTC

Last enriched: 10/18/2026, 22:23:35 UTC

Last updated: 10/18/2026, 22:23:35 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