FKIE_CVE-2026-99740

Vulnerability from fkie_nvd - Published: 2026-11-20 06:18 - Updated: 2026-11-23 08:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: mm/shmem: stop retrying folios that cannot be split A fault or collapse can insert a large folio crossing EOF after shmem_undo_range() has handled the boundary folios. If splitting that folio fails, truncate_inode_partial_folio() retains it when it is dirty. The final scan then repeatedly finds it because it restarts from an unchanged start. Truncation keeps the inode lock and ignores fatal signals while looping. A concurrent unlink() can then block other directory operations while holding the directory lock and waiting for the file's lock. Advance start past the retained folio, whose truncated part has already been zeroed. Do not move start backwards if the failed split has shrunk the folio. Fix generated by an LLM and sent by Chris Mason in private. [ david: split fixes, simplify descriptions, adjust comments ]
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "mm/shmem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c00f570d296157a89bf25282cfabc057a34dbc85",
              "status": "affected",
              "version": "da9b7c651c6517c2de1099136ed87c0c24f864dd",
              "versionType": "git"
            },
            {
              "lessThan": "65c71c823b8ceb7721642fdb24a992b22fdf0944",
              "status": "affected",
              "version": "7a4ae7acd20805940307be98b304871a43288a01",
              "versionType": "git"
            },
            {
              "lessThan": "dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12",
              "status": "affected",
              "version": "55ac8bbe358bdd2f3c044c12f249fd22d48fe015",
              "versionType": "git"
            },
            {
              "lessThan": "1360e0f9a188cfede01d0df81119d925bbfff165",
              "status": "affected",
              "version": "55ac8bbe358bdd2f3c044c12f249fd22d48fe015",
              "versionType": "git"
            },
            {
              "lessThan": "b3239a5a37bba078d83cfb864d47a0cc122f17cd",
              "status": "affected",
              "version": "55ac8bbe358bdd2f3c044c12f249fd22d48fe015",
              "versionType": "git"
            },
            {
              "lessThan": "a842a1f947da8a7020e72f885ffbf2ce6a93685f",
              "status": "affected",
              "version": "55ac8bbe358bdd2f3c044c12f249fd22d48fe015",
              "versionType": "git"
            },
            {
              "lessThan": "6.1.193",
              "status": "affected",
              "version": "6.1.69",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.163",
              "status": "affected",
              "version": "6.6.8",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "mm/shmem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "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.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "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: stop retrying folios that cannot be split\n\nA fault or collapse can insert a large folio crossing EOF after\nshmem_undo_range() has handled the boundary folios. If splitting that\nfolio fails, truncate_inode_partial_folio() retains it when it is dirty.\nThe final scan then repeatedly finds it because it restarts from an\nunchanged start.\n\nTruncation keeps the inode lock and ignores fatal signals while looping.\nA concurrent unlink() can then block other directory operations while\nholding the directory lock and waiting for the file\u0027s lock.\n\nAdvance start past the retained folio, whose truncated part has already\nbeen zeroed. Do not move start backwards if the failed split has shrunk\nthe folio.\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: split fixes, simplify descriptions, adjust comments ]"
    }
  ],
  "id": "CVE-2026-99740",
  "lastModified": "2026-11-23T08:18:14.260",
  "metrics": {},
  "published": "2026-11-20T06:18:11.723",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1360e0f9a188cfede01d0df81119d925bbfff165"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/65c71c823b8ceb7721642fdb24a992b22fdf0944"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/a842a1f947da8a7020e72f885ffbf2ce6a93685f"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/b3239a5a37bba078d83cfb864d47a0cc122f17cd"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/c00f570d296157a89bf25282cfabc057a34dbc85"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



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…