Linux Kernelのメモリ管理に脆弱性、権限昇格のおそれ
概要
Linux Kernelのmm/userfaultfdで、CoWマッピング以外にanon_vmaを割り当ててしまう問題が見つかり、脆弱性として公表されました。CVSSスコアは7.8で、影響は6.9.0以降6.12.118未満、6.13.0以降6.18.64未満、6.19.0以降7.3.5未満の版です。修正版は6.12.118、6.18.64、7.3.5で、利用中のカーネルの版を確認し、修正版への更新を検討してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Linux Kernelのmm/userfaultfdで、CoWマッピング以外にanon_vmaを割り当ててしまう問題が見つかり、脆弱性として公表されました。CVSSスコアは7.8で、影響は6.9.0以降6.12.118未満、6.13.0以降6.18.64未満、6.19.0以降7.3.5未満の版です。修正版は6.12.118、6.18.64、7.3.5で、利用中のカーネルの版を確認し、修正版への更新を検討してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
6.9.0 以上 6.12.118 未満→ 6.12.118 6.13.0 以上 6.18.64 未満→ 6.18.64 6.19.0 以上 7.3.5 未満→ 7.3.5 |
6.12.118 6.18.64 7.3.5 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-99580 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-99580 linux-6.12, linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-99580 linux-vmware, linux-starfive-6.5, linux-starfive-6.2 ほか 118 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
mm/userfaultfd: only allocate anon_vma in CoW mappings
find_vma_and_prepare_anon() can end up allocating an anon_vma in VMAs that
are not CoW mappings, which is wrong.
If we have a MAP_SHARED R/O file mapped, we lack VM_SHARED (but do have
VM_MAYSHARE) and lack VM_MAYWRITE.
While uffd later rejects such mappings (uffd registration requires
VM_MAYWRITE, see comment in validate_dst_vma) find_vma_and_prepare_anon()
still wrongly allocates an anon vma before it validates the vma.
This in turn later confuses copy_page_range()->vma_needs_copy() such
that we end up calling copy_hugetlb_page_range() with ranges that
actually do not contain any per-pagetable information that would
require copying, which is the basis for PMD-table sharing in the first
place.
copy_hugetlb_page_range() should not have to worry about shared
PMD tables at all: it doesn't make any sense to copy page tables that are
shared, as they can be fully recreated later. Ending up in the function
with shareable page tables is the real issue.
If a destination PMD table is shared in copy_hugetlb_page_range(), it
might get concurrently unshared as we are not holding relevant
locks, resulting in us using a page table that is no longer mapped and
possibly freed after calling:
dst_pte = huge_pte_alloc(dst, dst_vma, addr, sz);
To fix it, do not allocate an anon_vma in non-CoW mappings and add a
safety guard to copy_hugetlb_page_range(), making su…
出典: 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 github.com