{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99911",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.444Z",
        "datePublished": "2026-11-30T13:18:12.376Z",
        "dateUpdated": "2026-11-30T13:18:12.376Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:18:12.376Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/vma: avoid broken uffd merge on mremap\n\nUserfaultfd often causes unexpected interactions within mm, and does so at\nthe intersection of uffd, mremap() and VMA merging.\n\nWhen an mremap of a VMA occurs, copy_vma_and_data() calls\nmremap_userfaultfd_prep() to notify uffd of this.\n\nHowever, mremap_userfaultfd_prep() simply drops the UFFD context for the\nVMA if the user did not register it for remap, i.e. didn't specify the\nUFFD_FEATURE_EVENT_REMAP flag.\n\nThis is OK for the VMA itself, as upon page table move, move_ptes() clears\nUFFD page table flags, using vma_has_uffd_without_event_remap() to\ndetermine whether to do so.\n\nHowever, this doesn't account for merging with adjacent VMAs, whose page\ntables won't have received this treatment, and thus latent UFFD markers\nwill be left around.\n\nWorse, it'll break UFFD for any VMAs it is merged with. This is very\nsurprising behaviour for a user, who will then simply not receive UFFD\nevents for VMAs they ought to.\n\nResolve the issue by explicitly checking for this case via\nvma_has_uffd_without_event_remap() in vma_merge_copied_range(), the merge\nfunction explicitly designated for mremap() operations.\n\nAlso update the userland VMA tests accordingly."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "mm/vma.c",
                        "tools/testing/vma/include/stubs.h"
                    ],
                    "versions": [
                        {
                            "version": "3cfd22be0ad663248fadfc8f6ffa3e255c394552",
                            "lessThan": "2aa62a97a2fd39e7351fa55f44b0f76f5d9232d6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3cfd22be0ad663248fadfc8f6ffa3e255c394552",
                            "lessThan": "2f2860b537c9a5863250c21909f3987765a60523",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3cfd22be0ad663248fadfc8f6ffa3e255c394552",
                            "lessThan": "15c932d5295cfbc06ca1982a82d205d50b571dff",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3cfd22be0ad663248fadfc8f6ffa3e255c394552",
                            "lessThan": "4805046a03e6f2f74f231e8f01a2581946169584",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3cfd22be0ad663248fadfc8f6ffa3e255c394552",
                            "lessThan": "682104ab8ef8432b9a4b06cb5834498ce7f7ebca",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3cfd22be0ad663248fadfc8f6ffa3e255c394552",
                            "lessThan": "68cb098eadda190783f8f8bdf9fe764df59f7d32",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2011eb74180356d56afa47c238b8861f8e45ecf6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "743b54266729e24c2c700889dd34acc3ad03545d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4.19.18",
                            "lessThan": "4.20",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.20.5",
                            "lessThan": "4.21",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "mm/vma.c",
                        "tools/testing/vma/include/stubs.h"
                    ],
                    "versions": [
                        {
                            "version": "5.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "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": "5.0",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19.18"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20.5"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/2aa62a97a2fd39e7351fa55f44b0f76f5d9232d6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2f2860b537c9a5863250c21909f3987765a60523"
                },
                {
                    "url": "https://git.kernel.org/stable/c/15c932d5295cfbc06ca1982a82d205d50b571dff"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4805046a03e6f2f74f231e8f01a2581946169584"
                },
                {
                    "url": "https://git.kernel.org/stable/c/682104ab8ef8432b9a4b06cb5834498ce7f7ebca"
                },
                {
                    "url": "https://git.kernel.org/stable/c/68cb098eadda190783f8f8bdf9fe764df59f7d32"
                }
            ],
            "title": "mm/vma: avoid broken uffd merge on mremap",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}