aboutsummaryrefslogtreecommitdiff
path: root/fs/f2fs
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2023-04-27 19:18:01 -0400
committerTheodore Ts'o <tytso@mit.edu>2023-04-28 12:56:40 -0400
commitd5e72c4e3256335d6fb75c2e321144f93141f4f5 (patch)
treee257e752ba56b70041947324686405514c185e52 /fs/f2fs
parent856dd6c5981260b4d1aa84b78373ad54a203db48 (diff)
ext4: fix lost error code reporting in __ext4_fill_super()
When code was factored out of __ext4_fill_super() into ext4_percpu_param_init() the error return was discarded. This meant that it was possible for __ext4_fill_super() to return zero, indicating success, without the struct super getting completely filled in, leading to a potential NULL pointer dereference. Reported-by: syzbot+bbf0f9a213c94f283a5c@syzkaller.appspotmail.com Fixes: 1f79467c8a6b ("ext4: factor out ext4_percpu_param_init() ...") Link: https://syzkaller.appspot.com/bug?id=6dac47d5e58af770c0055f680369586ec32e144c Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jason Yan <yanaijie@huawei.com>
Diffstat (limited to 'fs/f2fs')
0 files changed, 0 insertions, 0 deletions