CVE-2026-64108: cifs: Fix busy dentry used after unmounting

Published Jul 19, 2026
·
Updated

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 refcnt, the cifs file close work(cfile->deferred) could be executed after unmounting, which will trigger a warning in genericshutdownsuper: 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) vfsopen file->fpath = path // dentry->dlockref.count = 1 cifsopen cifsnewfileinfo cfile->dentry = dget(dentry) // dentry->dlockref.count = 2 close(fd) fput cifsclose queuedelayedwork(deferredclosewq, cfile->deferred) dput(dentry) // dentry->dlockref.count = 1 smb2deferredworkclose cifsFileInfoput listdel(&cifsfile->flist) umount cleanupmnt deactivatesuper cifskillsb cifsclosealldeferredfilessb cifsclosealldeferredfiles // cannot find cfile, skip cifsFileInfoput killanonsuper genericshutdownsuper shrinkdcacheforumount umountcheck WARN ! // dentry->dlockref.count = 1 cifsFileInfoputfinal dput(cifsfile->dentry) // dentry->dlockref.count = 0

Fix it by flushing 'deferredclosewq' before calling killanonsuper.

Fetch a reproducer in https://bugzilla.kernel.org/showbug.cgi?id=221548.

Affected Software

17 affected components
Linux Linux kernel
Linux Linux kernel>=6.1.167<6.1.175
Linux Linux kernel>=6.6.130<6.6.142
Linux Linux kernel>=6.12.78<6.12.92
Linux Linux kernel>=6.18.20<6.18.34
Linux Linux kernel>=6.19.10<7.0
Linux Linux kernel>=7.0.1<7.0.11
Linux Linux kernel=7.0
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6
Linux Linux kernel=7.0-rc7
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4

Event History

Jul 19, 2026
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionSeverity
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64108?

CVE-2026-64108 has a high severity score of 7.8 according to the CVSS 3.1 metrics.

2

How do I fix CVE-2026-64108?

To fix CVE-2026-64108, you should update to the latest version of the Linux kernel that includes the patch for this vulnerability.

3

What systems are affected by CVE-2026-64108?

CVE-2026-64108 affects Linux kernel versions that implement the CIFS file system.

4

What type of vulnerability is CVE-2026-64108?

CVE-2026-64108 is a memory safety vulnerability involving a busy dentry being used after unmounting.

5

What impact could CVE-2026-64108 have on my system?

Exploitation of CVE-2026-64108 could potentially lead to information disclosure, system crashes, or arbitrary code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203