{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99734",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.431Z",
        "datePublished": "2026-11-20T05:51:08.293Z",
        "dateUpdated": "2026-11-23T08:06:42.320Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-23T08:06:42.320Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: make shmem_file() check the file's inode\n\nshmem_file() only checks if file->f_mapping is a shmem mapping. This\nmapping can belong to another file, however, as with a Coda file backed\nby a tmpfs container after mmap().\n\nSo it does not guarantee that the file inode is an actual shmem inode.\n\nSeal handling and memfd preservation use this check before accessing\nshmem inode state, so they can access an inode of the wrong type.\n\nLet's make shmem_file() check the inode's file operations instead, to\nidentify shmem inodes reliably. This will identify regular shmem inodes,\nincluding memfds and ordinary tmpfs files, independently of wrapper file\noperations.\n\nUse shmem_mapping() in collapse_file() instead to not change the behavior\nof collapse_file(): it operates on the page cache and uses mapping->host\nfor shmem inode operations. Focusing on the file does not seem relevant."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/linux/shmem_fs.h",
                        "mm/khugepaged.c",
                        "mm/shmem.c"
                    ],
                    "versions": [
                        {
                            "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                            "lessThan": "c640660546a0d6401df8a3bade44106e718acdb8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                            "lessThan": "1b6acc6d060a52d610b95a15e3b10ef92fa94ec8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                            "lessThan": "d59c534c9a89ca9b87a4d8e0012e8d9e9879fac5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                            "lessThan": "ecc5ee1575c02a87f48867614328604400c65fc0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                            "lessThan": "f9632dbb5d546d4bd30d922b6ed44735160a3664",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                            "lessThan": "8c4a93bb9736256a97660505f0e0d1c01ef60f20",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                            "lessThan": "ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                            "lessThan": "d3710111839d11339e414b1bb3fea3d05ab83f6e",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/linux/shmem_fs.h",
                        "mm/khugepaged.c",
                        "mm/shmem.c"
                    ],
                    "versions": [
                        {
                            "version": "4.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "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.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "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": "4.18",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "7.3.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/c640660546a0d6401df8a3bade44106e718acdb8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1b6acc6d060a52d610b95a15e3b10ef92fa94ec8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d59c534c9a89ca9b87a4d8e0012e8d9e9879fac5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ecc5ee1575c02a87f48867614328604400c65fc0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f9632dbb5d546d4bd30d922b6ed44735160a3664"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8c4a93bb9736256a97660505f0e0d1c01ef60f20"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d3710111839d11339e414b1bb3fea3d05ab83f6e"
                }
            ],
            "title": "mm/shmem: make shmem_file() check the file's inode",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}