{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99740","id":"CVE-2026-99740","title":"Linux kernel denial of service in shmem folio truncation","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\nunc","descriptionLong":"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 ]","published":"2026-11-20T05:51:12.953Z","updated":"2026-11-20T05:51:12.953Z","reserved":"2026-09-25T10:25:14.432Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"55ac8bbe358bdd2f3c044c12f249fd22d48fe015","lessThan":"dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12","status":"affected","versionType":"git"},{"version":"55ac8bbe358bdd2f3c044c12f249fd22d48fe015","lessThan":"1360e0f9a188cfede01d0df81119d925bbfff165","status":"affected","versionType":"git"},{"version":"55ac8bbe358bdd2f3c044c12f249fd22d48fe015","lessThan":"b3239a5a37bba078d83cfb864d47a0cc122f17cd","status":"affected","versionType":"git"},{"version":"55ac8bbe358bdd2f3c044c12f249fd22d48fe015","lessThan":"a842a1f947da8a7020e72f885ffbf2ce6a93685f","status":"affected","versionType":"git"},{"version":"da9b7c651c6517c2de1099136ed87c0c24f864dd","status":"affected","versionType":"git"},{"version":"7a4ae7acd20805940307be98b304871a43288a01","status":"affected","versionType":"git"},{"version":"6.1.69","lessThan":"6.2","status":"affected","versionType":"semver"},{"version":"6.6.8","lessThan":"6.7","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12","tags":[]},{"url":"https://git.kernel.org/stable/c/1360e0f9a188cfede01d0df81119d925bbfff165","tags":[]},{"url":"https://git.kernel.org/stable/c/b3239a5a37bba078d83cfb864d47a0cc122f17cd","tags":[]},{"url":"https://git.kernel.org/stable/c/a842a1f947da8a7020e72f885ffbf2ce6a93685f","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99740","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99740","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99740","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99740","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}