{"id":"CVE-2026-99914","aliases":["CVE-2026-99914"],"related":[],"kind":"vulnerability","state":"published","title":"mm/mremap: populate calculated fields in vrm state correctly","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mremap: populate calculated fields in vrm state correctly\n\nCommit d5c8aec0542e (\"mm/mremap: initial refactor of move_vma()\")\nintroduced the vma_remap_struct helper to pass state sanely through\nmremap() logic.\n\nPart of this state is vrm->delta - equal to the absolute difference between\nvrm->old_len and vrm->new_len (the old and new lengths of the VMA,\nrespectively).\n\nThis value is used to correctly charge accounted VMAs.\n\nWhen shrinking a VMA, mremap_to() sets vrm->old_len equal to vrm->new_len\nhaving performed the shrink of the VMA first, prior to any potential move\n(e.g.  MREMAP_FIXED | MREMAP_MAYMOVE specified).\n\nHowever it does not recalculate vrm->delta, which results in incorrectly\novercharging the VMA when both moving and shrinking a VMA.\n\nThe charge leaks to Committed_AS globally, meaning a mischievous user can\ncause allocations to fail across the system in strict overcommit mode.\n\nResolve the issue by abstracting the update of vrm->delta to\nvrm_populate_calculated() and invoking this from mremap_to() when\nvrm->old_len is changed.\n\nAdditionally, update vrm->remap_type whose value depends on vrm->delta. \nThe field is not read again after the shrink, but it is the logically\ncorrect thing to do and protects against future changes which break this.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mremap: populate calculated fields in vrm state correctly\n\nCommit d5c8aec0542e (\"mm/mremap: initial refactor of move_vma()\")\nintroduced the vma_remap_struct helper to pass state sanely through\nmremap() logic.\n\nPart of this state is vrm->delta - equal to the absolute difference between\nvrm->old_len and vrm->new_len (the old and new lengths of the VMA,\nrespectively).\n\nThis value is used to correctly charge accounted VMAs.\n\nWhen shrinking a VMA, mremap_to() sets vrm->old_len equal to vrm->new_len\nhaving performed the shrink of the VMA first, prior to any potential move\n(e.g.  MREMAP_FIXED | MREMAP_MAYMOVE specified).\n\nHowever it does not recalculate vrm->delta, which results in incorrectly\novercharging the VMA when both moving and shrinking a VMA.\n\nThe charge leaks to Committed_AS globally, meaning a mischievous user can\ncause allocations to fail across the system in strict overcommit mode.\n\nResolve the issue by abstracting the update of vrm->delta to\nvrm_populate_calculated() and invoking this from mremap_to() when\nvrm->old_len is changed.\n\nAdditionally, update vrm->remap_type whose value depends on vrm->delta. \nThe field is not read again after the shrink, but it is the logically\ncorrect thing to do and protects against future changes which break this.","source":"cvelist"}],"published":"2026-11-30T13:18:14.020Z","modified":"2026-11-30T14:20:27.350Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d5c8aec0542e2d79b64de9089b88fabdebe05c1e","fixed":"38efa986446b83eaefde90558bc0ee7dbe903782","status":"affected"},{"type":"git","introduced":"d5c8aec0542e2d79b64de9089b88fabdebe05c1e","fixed":"b6d9bee0f6b9d3bf46329ca6fb49be364d1adb9a","status":"affected"},{"type":"git","introduced":"d5c8aec0542e2d79b64de9089b88fabdebe05c1e","fixed":"34e753f8d927069785f6b675f5769da5da4ef78e","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.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/38efa986446b83eaefde90558bc0ee7dbe903782","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6d9bee0f6b9d3bf46329ca6fb49be364d1adb9a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34e753f8d927069785f6b675f5769da5da4ef78e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99914","url":"https://www.cve.org/CVERecord?id=CVE-2026-99914","licence":"CVE Terms of Use","modified":"2026-11-30T13:18:14.020Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99914","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99914","licence":"Public domain","modified":"2026-11-30T14:20:27.350Z"}],"updatedAt":"2026-11-30T14:33:45.458Z","epss":{"score":0.00306,"percentile":0.25181,"date":"2026-12-01T12:00:22.000Z"}}