CVE-2026-99737

mm/shmem: fix truncate loop after boundary swapin failure

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a99f9a4669a04662c8f9efe0e62cafc598153139 to before 7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feebAffected
  • b23bee8cdb7aabce5701a7f57414db5a354ae8ed to before d4d46430852caf5e7dbca1386fc6621ecf8fe2b0Affected
  • 8a1968bd997f45a9b11aefeabdd1232e1b6c7184 to before e6e9ba49679e5f33f62615fb57ec103045fbc8f9Affected
  • 8a1968bd997f45a9b11aefeabdd1232e1b6c7184 to before 5f1ec2cf92a7d655a8eb39711987822f9b1f9d67Affected
  • 6.12.69 to before 6.12.118Affected
  • 6.18.9 to before 6.18.64Affected
LinuxLinux
  • 6.19Affected
  • before 6.19Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.