{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c49fcfcda8b5b06529103664f0291f433f5e6d24"
            },
            {
              "fixed": "ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d"
            },
            {
              "fixed": "d3710111839d11339e414b1bb3fea3d05ab83f6e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.18.0"
            },
            {
              "fixed": "7.3.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99734.json"
  },
  "details": "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-\u003ef_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-\u003ehost\nfor shmem inode operations. Focusing on the file does not seem relevant.",
  "id": "CVE-2026-99734",
  "modified": "2026-11-20T06:46:02.593877523Z",
  "published": "2026-11-20T05:51:08.293Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d3710111839d11339e414b1bb3fea3d05ab83f6e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99734.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99734"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "mm/shmem: make shmem_file() check the file's inode"
}