{"id":"CVE-2026-99727","aliases":["CVE-2026-99727"],"related":[],"kind":"vulnerability","state":"published","title":"mm/huge_memory: properly handle refcounted PUD mappings on fork","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/huge_memory: properly handle refcounted PUD mappings on fork\n\ncopy_huge_pud() copies device-DAX entries without taking a folio reference\nor updating mapcounts and the child's RSS.\n\nFor example, MADV_GUARD_INSTALL sets VM_MAYBE_GUARD on a device-DAX VMA,\nforcing copy_page_range() to traverse the whole VMA on fork. Any remaining\nhuge PUDs are then copied without accounting for the new mappings.\nUnmapping them in the child decrements accounting that was never added.\n\nUse vm_normal_page_pud() to identify refcounted mappings. Take a folio\nreference and add the child's PUD rmap and RSS accounting before installing\nthe copied entry. Pass src and dst VMAs consistently instead of src and\ndst MM. Move the TODO.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/huge_memory: properly handle refcounted PUD mappings on fork\n\ncopy_huge_pud() copies device-DAX entries without taking a folio reference\nor updating mapcounts and the child's RSS.\n\nFor example, MADV_GUARD_INSTALL sets VM_MAYBE_GUARD on a device-DAX VMA,\nforcing copy_page_range() to traverse the whole VMA on fork. Any remaining\nhuge PUDs are then copied without accounting for the new mappings.\nUnmapping them in the child decrements accounting that was never added.\n\nUse vm_normal_page_pud() to identify refcounted mappings. Take a folio\nreference and add the child's PUD rmap and RSS accounting before installing\nthe copied entry. Pass src and dst VMAs consistently instead of src and\ndst MM. Move the TODO.","source":"cvelist"}],"published":"2026-11-20T05:51:02.924Z","modified":"2026-11-23T08:18:13.173Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"aed877c2b4257a25b2429f165542f86125871071","fixed":"dcd4fd137baa6fe2c6c4643ee0ca0264f71831f8","status":"affected"},{"type":"git","introduced":"aed877c2b4257a25b2429f165542f86125871071","fixed":"e8ebc5a46795cd1fb4333df81f19bbf458467cce","status":"affected"},{"type":"git","introduced":"aed877c2b4257a25b2429f165542f86125871071","fixed":"d90bdc02e36ec08d8248ebc6cdc52e12043eb28c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/dcd4fd137baa6fe2c6c4643ee0ca0264f71831f8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8ebc5a46795cd1fb4333df81f19bbf458467cce","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d90bdc02e36ec08d8248ebc6cdc52e12043eb28c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99727","url":"https://www.cve.org/CVERecord?id=CVE-2026-99727","licence":"CVE Terms of Use","modified":"2026-11-23T08:06:36.176Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99727","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99727","licence":"Public domain","modified":"2026-11-23T08:18:13.173Z"}],"updatedAt":"2026-11-25T22:59:52.323Z","epss":{"score":0.00166,"percentile":0.06192,"date":"2026-12-01T12:00:22.000Z"}}