# CVE-2026-72315: smb: client: fix busy dentry warning on unmount after DIO

> 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-28)
- **Published:** 2026-08-15T05:55:29.761Z
- **Modified:** 2026-11-23T08:17:19.400Z

## Who should check

- Anyone running Linux \>= 708c276f516d27beaded7f372ac8111cee43926c, \< f763f5e383633c057fca58812e69949496087d1d; \>= 0629a1a187e424373364d681b42b101894bdb548, \< 702cde1d016c70e92f4b525c0e54d793583ab7e5; \>= 0e4b8faaaebe3137bec5723ef2b3cb0437fb38fd, \< f7748b551010c021d92f0125e37f32ac0c376d8a; \>= f655467a9973f964b267871e5fef533ad5014494, \< 9fc87899276af941ecf3045798887db7deb85605; \>= 340cea84f691c5206561bb2e0147158fe02070be, \< f0eac9c3c3711f24efc2aaf12b8ec3e54a38c214; \>= 340cea84f691c5206561bb2e0147158fe02070be, \< 75f5c412fa867efa0bf9b646bffe0d912109e84a; 30afc6ea72cc6cf7c8d579e79b64232801c38d08; \>= 6.1.167, \< 6.1.193; \>= 6.6.130, \< 6.6.163; \>= 6.12.78, \< 6.12.112; …
- Anyone running Linux 7.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix busy dentry warning on unmount after DIO

Commit c68337442f03 ("cifs: Fix busy dentry used after unmounting") fixed
the issue in cifs where deferred close of a file led to a dentry reference
count not being released in umount, by flushing deferredclose\_wq in
cifs\_kill\_sb() to solve it.

However, the cifs DIO path suffers from the same busy-dentry problem caused
by a delayed dentry reference-count release:

	\[dio\]			\[cifsd\]			\[close + umount\]
netfs\_unbuffered\_write\_iter\_locked
...
				cifs\_demultiplex\_thread
 netfs\_unbuffered\_write
  cifs\_issue\_write
  netfs\_wait\_for\_in\_progress\_stream \[1\]
				...
				 netfs\_write\_subrequest\_terminated
				  netfs\_subreq\_clear\_in\_progress
				   netfs\_wake\_collector // wake \[1\]
				  netfs\_put\_subrequest
 netfs\_put\_request
  queue\_work(system\_dfl\_wq, xxx) \[2\]
 // dio write return					cifs\_close
							 \_cifsFileInfo\_put
							  // cfile-\>count 2-\>1
							  --cfile-\>count \[3\]

							// umount
							cifs\_kill\_sb
							 kill\_anon\_super
							  // warning triggered!
							  shrink\_dcache\_for\_umount \[4\]
\[system\_dfl\_wq\] \[5\]
netfs\_free\_request
 ...
 \_cifsFileInfo\_put
  // cfile-\>count 1-\>0
  --cfile-\>count
  queue\_work(fileinfo\_put\_wq, xxx)

\[fileinfo\_put\_wq\] \[6\]
cifsFileInfo\_put\_work
 cifsFileInfo\_put\_final
  dput

If the umount path is triggered before \[5\], it results warning:
BUG: Dentry 00000000eab1f070{i=9a917b66ae404fec,n=test}  still in use (1)
\[unmount of cifs cifs\]

The existing per-inode ictx-\>io\_count wait in cifs\_evict\_inode() does not
help: it lives in the inode eviction path, which runs after
shrink\_dcache\_for\_umount() has already warned about the busy dentries.

Fix it by adding a per-superblock outstanding-rreq counter that is
incremented in cifs\_init\_request() and decremented in cifs\_free\_request().
In cifs\_kill\_sb(), before kill\_anon\_super(), wait for this counter to reach
0 - which guarantees that all cleanup\_work for this sb have run and thus
all relevant cfile puts are queued on fileinfo\_put\_wq or serverclose\_wq.
Then drain the workqueue so the dentry refs are dropped.

This is a targeted wait, not a flush of the system-wide system\_dfl\_wq.

## Affected and fixed versions

