syzbot


kernel BUG in find_lock_entries
Status: upstream: reported C repro on 2021/08/09 21:02
Reported-by: syzbot+c87be4f669d920c76330@syzkaller.appspotmail.com
Fix commit: d417b49fff3e mm/filemap.c: remove bogus VM_BUG_ON
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte 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-kmsan-gce ci-upstream-kmsan-gce-386 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-riscv64]
First crash: 122d, last: 36d

Cause bisection: introduced by (bisect log) :
commit 997acaf6b4b59c6a9c259740312a69ea549cc684
Author: Mark Rutland <mark.rutland@arm.com>
Date: Mon Jan 11 15:37:07 2021 +0000

  lockdep: report broken irq restoration

Crash: WARNING in kvm_wait (log)
Repro: C syz .config
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG at mm/filemap.c:LINE! (2) 1 385d 381d 0/22 auto-closed as invalid on 2021/03/15 06:14
android-44 kernel BUG at mm/filemap.c:LINE! C 1082 1194d 969d 0/2 public: reported C repro on 2019/04/11 08:44
upstream kernel BUG at mm/filemap.c:LINE! 1 1014d 1014d 0/22 auto-closed as invalid on 2019/08/24 03:17
Patch testing requests:
Created Duration User Patch Repo Result
2021/08/12 08:04 35m chouhan.shreyansh630@gmail.com upstream report log

Sample crash report:

Crashes (8):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2021/08/06 03:25 upstream 902e7f373fff d2d6e680 .config log report syz C kernel BUG in find_lock_entries
ci-upstream-kasan-gce-smack-root 2021/10/30 19:38 upstream 119c85055d86 098b5d53 .config log report info kernel BUG in find_lock_entries
ci-upstream-kasan-gce-selinux-root 2021/10/21 19:14 upstream 2f111a6fd5b5 c5cb7da8 .config log report info kernel BUG in find_lock_entries
ci-upstream-kasan-gce-root 2021/09/30 20:39 upstream 02d5e016800d 1d849ab4 .config log report info kernel BUG in find_lock_entries
ci-upstream-kasan-gce-root 2021/09/27 10:06 upstream 5816b3e6577e 78494d16 .config log report info kernel BUG in find_lock_entries
ci-upstream-kasan-gce-selinux-root 2021/09/10 12:59 upstream bf9f243f23e6 5ae8508a .config log report info kernel BUG in find_lock_entries
ci-upstream-kasan-gce-root 2021/08/26 11:58 upstream 73f3af7b4611 b599f2fc .config log report info kernel BUG in find_lock_entries
ci-upstream-kasan-gce-smack-root 2021/08/05 20:56 upstream 902e7f373fff d2d6e680 .config log report info kernel BUG in find_lock_entries