syzbot


divide error in do_journal_end (2)
Status: upstream: reported C repro on 2021/05/12 09:30
Reported-by: syzbot+0ba9909df31c6a36974d@syzkaller.appspotmail.com
Fix commit: a149127be52f reiserfs: add check for invalid 1st journal block
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-arm32 ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386]
First crash: 73d, last: 73d

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: divide error in do_journal_end (log)
Repro: C syz .config
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream divide error in do_journal_end 2 246d 273d 0/22 auto-closed as invalid on 2021/03/19 22:00
linux-4.14 divide error in do_journal_end (2) C 1 26d 86d 0/1 upstream: reported C repro on 2021/04/28 16:52
linux-4.19 divide error in do_journal_end (2) C 4 12d 123d 0/1 upstream: reported C repro on 2021/03/22 19:00
linux-4.14 divide error in do_journal_end C done 1 196d 256d 1/1 fixed on 2021/02/21 17:18
linux-4.19 divide error in do_journal_end C done 2 208d 268d 1/1 fixed on 2021/01/27 05:38
Patch testing requests:
Created Duration User Patch Repo Result
2021/05/14 20:42 16m paskripkin@gmail.com https://linux.googlesource.com/linux/kernel/git/torvalds/linux refs/changes/96/11096/1 OK

Sample crash report:

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2021/05/11 22:52 upstream 88b06399c9c7 b3c3bb8e .config log report syz C divide error in do_journal_end
ci-upstream-kasan-gce-root 2021/05/11 21:15 upstream 88b06399c9c7 b3c3bb8e .config log report info divide error in do_journal_end