diff options
author | Theodore Ts'o <[email protected]> | 2023-04-27 19:18:01 -0400 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2023-04-28 12:56:40 -0400 |
commit | d5e72c4e3256335d6fb75c2e321144f93141f4f5 (patch) | |
tree | e257e752ba56b70041947324686405514c185e52 /lib/mpi/mpi-mod.c | |
parent | 856dd6c5981260b4d1aa84b78373ad54a203db48 (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: [email protected]
Fixes: 1f79467c8a6b ("ext4: factor out ext4_percpu_param_init() ...")
Link: https://syzkaller.appspot.com/bug?id=6dac47d5e58af770c0055f680369586ec32e144c
Signed-off-by: Theodore Ts'o <[email protected]>
Reviewed-by: Jason Yan <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions