Linux カーネルでロックされたマウントが期限切れになり隠れたファイルが見える問題
Summary
Linux カーネルの名前空間処理に不具合があり、ロックされたマウントが期限切れで解除されて、本来隠されているディレクトリの内容が見えてしまうおそれがあります。影響を受けるのは 6.18.57 より前の 6.18 系、7.2.11 より前の 7.2 系などです。修正版として 6.18.57 と 7.2.11 が公開されているので、カーネルを更新してください。
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 カーネルの名前空間処理に不具合があり、ロックされたマウントが期限切れで解除されて、本来隠されているディレクトリの内容が見えてしまうおそれがあります。影響を受けるのは 6.18.57 より前の 6.18 系、7.2.11 より前の 7.2 系などです。修正版として 6.18.57 と 7.2.11 が公開されているので、カーネルを更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| 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 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-98978 linux-lts Fix available
- Debian DEBIAN-CVE-2026-98978 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-98978 linux-riscv-7.0, linux-riscv, linux-realtime +16 more Fix available
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- 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