Linux Kernelのexportfsに、NFSDの大量な読み取りでメモリを使い果たす脆弱性
概要
Linux Kernelのexportfsで、NFSDが親ディレクトリを開いて閉じる処理が遅延して溜まり、メモリが大量に消費される脆弱性です。ディレクトリ数の多いファイルシステムをNFSv3で大量に読み取られると、メモリ枯渇を招くおそれがあります。影響は3.6.0以降の多くの版にあり、6.6.163・6.12.117・6.18.63・7.3.4以降の修正版で解消されます。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Linux Kernelのexportfsで、NFSDが親ディレクトリを開いて閉じる処理が遅延して溜まり、メモリが大量に消費される脆弱性です。ディレクトリ数の多いファイルシステムをNFSv3で大量に読み取られると、メモリ枯渇を招くおそれがあります。影響は3.6.0以降の多くの版にあり、6.6.163・6.12.117・6.18.63・7.3.4以降の修正版で解消されます。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| 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 |
6.6.163 6.12.117 6.18.63 7.3.4 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-99953 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-99953 linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-99953 linux-xilinx-zynqmp, linux-xilinx, linux-vmware ほか 166 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
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.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com