{"api_version":"1","generated_at":"2026-12-03T01:22:02+00:00","cve":"CVE-2026-99914","urls":{"html":"https://cve.report/CVE-2026-99914","api":"https://cve.report/api/cve/CVE-2026-99914.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99914","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99914"},"summary":{"title":"mm/mremap: populate calculated fields in vrm state correctly","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:27","updated_at":"2026-11-30 14:20:27"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/34e753f8d927069785f6b675f5769da5da4ef78e","name":"https://git.kernel.org/stable/c/34e753f8d927069785f6b675f5769da5da4ef78e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/38efa986446b83eaefde90558bc0ee7dbe903782","name":"https://git.kernel.org/stable/c/38efa986446b83eaefde90558bc0ee7dbe903782","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b6d9bee0f6b9d3bf46329ca6fb49be364d1adb9a","name":"https://git.kernel.org/stable/c/b6d9bee0f6b9d3bf46329ca6fb49be364d1adb9a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99914","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99914","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d5c8aec0542e2d79b64de9089b88fabdebe05c1e 38efa986446b83eaefde90558bc0ee7dbe903782 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d5c8aec0542e2d79b64de9089b88fabdebe05c1e b6d9bee0f6b9d3bf46329ca6fb49be364d1adb9a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d5c8aec0542e2d79b64de9089b88fabdebe05c1e 34e753f8d927069785f6b675f5769da5da4ef78e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["mm/mremap.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"38efa986446b83eaefde90558bc0ee7dbe903782","status":"affected","version":"d5c8aec0542e2d79b64de9089b88fabdebe05c1e","versionType":"git"},{"lessThan":"b6d9bee0f6b9d3bf46329ca6fb49be364d1adb9a","status":"affected","version":"d5c8aec0542e2d79b64de9089b88fabdebe05c1e","versionType":"git"},{"lessThan":"34e753f8d927069785f6b675f5769da5da4ef78e","status":"affected","version":"d5c8aec0542e2d79b64de9089b88fabdebe05c1e","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["mm/mremap.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.15"},{"lessThan":"6.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:18:14.020Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/38efa986446b83eaefde90558bc0ee7dbe903782"},{"url":"https://git.kernel.org/stable/c/b6d9bee0f6b9d3bf46329ca6fb49be364d1adb9a"},{"url":"https://git.kernel.org/stable/c/34e753f8d927069785f6b675f5769da5da4ef78e"}],"title":"mm/mremap: populate calculated fields in vrm state correctly","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99914","datePublished":"2026-11-30T13:18:14.020Z","dateReserved":"2026-09-25T10:25:14.445Z","dateUpdated":"2026-11-30T13:18:14.020Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:27","lastModifiedDate":"2026-11-30 14:20:27","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99914","Ordinal":"1","Title":"mm/mremap: populate calculated fields in vrm state correctly","CVE":"CVE-2026-99914","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99914","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"mm/mremap: populate calculated fields in vrm state correctly"}]}}}