Linux カーネルでロックされたマウントが期限切れになり隠れたファイルが見える問題
概要
Linux カーネルの名前空間処理に不具合があり、ロックされたマウントが期限切れで解除されて、本来隠されているディレクトリの内容が見えてしまうおそれがあります。影響を受けるのは 6.18.57 より前の 6.18 系、7.2.11 より前の 7.2 系などです。修正版として 6.18.57 と 7.2.11 が公開されているので、カーネルを更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Linux カーネルの名前空間処理に不具合があり、ロックされたマウントが期限切れで解除されて、本来隠されているディレクトリの内容が見えてしまうおそれがあります。影響を受けるのは 6.18.57 より前の 6.18 系、7.2.11 より前の 7.2 系などです。修正版として 6.18.57 と 7.2.11 が公開されているので、カーネルを更新してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
3.12.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.57 未満→ 6.18.57 6.19.0 以上 7.2.11 未満→ 7.2.11 |
6.1.193 6.6.163 6.12.117 6.18.57 7.2.11 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-98978 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-98978 linux-6.12, linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-98978 linux-riscv-7.0, linux-riscv, linux-realtime ほか 16 件 修正版あり
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
namespace: never expire a locked mount
Locked mounts are special. They protect the underlying files and
directories from being revealed. do_umount() refuses to unmount locked
mounts but shrink_submounts() doesn't.
A shrinkable mount can become locked once the owner of a user namespace
puts it beneath a locked mount with MOVE_MOUNT_BENEATH. The locked
property now moves to the mount at the bottom making it possible to
unmount the top mount.
So umount() of an unlocked ancestor now expires the bottom mount first
and the covered directory is revealed:
move_mount(c -> x/hidden, MOVE_MOUNT_BENEATH) = 0
the cover after the lock moved: umount2(x/hidden) = 0
the holder of the lock: umount2(x/hidden) = EINVAL
the root of the copy, busy: umount2(x) = EBUSY
reads x/hidden/secret: "covered-by-root"
So leave a locked mount alone as it dies together with its parent. A
plain umount() of an unlocked mount with a locked one below it is EBUSY
from now on. It's the same for any other locked child. A lazy umount
still takes the whole tree.
mark_mounts_for_expiry() never sees a locked mount. lock_mnt_tree()
leaves a mount on an expiry list alone and nothing else puts a locked
one on such a list. Add an assert for this.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org