Can the stat system call be sleeping?
Yes, consider accessing a file on an auto-mounted nfs file system and the nfs server doesn’t respond or doesn’t respond fast enough. The same may apply for a slow file-system carrying device such as a slow usb stick, or a device that requires the user to key-in a pin before information can be accessed.