diff options
author | Ryusuke Konishi <[email protected]> | 2023-04-18 02:35:13 +0900 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-04-18 14:22:14 -0700 |
commit | ef832747a82dfbc22a3702219cc716f449b24e4a (patch) | |
tree | 9f7983f90ebc9036bdf586af79c57f80ebf19269 /tools/testing/selftests/bpf/prog_tests | |
parent | 4d73ba5fa710fe7d432e0b271e6fecd252aef66e (diff) |
nilfs2: initialize unused bytes in segment summary blocks
Syzbot still reports uninit-value in nilfs_add_checksums_on_logs() for
KMSAN enabled kernels after applying commit 7397031622e0 ("nilfs2:
initialize "struct nilfs_binfo_dat"->bi_pad field").
This is because the unused bytes at the end of each block in segment
summaries are not initialized. So this fixes the issue by padding the
unused bytes with null bytes.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ryusuke Konishi <[email protected]>
Tested-by: Ryusuke Konishi <[email protected]>
Reported-by: [email protected]
Link: https://syzkaller.appspot.com/bug?extid=048585f3f4227bb2b49b
Cc: Alexander Potapenko <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions