{"id":"CVE-2026-99913","summary":"mm/mremap: correctly uncharge accountable VMAs in error path","details":"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.","modified":"2026-11-30T15:02:32.027610296Z","published":"2026-11-30T13:18:13.468Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99913.json","cna_assigner":"Linux"},"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/22464b99348bde3a3804a26e0a30878358c3dd94"},{"type":"WEB","url":"https://git.kernel.org/stable/c/58ba5e82d41e8445e563e1604e9adb68e567a266"},{"type":"WEB","url":"https://git.kernel.org/stable/c/65e722a74df992719676ead85a9e93fb2b5a0983"},{"type":"WEB","url":"https://git.kernel.org/stable/c/813d75b25c3d893eafde79914026ddf85369396d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e251079d676c481cc905d1ac226851b1ef49a4b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee5a280ddecd4284a372280e4935ba3ac56b4fb7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99913.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99913"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fdbef61491359947753c13581098878e8d038286"},{"fixed":"ee5a280ddecd4284a372280e4935ba3ac56b4fb7"},{"fixed":"58ba5e82d41e8445e563e1604e9adb68e567a266"},{"fixed":"813d75b25c3d893eafde79914026ddf85369396d"},{"fixed":"e251079d676c481cc905d1ac226851b1ef49a4b8"},{"fixed":"22464b99348bde3a3804a26e0a30878358c3dd94"},{"fixed":"65e722a74df992719676ead85a9e93fb2b5a0983"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99913.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99913.json"}}],"schema_version":"1.9.2"}