Linux Kernelのoverlayfsに解放後使用の脆弱性、ローカルで情報が漏れるおそれ
概要
Linux Kernelのoverlayfsで、ディレクトリのコピーアップ中に一覧を取得すると、readdirキャッシュの解放後使用が起きる脆弱性です。権限のない一般ユーザーのプロセスでも悪用されるおそれがあり、CVSSは7.8です。6.12.117、6.18.61、7.3.2以降の修正版で直るため、利用中のカーネルを確認し、修正版への更新を検討してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Linux Kernelのoverlayfsで、ディレクトリのコピーアップ中に一覧を取得すると、readdirキャッシュの解放後使用が起きる脆弱性です。権限のない一般ユーザーのプロセスでも悪用されるおそれがあり、CVSSは7.8です。6.12.117、6.18.61、7.3.2以降の修正版で直るため、利用中のカーネルを確認し、修正版への更新を検討してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
4.15.0 以上 5.10.275 未満→ 5.10.275 5.11.0 以上 5.15.226 未満→ 5.15.226 5.16.0 以上 6.1.193 未満→ 6.1.193 6.2.0 以上 6.6.163 未満→ 6.6.163 6.7.0 以上 6.12.117 未満→ 6.12.117 6.13.0 以上 6.18.61 未満→ 6.18.61 6.19.0 以上 7.3.2 未満→ 7.3.2 |
5.10.275 5.15.226 6.1.193 6.6.163 6.12.117 6.18.61 7.3.2 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-99424 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-99424 linux-6.12, linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-99424 linux-xilinx-zynqmp, linux-xilinx, linux-vmware ほか 165 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
ovl: set OVL_WHITEOUTS before publishing the upper dir
Listing a directory while it is copied up causes a use-after-free of
the readdir cache.
A merge directory must never be iterated as a real upper directory:
that mode frees the cache in OVL_I(inode)->cache without looking at
its refcount, while files opened in merged mode still use it.
ovl_copy_up_workdir() publishes the upper dentry before it sets
OVL_WHITEOUTS, and ovl_dir_open() samples both without a lock, so an
open between the two stores finds the upper directory and takes it
for a real one.
With a delay between the two stores, an unprivileged process that
listed a directory during its copy-up saw only "." and "..", and its
next getdents freed the readdir cache of another descriptor.
Fix this by setting OVL_WHITEOUTS before ovl_inode_update(), so that
ovl_dir_reset() agrees with ovl_dir_open(), and by testing
OVL_TYPE_MERGE() of the path type in ovl_dir_open(), so that an open
that observes the upper dentry never iterates a merge dir as a real
dir, regardless of the order in which it observes the flag.
[amir: test OVL_TYPE_MERGE() instead of smp_rmb() in ovl_dir_open()]
出典: 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 git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com