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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-07-19T15:40:10.784Z
- **Modified:** 2026-08-12T15:14:14.520Z

## Who should check

- Anyone running Linux \>= 708c276f516d27beaded7f372ac8111cee43926c, \< c7364cea52531534676b9f7dbc0a477c11f4c050; \>= 0629a1a187e424373364d681b42b101894bdb548, \< bdc349a87f1fb02c18c4071858a06542bfea783d; \>= 0e4b8faaaebe3137bec5723ef2b3cb0437fb38fd, \< f2deaa2f409a4598eaa10f2a93a676c0632af248; \>= f655467a9973f964b267871e5fef533ad5014494, \< 5e7d9d0805e58fa3760894e73115b7a74024fd07; \>= 340cea84f691c5206561bb2e0147158fe02070be, \< e1ffa6cf662383f95816eed1b623429d82675e75; \>= 340cea84f691c5206561bb2e0147158fe02070be, \< c68337442f03953237a94577beb468ab2662a851; 30afc6ea72cc6cf7c8d579e79b64232801c38d08; \>= 6.1.167, \< 6.1.175; \>= 6.6.130, \< 6.6.142; \>= 6.12.78, \< 6.12.92; …
- Anyone running Linux 7.0

## 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.

## Affected and fixed versions

- Linux: \>= 708c276f516d27beaded7f372ac8111cee43926c, \< c7364cea52531534676b9f7dbc0a477c11f4c050; \>= 0629a1a187e424373364d681b42b101894bdb548, \< bdc349a87f1fb02c18c4071858a06542bfea783d; \>= 0e4b8faaaebe3137bec5723ef2b3cb0437fb38fd, \< f2deaa2f409a4598eaa10f2a93a676c0632af248; \>= f655467a9973f964b267871e5fef533ad5014494, \< 5e7d9d0805e58fa3760894e73115b7a74024fd07; \>= 340cea84f691c5206561bb2e0147158fe02070be, \< e1ffa6cf662383f95816eed1b623429d82675e75; \>= 340cea84f691c5206561bb2e0147158fe02070be, \< c68337442f03953237a94577beb468ab2662a851; 30afc6ea72cc6cf7c8d579e79b64232801c38d08; \>= 6.1.167, \< 6.1.175; \>= 6.6.130, \< 6.6.142; \>= 6.12.78, \< 6.12.92; … (cvelist)
- Linux: 7.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64108. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64108.md
Affected: Linux >= 708c276f516d27beaded7f372ac8111cee43926c, < c7364cea52531534676b9f7dbc0a477c11f4c050; >= 0629a1a187e424373364d681b42b101894bdb548, < bdc349a87f1fb02c18c4071858a06542bfea783d; >= 0e4b8faaaebe3137bec5723ef2b3cb0437fb38fd, < f2deaa2f409a4598eaa10f2a93a676c0632af248; >= f655467a9973f964b267871…
Fixed in: Linux 5e7d9d0805e58fa3760894e73115b7a74024fd07, Linux 6.1.175, Linux 6.6.142, Linux 6.12.92

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64108 being exploited?

There is no confirmed exploitation: CVE-2026-64108 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64108?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64108?

Linux \>= 708c276f516d27beaded7f372ac8111cee43926c, \< c7364cea52531534676b9f7dbc0a477c11f4c050; \>= 0629a1a187e424373364d681b42b101894bdb548, \< bdc349a87f1fb02c18c4071858a06542bfea783d; \>= 0e4b8faaaebe3137bec5723ef2b3cb0437fb38fd, \< f2deaa2f409a4598eaa10f2a93a676c0632af248; \>= f655467a9973f964b267871e5fef533ad5014494, \< 5e7d9d0805e58fa3760894e73115b7a74024fd07; \>= 340cea84f691c5206561bb2e0147158fe02070be, \< e1ffa6cf662383f95816eed1b623429d82675e75; \>= 340cea84f691c5206561bb2e0147158fe02070be, \< c68337442f03953237a94577beb468ab2662a851; 30afc6ea72cc6cf7c8d579e79b64232801c38d08; \>= 6.1.167, \< 6.1.175; \>= 6.6.130, \< 6.6.142; \>= 6.12.78, \< 6.12.92; …; Linux 7.0.

### Is there a fix for CVE-2026-64108?

Yes. Fixed in Linux 5e7d9d0805e58fa3760894e73115b7a74024fd07, Linux 6.1.175, Linux 6.6.142, Linux 6.12.92. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64108?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c7364cea52531534676b9f7dbc0a477c11f4c050>
- patch: <https://git.kernel.org/stable/c/bdc349a87f1fb02c18c4071858a06542bfea783d>
- patch: <https://git.kernel.org/stable/c/f2deaa2f409a4598eaa10f2a93a676c0632af248>
- patch: <https://git.kernel.org/stable/c/5e7d9d0805e58fa3760894e73115b7a74024fd07>
- patch: <https://git.kernel.org/stable/c/e1ffa6cf662383f95816eed1b623429d82675e75>
- patch: <https://git.kernel.org/stable/c/c68337442f03953237a94577beb468ab2662a851>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64108>

HTML: <https://flawdb.com/CVE-2026-64108> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64108>