- Linux: \>= 708c276f516d27beaded7f372ac8111cee43926c, \< f763f5e383633c057fca58812e69949496087d1d; \>= 0629a1a187e424373364d681b42b101894bdb548, \< 702cde1d016c70e92f4b525c0e54d793583ab7e5; \>= 0e4b8faaaebe3137bec5723ef2b3cb0437fb38fd, \< f7748b551010c021d92f0125e37f32ac0c376d8a; \>= f655467a9973f964b267871e5fef533ad5014494, \< 9fc87899276af941ecf3045798887db7deb85605; \>= 340cea84f691c5206561bb2e0147158fe02070be, \< f0eac9c3c3711f24efc2aaf12b8ec3e54a38c214; \>= 340cea84f691c5206561bb2e0147158fe02070be, \< 75f5c412fa867efa0bf9b646bffe0d912109e84a; 30afc6ea72cc6cf7c8d579e79b64232801c38d08; \>= 6.1.167, \< 6.1.193; \>= 6.6.130, \< 6.6.163; \>= 6.12.78, \< 6.12.112; … (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-72315. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72315.md
Affected: Linux >= 708c276f516d27beaded7f372ac8111cee43926c, < f763f5e383633c057fca58812e69949496087d1d; >= 0629a1a187e424373364d681b42b101894bdb548, < 702cde1d016c70e92f4b525c0e54d793583ab7e5; >= 0e4b8faaaebe3137bec5723ef2b3cb0437fb38fd, < f7748b551010c021d92f0125e37f32ac0c376d8a; >= f655467a9973f964b267871…
Fixed in: Linux 702cde1d016c70e92f4b525c0e54d793583ab7e5, Linux 9fc87899276af941ecf3045798887db7deb85605, Linux 75f5c412fa867efa0bf9b646bffe0d912109e84a, Linux 6.1.193, Linux 6.6.163, Linux 6.12.112

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-72315 being exploited?

There is no confirmed exploitation: CVE-2026-72315 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-28).

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

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

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

Linux \>= 708c276f516d27beaded7f372ac8111cee43926c, \< f763f5e383633c057fca58812e69949496087d1d; \>= 0629a1a187e424373364d681b42b101894bdb548, \< 702cde1d016c70e92f4b525c0e54d793583ab7e5; \>= 0e4b8faaaebe3137bec5723ef2b3cb0437fb38fd, \< f7748b551010c021d92f0125e37f32ac0c376d8a; \>= f655467a9973f964b267871e5fef533ad5014494, \< 9fc87899276af941ecf3045798887db7deb85605; \>= 340cea84f691c5206561bb2e0147158fe02070be, \< f0eac9c3c3711f24efc2aaf12b8ec3e54a38c214; \>= 340cea84f691c5206561bb2e0147158fe02070be, \< 75f5c412fa867efa0bf9b646bffe0d912109e84a; 30afc6ea72cc6cf7c8d579e79b64232801c38d08; \>= 6.1.167, \< 6.1.193; \>= 6.6.130, \< 6.6.163; \>= 6.12.78, \< 6.12.112; …; Linux 7.0.

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

Yes. Fixed in Linux 702cde1d016c70e92f4b525c0e54d793583ab7e5, Linux 9fc87899276af941ecf3045798887db7deb85605, Linux 75f5c412fa867efa0bf9b646bffe0d912109e84a, Linux 6.1.193, Linux 6.6.163, Linux 6.12.112. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/f763f5e383633c057fca58812e69949496087d1d>
- other: <https://git.kernel.org/stable/c/702cde1d016c70e92f4b525c0e54d793583ab7e5>
- other: <https://git.kernel.org/stable/c/f7748b551010c021d92f0125e37f32ac0c376d8a>
- other: <https://git.kernel.org/stable/c/9fc87899276af941ecf3045798887db7deb85605>
- other: <https://git.kernel.org/stable/c/f0eac9c3c3711f24efc2aaf12b8ec3e54a38c214>
- other: <https://git.kernel.org/stable/c/75f5c412fa867efa0bf9b646bffe0d912109e84a>

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

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