The renameat(2) system call did not enforce the FD_RESOLVE_BENEATH flag on its directory arguments, allowing a jailed process to rename a directory relative to a restricted descriptor and potentially escape the jail root via fchdir(2). This vulnerability requires the directory to be on a filesystem accessible from the jail's root. A process in a jail that has a directory file descriptor from another jail can exploit this to bypass filesystem root restrictions.