[PATCH 5.15 479/484] exec: Fix ToCToU between perm check and set-uid/gid usage