A vulnerability in the Linux kernel's shmem subsystem could cause an infinite loop during file truncation if swapping in a large entry at the new end-of-file (EOF) fails. This occurs because the truncation logic repeatedly scans the same entry without advancing, leading to a hang while holding a critical lock.