{"id":"CVE-2026-99737","aliases":[],"title":"mm/shmem: fix truncate loop after boundary swapin failure","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00168,"percentile":0.06467},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Linux","range":">=6.12.69, <6.12.118","fixed":"6.12.118"},{"ecosystem":"vendor","name":"Linux","range":">=6.18.9, <6.18.64","fixed":"6.18.64"},{"ecosystem":"vendor","name":"Linux","range":">=8a1968bd997f45a9b11aefeabdd1232e1b6c7184, <5f1ec2cf92a7d655a8eb39711987822f9b1f9d67","fixed":"5f1ec2cf92a7d655a8eb39711987822f9b1f9d67"},{"ecosystem":"vendor","name":"Linux","range":">=8a1968bd997f45a9b11aefeabdd1232e1b6c7184, <e6e9ba49679e5f33f62615fb57ec103045fbc8f9","fixed":"e6e9ba49679e5f33f62615fb57ec103045fbc8f9"},{"ecosystem":"vendor","name":"Linux","range":">=a99f9a4669a04662c8f9efe0e62cafc598153139, <7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb","fixed":"7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb"},{"ecosystem":"vendor","name":"Linux","range":">=b23bee8cdb7aabce5701a7f57414db5a354ae8ed, <d4d46430852caf5e7dbca1386fc6621ecf8fe2b0","fixed":"d4d46430852caf5e7dbca1386fc6621ecf8fe2b0"}],"references":[{"url":"https://git.kernel.org/stable/c/7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb","type":"other"},{"url":"https://git.kernel.org/stable/c/d4d46430852caf5e7dbca1386fc6621ecf8fe2b0","type":"other"},{"url":"https://git.kernel.org/stable/c/e6e9ba49679e5f33f62615fb57ec103045fbc8f9","type":"other"},{"url":"https://git.kernel.org/stable/c/5f1ec2cf92a7d655a8eb39711987822f9b1f9d67","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-20T06:30:46.302Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99737","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.302Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:55.515Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99737","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:16.247Z"}],"firstSeenAt":"2026-11-20T06:28:16.247Z","publishedAt":"2026-11-20T05:51:10.519Z","modifiedAt":"2026-11-20T06:18:11.280Z"}