GHSA-6F8X-2H88-CM4Q
Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:31In 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 ]
{
"affected": [],
"aliases": [
"CVE-2026-99740"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T06:18:11Z",
"severity": null
},
"details": "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": "GHSA-6f8x-2h88-cm4q",
"modified": "2026-11-23T09:31:02Z",
"published": "2026-11-20T06:32:10Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99740"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/1360e0f9a188cfede01d0df81119d925bbfff165"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/65c71c823b8ceb7721642fdb24a992b22fdf0944"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/a842a1f947da8a7020e72f885ffbf2ce6a93685f"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/b3239a5a37bba078d83cfb864d47a0cc122f17cd"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c00f570d296157a89bf25282cfabc057a34dbc85"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12"
}
],
"schema_version": "1.4.0",
"severity": []
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.