Hi Jan, On (22/12/22 11:16), Jan Kara wrote: > Currently we allocate name buffer in directory iterators (struct > udf_fileident_iter) on stack. These structures are relatively large > (some 360 bytes on 64-bit architectures). For udf_rename() which needs > to keep three of these structures in parallel the stack usage becomes > rather heavy - 1536 bytes in total. Allocate the name buffer in the > iterator from heap to avoid excessive stack usage. > > Link: https://lore.kernel.org/all/202212200558.lK9x1KW0-lkp@xxxxxxxxx > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Signed-off-by: Jan Kara <jack@xxxxxxx> JFI Looks like we need this in 5.15 stable, because it now has e9109a92d2a95 which produces very large ufd_rename() stack-frames.