{"id":"CVE-2026-99737","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-20T06:18:11.280","lastModified":"2026-11-20T06:18:11.280","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["mm/shmem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"a99f9a4669a04662c8f9efe0e62cafc598153139","lessThan":"7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb","versionType":"git","status":"affected"},{"version":"b23bee8cdb7aabce5701a7f57414db5a354ae8ed","lessThan":"d4d46430852caf5e7dbca1386fc6621ecf8fe2b0","versionType":"git","status":"affected"},{"version":"8a1968bd997f45a9b11aefeabdd1232e1b6c7184","lessThan":"e6e9ba49679e5f33f62615fb57ec103045fbc8f9","versionType":"git","status":"affected"},{"version":"8a1968bd997f45a9b11aefeabdd1232e1b6c7184","lessThan":"5f1ec2cf92a7d655a8eb39711987822f9b1f9d67","versionType":"git","status":"affected"},{"version":"6.12.69","lessThan":"6.12.118","versionType":"semver","status":"affected"},{"version":"6.18.9","lessThan":"6.18.64","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["mm/shmem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.19","status":"affected"},{"version":"0","lessThan":"6.19","versionType":"semver","status":"unaffected"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/5f1ec2cf92a7d655a8eb39711987822f9b1f9d67","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d4d46430852caf5e7dbca1386fc6621ecf8fe2b0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e6e9ba49679e5f33f62615fb57ec103045fbc8f9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}