Home
last modified time | relevance | path

Searched hist:df97f64dfa317a5485daf247b6c043a584ef95f9 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/udf/
H A Ddirectory.cdiff df97f64dfa317a5485daf247b6c043a584ef95f9 Thu Feb 09 03:33:09 CST 2023 Jan Kara <jack@suse.cz> 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: 0aba4860b0d0 ("udf: Allocate name buffer in directory iterator on heap")
Signed-off-by: Jan Kara <jack@suse.cz>