Linux Kernelのovlファイルシステムに権限を回避される脆弱性
Summary
Linux Kernelのoverlayfs(ovl)で、削除済みのファイルへの変更を通じて、ほかのファイルが置き換えられる脆弱性(CVE-2026-99419)です。一般ユーザーの操作で、root権限のファイルが別のオブジェクトに置き換えられるおそれがあり、CVSSは7.8です。3.18以降の複数の系統が影響を受け、修正版は6.12.117、6.18.61、7.3.2です。利用中のカーネルのバージョンを確認し、修正版を含むカーネルへの更新を検討してください。
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のoverlayfs(ovl)で、削除済みのファイルへの変更を通じて、ほかのファイルが置き換えられる脆弱性(CVE-2026-99419)です。一般ユーザーの操作で、root権限のファイルが別のオブジェクトに置き換えられるおそれがあり、CVSSは7.8です。3.18以降の複数の系統が影響を受け、修正版は6.12.117、6.18.61、7.3.2です。利用中のカーネルのバージョンを確認し、修正版を含むカーネルへの更新を検討してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 3.18.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 |
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-99419 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99419 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99419 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
ovl: do not copy up a dentry that was removed
A change to a removed file through an open descriptor replaces whatever
has its old name in the upper layer.
Copy up must only create a name in the upper directory, never replace
one. After an unlink, an rmdir or a rename over a lower dentry, a
dentry that an open file keeps alive still has its old parent and name,
but in the upper directory that name is now a whiteout or a new object.
ovl_copy_up_workdir() renames the copy over it, which brings back the
removed object and destroys whatever took its name.
An unprivileged user opened a lower FIFO and unlinked it, root created
a file at that name, and fchmod on the old descriptor replaced the file
of root with the FIFO.
Fix this by looking up the target name of the rename in
ovl_copy_up_workdir() with LOOKUP_EXCL, so that copy up fails with
-EEXIST if the name is taken, as copy up with O_TMPFILE already does
when it links the copy to the name.
[amir: use LOOKUP_EXCL instead of relying on d_unhashed()]
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- 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