aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorXiaxi Shen <[email protected]>2024-05-01 03:30:17 +0000
committerTheodore Ts'o <[email protected]>2024-06-27 14:08:36 +0000
commit8dc9c3da79c84b13fdb135e2fb0a149a8175bffe (patch)
treed8bfc17f240442b0d69520d51dd015d012f4937b /fs/jbd2/commit.c
parentjbd2: use str_plural() to fix Coccinelle warning (diff)
downloadkernel-8dc9c3da79c84b13fdb135e2fb0a149a8175bffe.tar.gz
kernel-8dc9c3da79c84b13fdb135e2fb0a149a8175bffe.zip
ext4: fix uninitialized variable in ext4_inlinedir_to_tree
Syzbot has found an uninit-value bug in ext4_inlinedir_to_tree This error happens because ext4_inlinedir_to_tree does not handle the case when ext4fs_dirhash returns an error This can be avoided by checking the return value of ext4fs_dirhash and propagating the error, similar to how it's done with ext4_htree_store_dirent Signed-off-by: Xiaxi Shen <[email protected]> Reported-and-tested-by: [email protected] Closes: https://syzkaller.appspot.com/bug?extid=eaba5abe296837a640c0 Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions