summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2021-12-14 11:04:29 +0100
committerJan Kara <jack@suse.cz>2021-12-15 13:08:34 +0100
commitf05f2429eec60851b98bdde213de31dab697c01b (patch)
treea235301c82f3a64a4105441286f5800f7a4f54cb /Makefile
parentb831281bb929ca6228ab898e1a97bb9284c07036 (diff)
downloadlinux-f05f2429eec60851b98bdde213de31dab697c01b.tar.bz2
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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions