CVE-2026-64108
cifs: Fix busy dentry used after unmounting
Check your servers for CVE-2026-64108
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64108 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.23% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 708c276f516d27beaded7f372ac8111cee43926c, before c7364cea52531534676b9f7dbc0a477c11f4c050 affected from 0629a1a187e424373364d681b42b101894bdb548, before bdc349a87f1fb02c18c4071858a06542bfea783d affected from 0e4b8faaaebe3137bec5723ef2b3cb0437fb38fd, before f2deaa2f409a4598eaa10f2a93a676c0632af248 affected from f655467a9973f964b267871e5fef533ad5014494, before 5e7d9d0805e58fa3760894e73115b7a74024fd07 affected from 340cea84f691c5206561bb2e0147158fe02070be, before e1ffa6cf662383f95816eed1b623429d82675e75 affected from 340cea84f691c5206561bb2e0147158fe02070be, before c68337442f03953237a94577beb468ab2662a851 affected 30afc6ea72cc6cf7c8d579e79b64232801c38d08 affected from 6.1.167, before 6.1.175 affected from 6.6.130, before 6.6.142 affected from 6.12.78, before 6.12.92 affected from 6.18.20, before 6.18.34 affected from 6.19.10, before 6.20
Other versions: unaffected
|
| Linux |
affected 7.0 unaffected before 7.0 unaffected from 6.1.175 up to and including 6.1.* unaffected from 6.6.142 up to and including 6.6.* unaffected from 6.12.92 up to and including 6.12.* unaffected from 6.18.34 up to and including 6.18.* unaffected from 7.0.11 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64108 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64108
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64108
trivy image --scanners vuln IMAGE | grep CVE-2026-64108
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c7364cea52531534676b9f7dbc0a477c11f4c050 git.kernel.org
- https://git.kernel.org/stable/c/bdc349a87f1fb02c18c4071858a06542bfea783d git.kernel.org
- https://git.kernel.org/stable/c/f2deaa2f409a4598eaa10f2a93a676c0632af248 git.kernel.org
- https://git.kernel.org/stable/c/5e7d9d0805e58fa3760894e73115b7a74024fd07 git.kernel.org
- https://git.kernel.org/stable/c/e1ffa6cf662383f95816eed1b623429d82675e75 git.kernel.org
- https://git.kernel.org/stable/c/c68337442f03953237a94577beb468ab2662a851 git.kernel.org
Source: the record CVE-2026-64108 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse