Searched hist:f05f2429eec60851b98bdde213de31dab697c01b (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/udf/ |
H A D | ialloc.c | diff f05f2429eec60851b98bdde213de31dab697c01b Tue Dec 14 04:04:29 CST 2021 Jan Kara <jack@suse.cz> udf: Fix error handling in udf_new_inode()
When memory allocation of iinfo or block allocation fails, already allocated struct udf_inode_info gets freed with iput() and udf_evict_inode() may look at inode fields which are not properly initialized. Fix it by marking inode bad before dropping reference to it in udf_new_inode().
Reported-by: syzbot+9ca499bb57a2b9e4c652@syzkaller.appspotmail.com Signed-off-by: Jan Kara <jack@suse.cz>
|