{"id":"CVE-2026-99913","aliases":["CVE-2026-99913"],"related":[],"kind":"vulnerability","state":"published","title":"mm/mremap: correctly uncharge accountable VMAs in error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mremap: correctly uncharge accountable VMAs in error path\n\nThe mremap error path is a fragile and unwieldy beast - it reverses the\npage table move then updates vma_remap_struct state to swap VMA, length and\naddress between old and new VMAs in copy_vma_and_data().\n\nIf the mremap() operation didn't specify MREMAP_DONTUNMAP then its caller,\nmove_vma(), invokes unmap_source_vma(), which unmaps the new VMA rather\nthan the old one.\n\nFor accountable VMAs when MREMAP_DONTUNMAP is not specified,\nunmap_source_vma() unsets VMA_ACCOUNT_BIT during this unmap in order that\nonly the delta of a VMA expansion is charged (performed by\nvrm_calc_charge() earlier).\n\nTherefore nothing uncharges the expanded VMA size, and there is a permanent\nleak in global Committed_AS.\n\nResolve the issue by uncharging when MREMAP_DONTUNMAP is not specified.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mremap: correctly uncharge accountable VMAs in error path\n\nThe mremap error path is a fragile and unwieldy beast - it reverses the\npage table move then updates vma_remap_struct state to swap VMA, length and\naddress between old and new VMAs in copy_vma_and_data().\n\nIf the mremap() operation didn't specify MREMAP_DONTUNMAP then its caller,\nmove_vma(), invokes unmap_source_vma(), which unmaps the new VMA rather\nthan the old one.\n\nFor accountable VMAs when MREMAP_DONTUNMAP is not specified,\nunmap_source_vma() unsets VMA_ACCOUNT_BIT during this unmap in order that\nonly the delta of a VMA expansion is charged (performed by\nvrm_calc_charge() earlier).\n\nTherefore nothing uncharges the expanded VMA size, and there is a permanent\nleak in global Committed_AS.\n\nResolve the issue by uncharging when MREMAP_DONTUNMAP is not specified.","source":"cvelist"}],"published":"2026-11-30T13:18:13.468Z","modified":"2026-11-30T14:20:27.230Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fdbef61491359947753c13581098878e8d038286","fixed":"ee5a280ddecd4284a372280e4935ba3ac56b4fb7","status":"affected"},{"type":"git","introduced":"fdbef61491359947753c13581098878e8d038286","fixed":"58ba5e82d41e8445e563e1604e9adb68e567a266","status":"affected"},{"type":"git","introduced":"fdbef61491359947753c13581098878e8d038286","fixed":"813d75b25c3d893eafde79914026ddf85369396d","status":"affected"},{"type":"git","introduced":"fdbef61491359947753c13581098878e8d038286","fixed":"e251079d676c481cc905d1ac226851b1ef49a4b8","status":"affected"},{"type":"git","introduced":"fdbef61491359947753c13581098878e8d038286","fixed":"22464b99348bde3a3804a26e0a30878358c3dd94","status":"affected"},{"type":"git","introduced":"fdbef61491359947753c13581098878e8d038286","fixed":"65e722a74df992719676ead85a9e93fb2b5a0983","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","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/ee5a280ddecd4284a372280e4935ba3ac56b4fb7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58ba5e82d41e8445e563e1604e9adb68e567a266","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/813d75b25c3d893eafde79914026ddf85369396d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e251079d676c481cc905d1ac226851b1ef49a4b8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/22464b99348bde3a3804a26e0a30878358c3dd94","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65e722a74df992719676ead85a9e93fb2b5a0983","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99913","url":"https://www.cve.org/CVERecord?id=CVE-2026-99913","licence":"CVE Terms of Use","modified":"2026-11-30T13:18:13.468Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99913","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99913","licence":"Public domain","modified":"2026-11-30T14:20:27.230Z"}],"updatedAt":"2026-11-30T14:33:50.044Z","epss":{"score":0.00318,"percentile":0.26706,"date":"2026-12-01T12:00:22.000Z"}}