An issue exists in the handling of restartable sequences (rseq) during the checkpoint/restore process. A malicious process within a container can register an rseq critical section to hijack the parasite code injection during a checkpoint. This allows the process to spoof credentials saved in the checkpoint image, resulting in the container process gaining elevated capabilities and zeroed UIDs/GIDs upon restoration.