# CVE-2026-99727: mm/huge_memory: properly handle refcounted PUD mappings on fork

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-11-20T05:51:02.924Z
- Modified: 2026-11-23T08:18:13.173Z
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from aed877c2b4257a25b2429f165542f86125871071 before dcd4fd137baa6fe2c6c4643ee0ca0264f71831f8; from aed877c2b4257a25b2429f165542f86125871071 before e8ebc5a46795cd1fb4333df81f19bbf458467cce; from aed877c2b4257a25b2429f165542f86125871071 before d90bdc02e36ec08d8248ebc6cdc52e12043eb28c; 6.15 (not affected: before 6.15; from 6.18.65 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/dcd4fd137baa6fe2c6c4643ee0ca0264f71831f8>
- <https://git.kernel.org/stable/c/e8ebc5a46795cd1fb4333df81f19bbf458467cce>
- <https://git.kernel.org/stable/c/d90bdc02e36ec08d8248ebc6cdc52e12043eb28c>

## Sources

- CVE List: [CVE-2026-99727](https://www.cve.org/CVERecord?id=CVE-2026-99727), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99727](https://nvd.nist.gov/vuln/detail/CVE-2026-99727), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99727 · Whole record: https://cve.day/CVE-2026-99727.json · Rebuilt by cve.day 2026-11-25T22:59:52.323Z
