cve-ja
← 新着
CVE

NFS の同期解除が重なり、解放済みメモリを使うおそれ。

解放済みメモリの使用。対象は Linux kernel(6.18.65 未満・7.3.6 未満・7.4-rc1 未満)。

CVE-2026-139274参考情報

一言・影響を受ける人・対策は AI(sonnet)が元の説明文から作成。版の番号などは元の文と機械で照合した。対応の前に元の告知を確かめてほしい。誤りに気づいたら運営者へ。

CVSS
7.0
High
CNA
悪用
未確認
CISA の一覧には無い
PoC
見つかっていない
12/6 時点
修正
修正版あり
6.18.65・7.3.6・7.4-rc1 以降
国内
まだ無い
同じ CVE 番号の記事を待っている
まずやること:Linux kernel を 6.18.65・7.3.6 以降に更新する
公開
2026年11月30日
最終更新
2026年11月30日
優先度の理由
特定構成のみ
最終確認
2026年12月5日
EPSS
0.16%
PoC
見つかっていない
攻撃の条件
手元の操作・一般のログインが要る・相手の操作は要らない・既定でない設定のとき
国内
まだ無い

概要

NFS の同期解除が重なり、解放済みメモリを使うおそれ。

元の説明(英語)を読む

In the Linux kernel, the following vulnerability has been resolved: nfs/localio: pin UUIDs during global invalidation nfs_localio_invalidate_clients() moves UUID nodes embedded in nfs_client objects to a private list, then walks that list without retaining the containing clients. Concurrent client teardown can free an entry that the iterator has already selected, causing a use-after-free. Take a reference to each selected UUID under the namespace list lock. Keep this reference count in nfs_common, independently of cl_count, and have nfs_free_client() drain temporary UUID users before freeing the client. Releasing a UUID reference wakes waiting probes and signals completion when the last reference is dropped. It neither calls into nfs.ko nor performs final NFS client teardown in the NFSD invalidation context. Keep the UUID on the namespace list until its files have been closed. When another thread is already disabling it, wait for that thread to finish unlinking it instead of repeatedly selecting the same head entry. The wait releases the UUID spinlock so file cleanup can make progress. Append registrations in sequence order and capture the last sequence under the namespace list lock at the start of invalidation. Stop at that boundary so new registrations cannot indefinitely extend the sweep, even if its original last entry is removed concurrently. Publish the LOCALIO association under the UUID and namespace list locks before making the entry visible to invalidation. A temporary UUID reference allows the handshake to drop the global lookup lock before taking the UUID lock in the documented order; recheck the lookup in case the probe was withdrawn. A new probe waits for temporary UUID users to drain, then rechecks the association before reusing the UUID. This keeps a transient invalidation reference from discarding the client's LOCALIO revalidation attempt. Withdraw pending probes before dropping the owner's UUID reference. A deterministic same-base KASAN reproducer triggered the reported use-after-free on the unpatched tree. With this patch, the same controlled invalidation and teardown race completed without the target KASAN report or another selected kernel diagnostic. A separate all-live run recorded disable events for all 16 unique clients. Test-only synchronization hooks verified that a second disabler waits for unlink after ->net is cleared and that client teardown waits for a temporary UUID reference to drain. NFSv4.2 and NFSv3 read, write, and unmount smoke tests, export-flush and I/O stress, NFSD restarts, network namespace lifecycle tests, and module unloads passed with KASAN and lockdep enabled. A full x86_64 kernel and modules build with GCC 13.3, CONFIG_WERROR=y, NFS_FS=m, NFSD=m, and LOCALIO enabled completed without diagnostics. Module metadata showed that nfs_localio.ko depends only on sunrpc, while nfs.ko depends on lockd, nfs_localio, and sunrpc. A separate NFS_FS=m, NFSD=y build also linked vmlinux successfully. The vulnerability research and validation were conducted by members of the Tobabz team as part of the Best of the Best 15th program.

影響を受ける人

NFS の localio を使う Linux の管理者

対策

  • Linux kernel を 6.18.65・7.3.6 以降に更新する

国内の動き

本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。

海外の動き

本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。

PoC

公開されている PoC は、まだ見つかっていない。

経過

2026年11月30日・一次情報
脆弱性が公開された

影響する版

Linux Linux範囲は告知を確認
Linux Linux6.18.65 未満が対象(6.18.65 で修正)・7.3.6 未満が対象(7.3.6 で修正)・7.4-rc1 未満が対象(7.4-rc1 で修正)