{"id":"CVE-2026-99727","summary":"mm/huge_memory: properly handle refcounted PUD mappings on fork","details":"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.","modified":"2026-11-20T07:01:04.712170993Z","published":"2026-11-20T05:51:02.924Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99727.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d90bdc02e36ec08d8248ebc6cdc52e12043eb28c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e8ebc5a46795cd1fb4333df81f19bbf458467cce"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99727.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99727"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"aed877c2b4257a25b2429f165542f86125871071"},{"fixed":"e8ebc5a46795cd1fb4333df81f19bbf458467cce"},{"fixed":"d90bdc02e36ec08d8248ebc6cdc52e12043eb28c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99727.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.15.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99727.json"}}],"schema_version":"1.9.2"}