CVE-2026-99953: exportfs: Release the get_name() directory file synchronously

Published Nov 30, 2026
·
Updated

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

exportfs: Release the getname() directory file synchronously

getname() opens the parent directory with dentryopen() and releases it with fput(). From a kernel thread, fput() defers the final fput() to the delayedfput work item. NFSD threads are kernel threads, and NFSD reaches getname() through exportfsdecodefh() 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 fputsync() to avoid delayed closing of files.") stopped NFSD's own closes from feeding the delayedfput queue but did not cover the exportfs reconnect path.

Release the file with fputsync(). getname() 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 fputsync() call guarded by current->flags & PFKTHREAD, with a plain fput() otherwise.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In exportfs get_name(), release the parent-directory file with __fput_sync() instead of fput().

Event History

Nov 30, 2026
CVE Published
via MITRE·01:18 PM
Data Sourced
via MITRE·01:18 PM
Description

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