In the Linux kernel, the following vulnerability has been resolved: cifs: Fix busy dentry used after unmounting Since commit 340cea84f691c ("cifs:… (CVE-2026-64108)
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix busy dentry used after unmounting Since commit 340cea84f691c ("cifs: open files should not hold ref on superblock"), cifs file only holds the dentry ref_cnt, the cifs file close work(cfile->deferred) could be executed after unmounting, which will trigger a warning in generic_shutdown_super: BUG: Dentry 00000000a14a6845{i=c,n=file} still in use (1) [unmount of cifs cifs] The detailed processs is: process A process B kworker fd = open(PATH) vfs_open file->__f_path = *path // dentry->d_lockref.count = 1 cifs_open cifs_new_fileinfo cfile->dentry = dget(dentry) // dentry->d_lockref.count = 2 close(fd) __fput cifs_close queue_delayed_work(deferredclose_wq, cfile->deferred) dput(dentry) // dentry->d_lockref.count = 1 smb2_deferred_work_close _cifsFileInfo_put list_del(&cifs_file->flist) umount cleanup_mnt deactivate_super cifs_kill_sb cifs_close_all_deferred_files_sb cifs_close_all_deferred_files // cannot find cfile, skip _cifsFileInfo_put kill_anon_super generic_shutdown_super shrink_dcache_for_umount umount_check WARN ! // dentry->d_lockref.count = 1 cifsFileInfo_put_final dput(cifs_file->dentry) // dentry->d_lockref.count = 0 Fix it by flushing 'deferredclose_wq' before calling kill_anon_super. Fetch a reproducer in https://bugzilla.kernel.org/show_bug.cgi?id=221548.
AI Analysis
Technical Summary
The Linux kernel CIFS filesystem had a vulnerability where the deferred close work (cfile->deferred) could run after the filesystem was unmounted, causing a busy dentry to be used after unmounting. This leads to a warning in generic_shutdown_super due to a dentry still being in use. The root cause is that the CIFS file close work holds a dentry reference that can be accessed after the superblock is killed during unmount. The fix involves flushing the deferredclose_wq workqueue before calling kill_anon_super to ensure no deferred close work runs post-unmount.
Potential Impact
This vulnerability can cause kernel warnings and potential instability during unmount operations of CIFS filesystems due to use-after-unmount of dentry references. While no known exploits are reported, the issue could lead to system instability or crashes related to filesystem unmounting.
Mitigation Recommendations
A fix is available and has been applied in the Linux kernel by flushing the deferredclose_wq workqueue before finalizing the unmount process. Users should update to a Linux kernel version that includes commit 340cea84f691c or later which contains this fix. No additional mitigation is required if the system is updated.
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix busy dentry used after unmounting Since commit 340cea84f691c ("cifs:… (CVE-2026-64108)
Description
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix busy dentry used after unmounting Since commit 340cea84f691c ("cifs: open files should not hold ref on superblock"), cifs file only holds the dentry ref_cnt, the cifs file close work(cfile->deferred) could be executed after unmounting, which will trigger a warning in generic_shutdown_super: BUG: Dentry 00000000a14a6845{i=c,n=file} still in use (1) [unmount of cifs cifs] The detailed processs is: process A process B kworker fd = open(PATH) vfs_open file->__f_path = *path // dentry->d_lockref.count = 1 cifs_open cifs_new_fileinfo cfile->dentry = dget(dentry) // dentry->d_lockref.count = 2 close(fd) __fput cifs_close queue_delayed_work(deferredclose_wq, cfile->deferred) dput(dentry) // dentry->d_lockref.count = 1 smb2_deferred_work_close _cifsFileInfo_put list_del(&cifs_file->flist) umount cleanup_mnt deactivate_super cifs_kill_sb cifs_close_all_deferred_files_sb cifs_close_all_deferred_files // cannot find cfile, skip _cifsFileInfo_put kill_anon_super generic_shutdown_super shrink_dcache_for_umount umount_check WARN ! // dentry->d_lockref.count = 1 cifsFileInfo_put_final dput(cifs_file->dentry) // dentry->d_lockref.count = 0 Fix it by flushing 'deferredclose_wq' before calling kill_anon_super. Fetch a reproducer in https://bugzilla.kernel.org/show_bug.cgi?id=221548.
CVSS v3.1
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel CIFS filesystem had a vulnerability where the deferred close work (cfile->deferred) could run after the filesystem was unmounted, causing a busy dentry to be used after unmounting. This leads to a warning in generic_shutdown_super due to a dentry still being in use. The root cause is that the CIFS file close work holds a dentry reference that can be accessed after the superblock is killed during unmount. The fix involves flushing the deferredclose_wq workqueue before calling kill_anon_super to ensure no deferred close work runs post-unmount.
Potential Impact
This vulnerability can cause kernel warnings and potential instability during unmount operations of CIFS filesystems due to use-after-unmount of dentry references. While no known exploits are reported, the issue could lead to system instability or crashes related to filesystem unmounting.
Mitigation Recommendations
A fix is available and has been applied in the Linux kernel by flushing the deferredclose_wq workqueue before finalizing the unmount process. Users should update to a Linux kernel version that includes commit 340cea84f691c or later which contains this fix. No additional mitigation is required if the system is updated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3mrw-xf65-fqjh
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64108"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27a92a4a8d598912bbe5
Added to database: 07/19/2026, 19:38:17 UTC
Last enriched: 07/19/2026, 19:50:18 UTC
Last updated: 07/20/2026, 19:41:21 UTC
Views: 10
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.