Skip to content
High 7.8

Linux Kernelのメモリ管理に脆弱性、権限昇格のおそれ

CVE-2026-99580 First seen on SecPulse

Summary

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 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の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で、利用中のカーネルの版を確認し、修正版への更新を検討してください。

Affected packages

PackageAffected → Fixed
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

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details