Linux Kernelのfork処理で参照カウントが不正に扱われる脆弱性
Summary
Linux Kernelでは、fork時にデバイスDAXのPUDマッピングを扱う処理に問題があり、子プロセス側で会計処理の誤りが起きる脆弱性が報告されています。影響を受けるのは6.15.0以降7.3.5未満のバージョンで、修正版は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では、fork時にデバイスDAXのPUDマッピングを扱う処理に問題があり、子プロセス側で会計処理の誤りが起きる脆弱性が報告されています。影響を受けるのは6.15.0以降7.3.5未満のバージョンで、修正版は7.3.5です。修正版への更新を検討してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.15.0, < 6.18.65→ 6.18.65 ≥ 6.19.0, < 7.3.5→ 7.3.5 |
6.18.65 7.3.5 |
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-99727 linux-lts No fixed version in this record
- Debian DEBIAN-CVE-2026-99727 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99727 linux-vmware, linux-starfive-6.5, linux-starfive-6.2 +118 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:
mm/huge_memory: properly handle refcounted PUD mappings on fork
copy_huge_pud() copies device-DAX entries without taking a folio reference
or updating mapcounts and the child's RSS.
For example, MADV_GUARD_INSTALL sets VM_MAYBE_GUARD on a device-DAX VMA,
forcing copy_page_range() to traverse the whole VMA on fork. Any remaining
huge PUDs are then copied without accounting for the new mappings.
Unmapping them in the child decrements accounting that was never added.
Use vm_normal_page_pud() to identify refcounted mappings. Take a folio
reference and add the child's PUD rmap and RSS accounting before installing
the copied entry. Pass src and dst VMAs consistently instead of src and
dst MM. Move the TODO.
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 github.com