{"api_version":"1","generated_at":"2026-11-20T07:29:58+00:00","cve":"CVE-2026-99740","urls":{"html":"https://cve.report/CVE-2026-99740","api":"https://cve.report/api/cve/CVE-2026-99740.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99740","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99740"},"summary":{"title":"mm/shmem: stop retrying folios that cannot be split","description":"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's 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 ]","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:11","updated_at":"2026-11-20 06:18:11"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/b3239a5a37bba078d83cfb864d47a0cc122f17cd","name":"https://git.kernel.org/stable/c/b3239a5a37bba078d83cfb864d47a0cc122f17cd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a842a1f947da8a7020e72f885ffbf2ce6a93685f","name":"https://git.kernel.org/stable/c/a842a1f947da8a7020e72f885ffbf2ce6a93685f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12","name":"https://git.kernel.org/stable/c/dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1360e0f9a188cfede01d0df81119d925bbfff165","name":"https://git.kernel.org/stable/c/1360e0f9a188cfede01d0df81119d925bbfff165","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99740","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99740","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55ac8bbe358bdd2f3c044c12f249fd22d48fe015 dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55ac8bbe358bdd2f3c044c12f249fd22d48fe015 1360e0f9a188cfede01d0df81119d925bbfff165 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55ac8bbe358bdd2f3c044c12f249fd22d48fe015 b3239a5a37bba078d83cfb864d47a0cc122f17cd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 55ac8bbe358bdd2f3c044c12f249fd22d48fe015 a842a1f947da8a7020e72f885ffbf2ce6a93685f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected da9b7c651c6517c2de1099136ed87c0c24f864dd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7a4ae7acd20805940307be98b304871a43288a01 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.69 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.8 6.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.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":["mm/shmem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"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"},{"status":"affected","version":"da9b7c651c6517c2de1099136ed87c0c24f864dd","versionType":"git"},{"status":"affected","version":"7a4ae7acd20805940307be98b304871a43288a01","versionType":"git"},{"lessThan":"6.2","status":"affected","version":"6.1.69","versionType":"semver"},{"lessThan":"6.7","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.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"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.69","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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's 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 ]"}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:12.953Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12"},{"url":"https://git.kernel.org/stable/c/1360e0f9a188cfede01d0df81119d925bbfff165"},{"url":"https://git.kernel.org/stable/c/b3239a5a37bba078d83cfb864d47a0cc122f17cd"},{"url":"https://git.kernel.org/stable/c/a842a1f947da8a7020e72f885ffbf2ce6a93685f"}],"title":"mm/shmem: stop retrying folios that cannot be split","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99740","datePublished":"2026-11-20T05:51:12.953Z","dateReserved":"2026-09-25T10:25:14.432Z","dateUpdated":"2026-11-20T05:51:12.953Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:11","lastModifiedDate":"2026-11-20 06:18:11","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99740","Ordinal":"1","Title":"mm/shmem: stop retrying folios that cannot be split","CVE":"CVE-2026-99740","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99740","Ordinal":"1","NoteData":"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's 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 ]","Type":"Description","Title":"mm/shmem: stop retrying folios that cannot be split"}]}}}