Skip to content
High 7.5

Linux Kernelのexportfsに、NFSDの大量な読み取りでメモリを使い果たす脆弱性

CVE-2026-99953 First seen on SecPulse

Summary

Linux Kernelのexportfsで、NFSDが親ディレクトリを開いて閉じる処理が遅延して溜まり、メモリが大量に消費される脆弱性です。ディレクトリ数の多いファイルシステムをNFSv3で大量に読み取られると、メモリ枯渇を招くおそれがあります。影響は3.6.0以降の多くの版にあり、6.6.163・6.12.117・6.18.63・7.3.4以降の修正版で解消されます。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux Kernelのexportfsで、NFSDが親ディレクトリを開いて閉じる処理が遅延して溜まり、メモリが大量に消費される脆弱性です。ディレクトリ数の多いファイルシステムをNFSv3で大量に読み取られると、メモリ枯渇を招くおそれがあります。影響は3.6.0以降の多くの版にあり、6.6.163・6.12.117・6.18.63・7.3.4以降の修正版で解消されます。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 3.6.0, < 6.6.163→ 6.6.163
≥ 6.7.0, < 6.12.117→ 6.12.117
≥ 6.13.0, < 6.18.63→ 6.18.63
≥ 6.19.0, < 7.3.4→ 7.3.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details