CVE-2026-99737Linux
NVD
Vulnerability Summary
In the Linux kernel, the following vulnerability has been resolved:
mm/shmem: fix truncate loop after boundary swapin failure
If swapping in a large entry at the new EOF fails, shmem_undo_range()
leaves the entry in place. Its final scan skips the entry, then restarts
from the same start index and finds it again. Truncation can loop forever
while holding i_rwsem.
Advance start past the skipped entry so that a restarted scan can finish,
as we already do for folios that cannot be split.
Note that this does not fix the missing zeroing when boundary swapin fails,
it merely prevents the endless loop.
mm/shmem: fix truncate loop after boundary swapin failure
If swapping in a large entry at the new EOF fails, shmem_undo_range()
leaves the entry in place. Its final scan skips the entry, then restarts
from the same start index and finds it again. Truncation can loop forever
while holding i_rwsem.
Advance start past the skipped entry so that a restarted scan can finish,
as we already do for folios that cannot be split.
Note that this does not fix the missing zeroing when boundary swapin fails,
it merely prevents the endless loop.
Affected & Patched Versions
- Linux >= a99f9a4669a04662c8f9efe0e62cafc598153139 and < 7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb
- Linux >= b23bee8cdb7aabce5701a7f57414db5a354ae8ed and < d4d46430852caf5e7dbca1386fc6621ecf8fe2b0
- Linux >= 8a1968bd997f45a9b11aefeabdd1232e1b6c7184 and < e6e9ba49679e5f33f62615fb57ec103045fbc8f9
- Linux >= 8a1968bd997f45a9b11aefeabdd1232e1b6c7184 and < 5f1ec2cf92a7d655a8eb39711987822f9b1f9d67
- Linux >= 6.12.69 and < 6.12.118
- Linux >= 6.18.9 and < 6.18.64
- Linux 6.19
- Linux 7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb
- Linux d4d46430852caf5e7dbca1386fc6621ecf8fe2b0
- Linux e6e9ba49679e5f33f62615fb57ec103045fbc8f9
- Linux 5f1ec2cf92a7d655a8eb39711987822f9b1f9d67
- Linux 6.12.118
- Linux 6.18.64
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 20, 2026Published
- Nov 20, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99737. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/5f1ec2cf92a7d655a8eb39711987822f9b1f9d67
- Referencehttps://git.kernel.org/stable/c/7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb
- Referencehttps://git.kernel.org/stable/c/d4d46430852caf5e7dbca1386fc6621ecf8fe2b0
- Referencehttps://git.kernel.org/stable/c/e6e9ba49679e5f33f62615fb57ec103045fbc8f9
Data last checked: Nov 24, 2026 07:07 UTC