Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-64594— usb: gadget: f_fs: initialize reset_work at allocation time

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会开源的一款操作系统内核。 Linux kernel存在安全漏洞,该漏洞源于usb gadget f_fs的reset_work未初始化,导致在卸载functionfs实例时调用cancel_work_sync()触发内核警告。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.17% · P6

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 18d6b32fca3841f7cd9479b4024abd8a9b299281< 7fe895e0a9651518c4fc082487da770ff9c14c7f affected
18d6b32fca3841f7cd9479b4024abd8a9b299281< 0de6ebbabfbbc9c28350283dc97d8a519d5c6dd7 affected
18d6b32fca3841f7cd9479b4024abd8a9b299281< cb19e54ebe9baf3c3243083ade65c937339ccb7b affected
18d6b32fca3841f7cd9479b4024abd8a9b299281< d5631081be07f20e764d3cb5c98ac0a1004fba51 affected
18d6b32fca3841f7cd9479b4024abd8a9b299281< c36393b0d14e1e9783888f821ffe29381b8f46dc affected
18d6b32fca3841f7cd9479b4024abd8a9b299281< 69faa3779250df14f51d5084f938a99809546e52 affected
18d6b32fca3841f7cd9479b4024abd8a9b299281< ba1867999dbc4085e6d8c52ac5266005b8b2bf07 affected
18d6b32fca3841f7cd9479b4024abd8a9b299281< 3137b243c93982fe3460335e12f9247739766e10 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-64594

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
usb: gadget: f_fs: initialize reset_work at allocation time
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: initialize reset_work at allocation time ffs_fs_kill_sb() unconditionally calls cancel_work_sync() on ffs->reset_work when a functionfs instance is unmounted: ffs_data_reset(ffs); cancel_work_sync(&ffs->reset_work); However ffs->reset_work is only ever initialized via INIT_WORK() in ffs_func_set_alt() and ffs_func_disable(), and only on the FFS_DEACTIVATED path. That state is reached solely by ffs_data_closed() when the instance is mounted with the "no_disconnect" option, so for the common case (no "no_disconnect", or mounted and unmounted without ever being deactivated) reset_work is never initialized. ffs_data_new() allocates the ffs_data with kzalloc_obj() and does not initialize reset_work, and ffs_data_reset()/ffs_data_clear() do not touch it either, so reset_work.func is left NULL. cancel_work_sync() on such a work then trips the WARN_ON(!work->func) guard in __flush_work(): WARNING: kernel/workqueue.c:4301 at __flush_work+0x330/0x360, CPU#3: umount Call trace: __flush_work cancel_work_sync ffs_fs_kill_sb [usb_f_fs] deactivate_locked_super deactivate_super cleanup_mnt __cleanup_mnt task_work_run exit_to_user_mode_loop el0_svc On older kernels cancel_work_sync() on a zero-initialized work struct was a silent no-op, which hid the missing initialization. Initialize reset_work once in ffs_data_new() so it is always valid for the lifetime of the ffs_data, and drop the now-redundant INIT_WORK() calls from the two deactivation paths.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会开源的一款操作系统内核。 Linux kernel存在安全漏洞,该漏洞源于usb gadget f_fs的reset_work未初始化,导致在卸载functionfs实例时调用cancel_work_sync()触发内核警告。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 18d6b32fca3841f7cd9479b4024abd8a9b299281 ~ 7fe895e0a9651518c4fc082487da770ff9c14c7f -
Linux Linux 4.0 -

II. Public POCs for CVE-2026-64594

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-64594

登录查看更多情报信息。

Patches & Fixes for CVE-2026-64594 (8)

Same Patch Batch · Linux · 2026-08-06 · 22 CVEs total

CVE-2026-64597 9.8 CRITICAL smb: client: fix double-free in SMB2_close() replay
CVE-2026-64586 8.8 HIGH wifi: brcmfmac: drain bus_reset work on device removal
CVE-2026-64598 8.8 HIGH smb/client: Fix error code in smb2_aead_req_alloc()
CVE-2026-64584 7.8 HIGH usb: gadget: f_midi: cancel pending IN work before freeing the midi object
CVE-2026-64585 7.8 HIGH can: esd_usb: kill anchored URBs before freeing netdevs
CVE-2026-64588 7.8 HIGH fuse-uring: fix data races on ring->ready
CVE-2026-64583 7.8 HIGH usb: gadget: udc: bdc: free IRQ and drain func_wake_notify before teardown
CVE-2026-64601 7.8 HIGH ALSA: us144mkii: capture_urb_complete: redundant usb_anchor_urb corrupts anchor list on ea
CVE-2026-64599 7.8 HIGH crypto: amlogic - avoid double cleanup in meson_crypto_probe()
CVE-2026-64587 7.0 HIGH net: ethernet: arc: emac: quiesce interrupts before requesting IRQ
CVE-2026-68480 x86/bugs: Make Safe-RET robust against interrupt injection
CVE-2026-64604 KVM: VMX: Grab vmcs12 on CR8 interception update iff vCPU is in guest mode
CVE-2026-64603 platform/x86: intel-hid: Protect ACPI notify handler against recursion
CVE-2026-64602 iio: adc: spear: Initialize completion before requesting IRQ
CVE-2026-64596 libfs: set SB_I_NOEXEC and SB_I_NODEV by default in init_pseudo()
CVE-2026-64595 HID: hid-lenovo-go: cancel cfg_setup work in hid_go_cfg_remove()
CVE-2026-64593 btrfs: do not trim a device which is not writeable
CVE-2026-64592 riscv: mm: Unconditionally sfence.vma for spurious fault
CVE-2026-64591 iommu/vt-d: Avoid WARNING in sva unbind path
CVE-2026-64590 dma-buf/udmabuf: skip redundant cpu sync to fix cacheline EEXIST warning

Showing top 20 of 22 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-64594

No comments yet


Leave a comment