{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99663",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.427Z",
        "datePublished": "2026-11-20T05:50:14.097Z",
        "dateUpdated": "2026-11-20T05:50:14.097Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-20T05:50:14.097Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/gup: fix clearing folios in memfd_pin_folios()\n\nmemfd_pin_folios() pins folios obtained directly from the page cache\nwithout checking whether they are uptodate. However, shmem fallocate()\ncan leave newly allocated folios uncleared and not uptodate. Callers\nsuch as udmabuf can then expose uninitialized memory to userspace.\n\nClear non-uptodate folios and mark them uptodate under the folio lock\nbefore returning them to the caller.\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: simplify description and comment ]"
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "mm/gup.c"
                    ],
                    "versions": [
                        {
                            "version": "89c1905d9c140372b7f50ef48f42378cf85d9bc5",
                            "lessThan": "9b9c506018859bb33f01e4b9df213d41b9ca4cc2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "89c1905d9c140372b7f50ef48f42378cf85d9bc5",
                            "lessThan": "d56f6835532c59b1b5e2d43f373f31586e7e457f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "89c1905d9c140372b7f50ef48f42378cf85d9bc5",
                            "lessThan": "65f4a8ef0adf18601c6ddbfd0e3918afffaeb890",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "89c1905d9c140372b7f50ef48f42378cf85d9bc5",
                            "lessThan": "c83ee2fa5a94edb2e04102b9dd4f1ee0eeb2b932",
                            "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/gup.c"
                    ],
                    "versions": [
                        {
                            "version": "6.11",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.11",
                            "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.5",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "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.11",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.11",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.11",
                                    "versionEndExcluding": "7.3.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.11",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/9b9c506018859bb33f01e4b9df213d41b9ca4cc2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d56f6835532c59b1b5e2d43f373f31586e7e457f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/65f4a8ef0adf18601c6ddbfd0e3918afffaeb890"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c83ee2fa5a94edb2e04102b9dd4f1ee0eeb2b932"
                }
            ],
            "title": "mm/gup: fix clearing folios in memfd_pin_folios()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}