{"id":"CVE-2026-99737","aliases":["CVE-2026-99737"],"related":[],"kind":"vulnerability","state":"published","title":"mm/shmem: fix truncate loop after boundary swapin failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: fix truncate loop after boundary swapin failure\n\nIf swapping in a large entry at the new EOF fails, shmem_undo_range()\nleaves the entry in place. Its final scan skips the entry, then restarts\nfrom the same start index and finds it again. Truncation can loop forever\nwhile holding i_rwsem.\n\nAdvance start past the skipped entry so that a restarted scan can finish,\nas we already do for folios that cannot be split.\n\nNote that this does not fix the missing zeroing when boundary swapin fails,\nit merely prevents the endless loop.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: fix truncate loop after boundary swapin failure\n\nIf swapping in a large entry at the new EOF fails, shmem_undo_range()\nleaves the entry in place. Its final scan skips the entry, then restarts\nfrom the same start index and finds it again. Truncation can loop forever\nwhile holding i_rwsem.\n\nAdvance start past the skipped entry so that a restarted scan can finish,\nas we already do for folios that cannot be split.\n\nNote that this does not fix the missing zeroing when boundary swapin fails,\nit merely prevents the endless loop.","source":"cvelist"}],"published":"2026-11-20T05:51:10.519Z","modified":"2026-11-20T06:18:11.280Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a99f9a4669a04662c8f9efe0e62cafc598153139","fixed":"7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb","status":"affected"},{"type":"git","introduced":"b23bee8cdb7aabce5701a7f57414db5a354ae8ed","fixed":"d4d46430852caf5e7dbca1386fc6621ecf8fe2b0","status":"affected"},{"type":"git","introduced":"8a1968bd997f45a9b11aefeabdd1232e1b6c7184","fixed":"e6e9ba49679e5f33f62615fb57ec103045fbc8f9","status":"affected"},{"type":"git","introduced":"8a1968bd997f45a9b11aefeabdd1232e1b6c7184","fixed":"5f1ec2cf92a7d655a8eb39711987822f9b1f9d67","status":"affected"},{"type":"semver","introduced":"6.12.69","fixed":"6.12.118","status":"affected"},{"type":"semver","introduced":"6.18.9","fixed":"6.18.64","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d4d46430852caf5e7dbca1386fc6621ecf8fe2b0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e6e9ba49679e5f33f62615fb57ec103045fbc8f9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f1ec2cf92a7d655a8eb39711987822f9b1f9d67","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99737","url":"https://www.cve.org/CVERecord?id=CVE-2026-99737","licence":"CVE Terms of Use","modified":"2026-11-20T05:51:10.519Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99737","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99737","licence":"Public domain","modified":"2026-11-20T06:18:11.280Z"}],"updatedAt":"2026-11-25T22:59:52.326Z","epss":{"score":0.00168,"percentile":0.06483,"date":"2026-12-01T12:00:22.000Z"}}