Linux Kernelで、ロックされたマウントを回避される脆弱性
Summary
Linux Kernelの名前空間処理に、ロックされたマウントを回避される脆弱性(CVE-2026-99170)が見つかりました。ユーザー名前空間でroot権限を持つ攻撃者が、ファイルを隠していたマウントを外せるおそれがあります。影響を受けるのは7.1.0以上7.2.13未満で、修正版は7.2.13です。修正版へ更新してください。
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 Kernelの名前空間処理に、ロックされたマウントを回避される脆弱性(CVE-2026-99170)が見つかりました。ユーザー名前空間でroot権限を持つ攻撃者が、ファイルを隠していたマウントを外せるおそれがあります。影響を受けるのは7.1.0以上7.2.13未満で、修正版は7.2.13です。修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 7.1.0, < 7.2.13→ 7.2.13 |
7.2.13 |
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-99170
- Debian DEBIAN-CVE-2026-99170 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99170 linux-riscv, linux-realtime, linux-raspi +6 more Fix available
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
namespace: a mount that copy_tree() leaves out can't take over a lock
Since commit c62a4766937e ("move_mount: transfer MNT_LOCKED") a mount
can be moved beneath a locked mount. The lock moves from the old cover
to the new mount which takes over the job of hiding what's under it and
the old cover can be unmounted. That works as long as the new mount
stays. But the caller picks the new mount and copy_tree() leaves a
mount of a mount namespace file out of every copy made without
CL_COPY_MNT_NS_FILE, together with everything mounted on it, and never
looks at MNT_LOCKED. unshare(CLONE_NEWNS) and mount propagation make
such copies.
So a task that is root in its own user namespace gets rid of a locked
cover on a file without a race and without touching the filesystem
below it. It makes a child with a mount namespace of its own, binds the
child's /proc//ns/mnt beneath the cover with MOVE_MOUNT_BENEATH,
which hands the lock to that bind, and calls unshare(CLONE_NEWNS). The
new mount namespace has nothing on the file. That's the usual way to
mask a single file, a bind of /dev/null or of an empty file. With a
bind of an ordinary file the file stays covered.
copy_tree() already refuses to leave out a locked unbindable mount with
-EPERM since commit df7342b24018 ("mount: Don't allow copying
MNT_UNBINDABLE|MNT_LOCKED mounts"). Do the same for a locked mount of a
mount namespace file. That also covers a tree copied with…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web github.com