mm/mremap: correctly uncharge accountable VMAs in error path

Summary

CVECVE-2026-99913
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:20:27 UTC
Updated2026-11-30 14:20:27 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: mm/mremap: correctly uncharge accountable VMAs in error path The mremap error path is a fragile and unwieldy beast - it reverses the page table move then updates vma_remap_struct state to swap VMA, length and address between old and new VMAs in copy_vma_and_data(). If the mremap() operation didn't specify MREMAP_DONTUNMAP then its caller, move_vma(), invokes unmap_source_vma(), which unmaps the new VMA rather than the old one. For accountable VMAs when MREMAP_DONTUNMAP is not specified, unmap_source_vma() unsets VMA_ACCOUNT_BIT during this unmap in order that only the delta of a VMA expansion is charged (performed by vrm_calc_charge() earlier). Therefore nothing uncharges the expanded VMA size, and there is a permanent leak in global Committed_AS. Resolve the issue by uncharging when MREMAP_DONTUNMAP is not specified.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected fdbef61491359947753c13581098878e8d038286 ee5a280ddecd4284a372280e4935ba3ac56b4fb7 git Not specified
CNA Linux Linux affected fdbef61491359947753c13581098878e8d038286 58ba5e82d41e8445e563e1604e9adb68e567a266 git Not specified
CNA Linux Linux affected fdbef61491359947753c13581098878e8d038286 813d75b25c3d893eafde79914026ddf85369396d git Not specified
CNA Linux Linux affected fdbef61491359947753c13581098878e8d038286 e251079d676c481cc905d1ac226851b1ef49a4b8 git Not specified
CNA Linux Linux affected fdbef61491359947753c13581098878e8d038286 22464b99348bde3a3804a26e0a30878358c3dd94 git Not specified
CNA Linux Linux affected fdbef61491359947753c13581098878e8d038286 65e722a74df992719676ead85a9e93fb2b5a0983 git Not specified
CNA Linux Linux affected 5.16 Not specified
CNA Linux Linux unaffected 5.16 semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.118 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/813d75b25c3d893eafde79914026ddf85369396d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/65e722a74df992719676ead85a9e93fb2b5a0983 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e251079d676c481cc905d1ac226851b1ef49a4b8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/22464b99348bde3a3804a26e0a30878358c3dd94 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/58ba5e82d41e8445e563e1604e9adb68e567a266 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ee5a280ddecd4284a372280e4935ba3ac56b4fb7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report