linux/fs/udf
Jan Kara df97f64dfa udf: Avoid directory type conversion failure due to ENOMEM
When converting directory from in-ICB to normal format, the last
iteration through the directory fixing up directory enteries can fail
due to ENOMEM. We do not expect this iteration to fail since the
directory is already verified to be correct and it is difficult to undo
the conversion at this point. So just use GFP_NOFAIL to make sure the
small allocation cannot fail.

Reported-by: syzbot+111eaa994ff74f8d440f@syzkaller.appspotmail.com
Fixes: 0aba4860b0 ("udf: Allocate name buffer in directory iterator on heap")
Signed-off-by: Jan Kara <jack@suse.cz>
2023-02-09 10:37:12 +01:00
..
balloc.c udf: Check consistency of Space Bitmap Descriptor 2023-02-07 11:49:43 +01:00
dir.c udf: Convert udf_readdir() to new directory iteration 2023-01-09 10:39:51 +01:00
directory.c udf: Avoid directory type conversion failure due to ENOMEM 2023-02-09 10:37:12 +01:00
ecma_167.h udf: Get rid of 0-length arrays in struct fileIdentDesc 2021-08-11 16:54:44 +02:00
file.c udf: Move udf_adinicb_readpage() to inode.c 2023-01-26 16:46:36 +01:00
ialloc.c udf: Fix file counting in LVID 2023-01-26 16:46:37 +01:00
inode.c udf: Convert udf_expand_file_adinicb() to avoid kmap_atomic() 2023-01-26 16:46:37 +01:00
Kconfig docs: filesystems: fix renamed references 2020-04-20 15:45:22 -06:00
lowlevel.c udf: Unify types in anchor block detection 2023-01-26 16:46:32 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
misc.c udf: Drop VARCONV support 2023-01-26 16:46:32 +01:00
namei.c udf: Fix file counting in LVID 2023-01-26 16:46:37 +01:00
osta_udf.h udf: Get rid of 0-length arrays 2021-08-11 16:54:44 +02:00
partition.c udf: remove reporting loc in debug output 2023-02-07 12:02:09 +01:00
super.c udf: Limit file size to 4TB 2023-01-26 16:46:37 +01:00
symlink.c udf: Convert udf_symlink_filler() to use udf_bread() 2023-01-26 16:46:33 +01:00
truncate.c udf: Drop VARCONV support 2023-01-26 16:46:32 +01:00
udf_i.h udf: Preserve link count of system files 2023-01-09 10:39:53 +01:00
udf_sb.h udf: Drop VARCONV support 2023-01-26 16:46:32 +01:00
udfdecl.h udf: Move udf_adinicb_readpage() to inode.c 2023-01-26 16:46:36 +01:00
udfend.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
udftime.c udf: convert inode stamps to timespec64 2018-06-27 13:58:00 +02:00
unicode.c udf: Fix iocharset=utf8 mount option 2021-08-12 16:07:09 +02:00