diff options
author | Pavel Skripkin <[email protected]> | 2021-05-17 15:15:45 +0300 |
---|---|---|
committer | Jan Kara <[email protected]> | 2021-05-17 15:07:54 +0200 |
commit | a149127be52fa7eaf5b3681a0317a2bbb772d5a9 (patch) | |
tree | d7505e39459ffaed87b8e624532268939311a0f2 /scripts/gdb/linux/tasks.py | |
parent | 5b9fedb31e476693c90d8ee040e7d4c51b3e7cc4 (diff) |
reiserfs: add check for invalid 1st journal block
syzbot reported divide error in reiserfs.
The problem was in incorrect journal 1st block.
Syzbot's reproducer manualy generated wrong superblock
with incorrect 1st block. In journal_init() wasn't
any checks about this particular case.
For example, if 1st journal block is before superblock
1st block, it can cause zeroing important superblock members
in do_journal_end().
Link: https://lore.kernel.org/r/[email protected]
Reported-by: [email protected]
Signed-off-by: Pavel Skripkin <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions