exportfs: Release the get_name() directory file synchronously
Summary
| CVE | CVE-2026-99953 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:20:32 UTC |
| Updated | 2026-11-30 14:20:32 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
exportfs: Release the get_name() directory file synchronously
get_name() opens the parent directory with dentry_open() and
releases it with fput(). From a kernel thread, fput() defers the
final __fput() to the delayed_fput work item. NFSD threads are
kernel threads, and NFSD reaches get_name() through
exportfs_decode_fh() whenever a file handle's dentry is not
connected to the root.
On a filesystem with more directories than the dcache retains,
nearly every READDIRPLUS needs a reconnect. The deferred releases
arrive faster than the work item retires them, and each pending
file pins the directory's readdir state. On ext4 that state is the
htree fname cache for the last leaf block read. A 64-thread NFSv3
server under a parallel tree walk showed unreclaimable slab growing
by about 90 MB per second, and the same workload on a 5.15 kernel
ended in a global OOM.
Commit 5ff318f645eb ("nfsd: use __fput_sync() to avoid delayed
closing of files.") stopped NFSD's own closes from feeding the
delayed_fput queue but did not cover the exportfs reconnect path.
Release the file with __fput_sync(). get_name() opened the file
itself, read-only, on a directory, so __fput() involves nothing
that could wait on the caller.
Note for LTS backports: Kernels before v6.6 need the __fput_sync()
call guarded by current->flags & PF_KTHREAD, with a plain fput()
otherwise. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 4a9d4b024a3102fc083c925c242d98ac27b1c5f6 48e427501a655b1cbe59e954f2a54ef770c129dc git |
Not specified |
| CNA |
Linux |
Linux |
affected 4a9d4b024a3102fc083c925c242d98ac27b1c5f6 580d7a5542f94b5c88b71c06bda99da3cad5d5bf git |
Not specified |
| CNA |
Linux |
Linux |
affected 4a9d4b024a3102fc083c925c242d98ac27b1c5f6 d14b8b4bad5c44b90fbcb78d21ceb9d18b528eef git |
Not specified |
| CNA |
Linux |
Linux |
affected 4a9d4b024a3102fc083c925c242d98ac27b1c5f6 0242cf173e417d2aa89ade31f107b5d620c4db0d git |
Not specified |
| CNA |
Linux |
Linux |
affected 4a9d4b024a3102fc083c925c242d98ac27b1c5f6 49184daab01674ca400cbef58ee101dba6dbbb9d git |
Not specified |
| CNA |
Linux |
Linux |
affected 3.6 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 3.6 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.117 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.63 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/0242cf173e417d2aa89ade31f107b5d620c4db0d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/48e427501a655b1cbe59e954f2a54ef770c129dc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/49184daab01674ca400cbef58ee101dba6dbbb9d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/580d7a5542f94b5c88b71c06bda99da3cad5d5bf |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d14b8b4bad5c44b90fbcb78d21ceb9d18b528eef |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.