syzbot


WARNING: kobject bug in erofs_unregister_sysfs
Status: upstream: reported C repro on 2022/03/18 16:39
Reported-by: syzbot+f05ba4652c0471416eaf@syzkaller.appspotmail.com
Fix commit: a942da24abc5 fs: erofs: add sanity check for kobject in erofs_unregister_sysfs
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: 56d

Cause bisection: introduced by (bisect log) :
commit 2768c206f2c3e95c0e5cf2e7f846103fda7cd429
Author: Muchun Song <songmuchun@bytedance.com>
Date: Thu Mar 3 01:15:36 2022 +0000

  mm: list_lru: allocate list_lru_one only when needed

Crash: WARNING: kobject bug in erofs_unregister_sysfs (log)
Repro: C syz .config
Patch testing requests:
Created Duration User Patch Repo Result
2022/03/18 18:03 11m xiang@kernel.org https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git dev OK

Sample crash report:

Crashes (5):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2022/03/18 16:38 linux-next 91265a6da44d e2d91b1d .config log report syz C WARNING: kobject bug in erofs_unregister_sysfs
ci-qemu-upstream-386 2022/01/14 03:43 upstream 147cc5838c0f b8d780ab .config log report info WARNING: kobject bug in erofs_unregister_sysfs
ci-upstream-linux-next-kasan-gce-root 2022/03/20 17:05 linux-next 91265a6da44d e2d91b1d .config log report info WARNING: kobject bug in erofs_unregister_sysfs
ci-upstream-linux-next-kasan-gce-root 2022/03/18 15:35 linux-next 91265a6da44d e2d91b1d .config log report info WARNING: kobject bug in erofs_unregister_sysfs
ci-upstream-linux-next-kasan-gce-root 2022/03/01 19:23 linux-next e6ada6df471f 45a13a73 .config log report info WARNING: kobject bug in erofs_unregister_sysfs