{"api_version":"1","generated_at":"2026-11-20T07:30:00+00:00","cve":"CVE-2026-99734","urls":{"html":"https://cve.report/CVE-2026-99734","api":"https://cve.report/api/cve/CVE-2026-99734.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99734","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99734"},"summary":{"title":"mm/shmem: make shmem_file() check the file's inode","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:10","updated_at":"2026-11-20 06:18:10"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d3710111839d11339e414b1bb3fea3d05ab83f6e","name":"https://git.kernel.org/stable/c/d3710111839d11339e414b1bb3fea3d05ab83f6e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d","name":"https://git.kernel.org/stable/c/ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99734","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99734","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c49fcfcda8b5b06529103664f0291f433f5e6d24 ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c49fcfcda8b5b06529103664f0291f433f5e6d24 d3710111839d11339e414b1bb3fea3d05ab83f6e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * 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":["include/linux/shmem_fs.h","mm/khugepaged.c","mm/shmem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d","status":"affected","version":"c49fcfcda8b5b06529103664f0291f433f5e6d24","versionType":"git"},{"lessThan":"d3710111839d11339e414b1bb3fea3d05ab83f6e","status":"affected","version":"c49fcfcda8b5b06529103664f0291f433f5e6d24","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/linux/shmem_fs.h","mm/khugepaged.c","mm/shmem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.18"},{"lessThan":"4.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"4.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:08.293Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99734","datePublished":"2026-11-20T05:51:08.293Z","dateReserved":"2026-09-25T10:25:14.431Z","dateUpdated":"2026-11-20T05:51:08.293Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:10","lastModifiedDate":"2026-11-20 06:18:10","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99734","Ordinal":"1","Title":"mm/shmem: make shmem_file() check the file's inode","CVE":"CVE-2026-99734","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99734","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"mm/shmem: make shmem_file() check the file's inode"}]}}}