CVE-2026-99727
mm/huge_memory: properly handle refcounted PUD mappings on fork
- CVSS
- —
- EPSS
- 0.17% (p6)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-23
- Product
- Linux Linux
Description
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.
Fixed in
6.18.65 · 7.3.5 · d90bdc02e36ec08d8248ebc6cdc52e12043eb28c · dcd4fd137baa6fe2c6c4643ee0ca0264f71831f8 · e8ebc5a46795cd1fb4333df81f19bbf458467cce
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.15.0, <6.18.65 | 6.18.65 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| vendor | Linux | >=aed877c2b4257a25b2429f165542f86125871071, <d90bdc02e36ec08d8248ebc6cdc52e12043eb28c | d90bdc02e36ec08d8248ebc6cdc52e12043eb28c |
| vendor | Linux | >=aed877c2b4257a25b2429f165542f86125871071, <dcd4fd137baa6fe2c6c4643ee0ca0264f71831f8 | dcd4fd137baa6fe2c6c4643ee0ca0264f71831f8 |
| vendor | Linux | >=aed877c2b4257a25b2429f165542f86125871071, <e8ebc5a46795cd1fb4333df81f19bbf458467cce | e8ebc5a46795cd1fb4333df81f19bbf458467cce |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 11d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/e8ebc5a46795cd1fb4333df81f19bbf458467cce other
- https://git.kernel.org/stable/c/d90bdc02e36ec08d8248ebc6cdc52e12043eb28c other
- https://git.kernel.org/stable/c/dcd4fd137baa6fe2c6c4643ee0ca0264f71831f8 other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99727.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99727 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package