{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99914",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.445Z",
        "datePublished": "2026-11-30T13:18:14.020Z",
        "dateUpdated": "2026-11-30T13:18:14.020Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:18:14.020Z"
            },
            "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "mm/mremap.c"
                    ],
                    "versions": [
                        {
                            "version": "d5c8aec0542e2d79b64de9089b88fabdebe05c1e",
                            "lessThan": "38efa986446b83eaefde90558bc0ee7dbe903782",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d5c8aec0542e2d79b64de9089b88fabdebe05c1e",
                            "lessThan": "b6d9bee0f6b9d3bf46329ca6fb49be364d1adb9a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d5c8aec0542e2d79b64de9089b88fabdebe05c1e",
                            "lessThan": "34e753f8d927069785f6b675f5769da5da4ef78e",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "mm/mremap.c"
                    ],
                    "versions": [
                        {
                            "version": "6.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.15",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.15",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.15",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}