In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: initialize reset_work at allocation time ffs_fs_kill_sb()… (CVE-2026-64594)
A vulnerability in the Linux kernel's USB gadget function filesystem (functionfs) was resolved by ensuring that the reset_work structure is properly initialized at allocation time. Previously, reset_work was only initialized under certain deactivation conditions, leading to a potential kernel warning or instability when cancel_work_sync() was called on an uninitialized work struct during unmounting. This fix initializes reset_work at allocation to prevent such issues.
AI Analysis
Technical Summary
The Linux kernel's usb gadget function filesystem (functionfs) had a flaw where the reset_work workqueue item was not always initialized when a functionfs instance was unmounted. Specifically, ffs_fs_kill_sb() calls cancel_work_sync() on reset_work unconditionally, but reset_work was only initialized in certain deactivation paths. In common cases, reset_work remained uninitialized, causing cancel_work_sync() to trigger a kernel warning due to a NULL function pointer. The patch initializes reset_work at allocation time in ffs_data_new(), ensuring it is always valid for the lifetime of the ffs_data structure and removing redundant initializations in deactivation paths.
Potential Impact
This vulnerability could cause kernel warnings and potentially unstable behavior during unmount operations of functionfs instances, due to cancel_work_sync() being called on an uninitialized work struct. While this does not indicate direct code execution or privilege escalation, it may lead to kernel instability or crashes in affected systems.
Mitigation Recommendations
A fix has been implemented that initializes reset_work at allocation time in the Linux kernel source code. Users should update to a Linux kernel version that includes this patch once available. Patch status is not yet confirmed — check the vendor advisory or Linux kernel mailing lists for the current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: initialize reset_work at allocation time ffs_fs_kill_sb()… (CVE-2026-64594)
Description
A vulnerability in the Linux kernel's USB gadget function filesystem (functionfs) was resolved by ensuring that the reset_work structure is properly initialized at allocation time. Previously, reset_work was only initialized under certain deactivation conditions, leading to a potential kernel warning or instability when cancel_work_sync() was called on an uninitialized work struct during unmounting. This fix initializes reset_work at allocation to prevent such issues.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's usb gadget function filesystem (functionfs) had a flaw where the reset_work workqueue item was not always initialized when a functionfs instance was unmounted. Specifically, ffs_fs_kill_sb() calls cancel_work_sync() on reset_work unconditionally, but reset_work was only initialized in certain deactivation paths. In common cases, reset_work remained uninitialized, causing cancel_work_sync() to trigger a kernel warning due to a NULL function pointer. The patch initializes reset_work at allocation time in ffs_data_new(), ensuring it is always valid for the lifetime of the ffs_data structure and removing redundant initializations in deactivation paths.
Potential Impact
This vulnerability could cause kernel warnings and potentially unstable behavior during unmount operations of functionfs instances, due to cancel_work_sync() being called on an uninitialized work struct. While this does not indicate direct code execution or privilege escalation, it may lead to kernel instability or crashes in affected systems.
Mitigation Recommendations
A fix has been implemented that initializes reset_work at allocation time in the Linux kernel source code. Users should update to a Linux kernel version that includes this patch once available. Patch status is not yet confirmed — check the vendor advisory or Linux kernel mailing lists for the current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-28fc-4vwx-pr32
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64594"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cfa0bf8831d5391b0a28
Added to database: 08/06/2026, 18:17:04 UTC
Last enriched: 08/06/2026, 19:12:56 UTC
Last updated: 08/07/2026, 00:41:15 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.