CVE-2026-99734 (GCVE-0-2026-99734)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:51 – Updated: 2026-11-23 08:06
VLAI
Title
mm/shmem: make shmem_file() check the file's inode
Summary
In the Linux kernel, the following vulnerability has been resolved: mm/shmem: make shmem_file() check the file's inode shmem_file() only checks if file->f_mapping is a shmem mapping. This mapping can belong to another file, however, as with a Coda file backed by a tmpfs container after mmap(). So it does not guarantee that the file inode is an actual shmem inode. Seal handling and memfd preservation use this check before accessing shmem inode state, so they can access an inode of the wrong type. Let's make shmem_file() check the inode's file operations instead, to identify shmem inodes reliably. This will identify regular shmem inodes, including memfds and ordinary tmpfs files, independently of wrapper file operations. Use shmem_mapping() in collapse_file() instead to not change the behavior of collapse_file(): it operates on the page cache and uses mapping->host for shmem inode operations. Focusing on the file does not seem relevant.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: c49fcfcda8b5b06529103664f0291f433f5e6d24 , < c640660546a0d6401df8a3bade44106e718acdb8 (git)
Affected: c49fcfcda8b5b06529103664f0291f433f5e6d24 , < 1b6acc6d060a52d610b95a15e3b10ef92fa94ec8 (git)
Affected: c49fcfcda8b5b06529103664f0291f433f5e6d24 , < d59c534c9a89ca9b87a4d8e0012e8d9e9879fac5 (git)
Affected: c49fcfcda8b5b06529103664f0291f433f5e6d24 , < ecc5ee1575c02a87f48867614328604400c65fc0 (git)
Affected: c49fcfcda8b5b06529103664f0291f433f5e6d24 , < f9632dbb5d546d4bd30d922b6ed44735160a3664 (git)
Affected: c49fcfcda8b5b06529103664f0291f433f5e6d24 , < 8c4a93bb9736256a97660505f0e0d1c01ef60f20 (git)
Affected: c49fcfcda8b5b06529103664f0291f433f5e6d24 , < ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d (git)
Affected: c49fcfcda8b5b06529103664f0291f433f5e6d24 , < d3710111839d11339e414b1bb3fea3d05ab83f6e (git)
Create a notification for this product.
Linux Linux Affected: 4.18
Unaffected: 0 , < 4.18 (semver)
Unaffected: 5.10.275 , ≤ 5.10.* (semver)
Unaffected: 5.15.226 , ≤ 5.15.* (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.119 , ≤ 6.12.* (semver)
Unaffected: 6.18.65 , ≤ 6.18.* (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "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": "c640660546a0d6401df8a3bade44106e718acdb8",
              "status": "affected",
              "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
              "versionType": "git"
            },
            {
              "lessThan": "1b6acc6d060a52d610b95a15e3b10ef92fa94ec8",
              "status": "affected",
              "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
              "versionType": "git"
            },
            {
              "lessThan": "d59c534c9a89ca9b87a4d8e0012e8d9e9879fac5",
              "status": "affected",
              "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
              "versionType": "git"
            },
            {
              "lessThan": "ecc5ee1575c02a87f48867614328604400c65fc0",
              "status": "affected",
              "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
              "versionType": "git"
            },
            {
              "lessThan": "f9632dbb5d546d4bd30d922b6ed44735160a3664",
              "status": "affected",
              "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
              "versionType": "git"
            },
            {
              "lessThan": "8c4a93bb9736256a97660505f0e0d1c01ef60f20",
              "status": "affected",
              "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
              "versionType": "git"
            },
            {
              "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": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.119",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.65",
              "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": "5.10.275",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.226",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.119",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.65",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "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\u0027s 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\u0027s make shmem_file() check the inode\u0027s 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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:06:42.320Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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\u0027s 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-23T08:06:42.320Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99734",
      "date": "2026-11-24",
      "epss": "0.00177",
      "percentile": "0.0719"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-25T01:11:07.000Z",
      "cve": "CVE-2026-99734",
      "id": "msrc_CVE-2026-99734",
      "initial_release_date": "2026-11-20T18:16:35.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "mm/shmem: make shmem_file() check the file\u0027s inode",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99734.json",
      "version": "3"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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": "c640660546a0d6401df8a3bade44106e718acdb8",
                    "status": "affected",
                    "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1b6acc6d060a52d610b95a15e3b10ef92fa94ec8",
                    "status": "affected",
                    "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d59c534c9a89ca9b87a4d8e0012e8d9e9879fac5",
                    "status": "affected",
                    "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ecc5ee1575c02a87f48867614328604400c65fc0",
                    "status": "affected",
                    "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f9632dbb5d546d4bd30d922b6ed44735160a3664",
                    "status": "affected",
                    "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8c4a93bb9736256a97660505f0e0d1c01ef60f20",
                    "status": "affected",
                    "version": "c49fcfcda8b5b06529103664f0291f433f5e6d24",
                    "versionType": "git"
                  },
                  {
                    "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": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.275",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.226",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.119",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.65",
                    "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: make shmem_file() check the file\u0027s 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\u0027s make shmem_file() check the inode\u0027s 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",
        "lastModified": "2026-11-23T08:18:13.767",
        "metrics": {},
        "published": "2026-11-20T06:18:10.753",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1b6acc6d060a52d610b95a15e3b10ef92fa94ec8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8c4a93bb9736256a97660505f0e0d1c01ef60f20"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c640660546a0d6401df8a3bade44106e718acdb8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d3710111839d11339e414b1bb3fea3d05ab83f6e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d59c534c9a89ca9b87a4d8e0012e8d9e9879fac5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ecc5ee1575c02a87f48867614328604400c65fc0"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f9632dbb5d546d4bd30d922b6ed44735160a3664"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-24T23:22:37+00:00",
      "cve": "CVE-2026-99734",
      "id": "CVE-2026-99734",
      "initial_release_date": "2026-11-20T05:51:08.293000+00:00",
      "product_status:known_affected": "252",
      "product_status:known_not_affected": "28",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of service via improper inode validation in shared memory subsystem",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99734.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-25T00:59:30Z",
      "cve": "CVE-2026-99734",
      "id": "CVE-2026-99734",
      "initial_release_date": "2026-11-20T17:41:05Z",
      "product_status:known_affected": "179",
      "product_status:known_not_affected": "172",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99734",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99734.json",
      "version": "4"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…