syzbot


WARNING in print_bfs_bug

Status: fixed on 2020/11/16 12:12
Reported-by: syzbot+62ebe501c1ce9a91f68c@syzkaller.appspotmail.com
Fix commit: 6d1823ccc480 lockdep: Optimize the memory usage of circular queue
First crash: 1584d, last: 1228d
Cause bisection: introduced by (bisect log) :
commit 9c61acffe2b8833152041f7b6a02d1d0a17fd378
Author: Song Liu <songliubraving@fb.com>
Date: Wed Oct 23 00:24:28 2019 +0000

  mm,thp: recheck each page before collapsing file THP

Crash: WARNING in collapse_file (log)
Repro: C syz .config
  
Discussions (5)
Title Replies (including bot) Last reply
[PATCH v5] lockdep: Allow tuning tracing capacity constants. 4 (4) 2021/04/05 11:44
[PATCH v4 (resend)] lockdep: Allow tuning tracing capacity constants. 3 (3) 2021/02/01 13:24
[PATCH] lockdep: Introduce CONFIG_LOCKDEP_LARGE 29 (29) 2021/01/01 08:09
[PATCH] lockdep: Optimize the memory usage of circular queue 9 (9) 2020/09/30 08:55
WARNING in print_bfs_bug 2 (5) 2020/09/28 07:56
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in print_bfs_bug missing-backport origin:upstream C error 4 1d21h 301d 0/3 upstream: reported C repro on 2023/04/30 23:10
upstream WARNING in print_bfs_bug (2) net xfs C done 249 1d01h 423d 0/26 upstream: reported C repro on 2022/12/29 15:51
linux-6.1 WARNING in print_bfs_bug origin:upstream C 2 7h27m 301d 0/3 upstream: reported C repro on 2023/04/30 07:54
Last patch testing requests (2)
Created Duration User Patch Repo Result
2020/07/24 11:16 17m penguin-kernel@i-love.sakura.ne.jp patch upstream OK
2020/07/24 06:00 14m penguin-kernel@i-love.sakura.ne.jp patch upstream report log

Sample crash report:
------------[ cut here ]------------
lockdep bfs error:-1
WARNING: CPU: 0 PID: 26204 at kernel/locking/lockdep.c:1714 print_bfs_bug+0xed/0x200 kernel/locking/lockdep.c:1714
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 26204 Comm: kworker/u4:8 Not tainted 5.9.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bond3651 bond_alb_monitor
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1d6/0x29e lib/dump_stack.c:118
 panic+0x2c0/0x800 kernel/panic.c:231
 __warn+0x227/0x250 kernel/panic.c:600
 report_bug+0x1b1/0x2e0 lib/bug.c:198
 handle_bug+0x42/0x80 arch/x86/kernel/traps.c:234
 exc_invalid_op+0x16/0x40 arch/x86/kernel/traps.c:254
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536
RIP: 0010:print_bfs_bug+0xed/0x200 kernel/locking/lockdep.c:1714
Code: 0f 84 29 01 00 00 48 c7 c7 a0 34 22 8b e8 5b 1f 01 00 66 90 45 85 ff 74 13 48 c7 c7 c9 99 09 89 44 89 f6 31 c0 e8 83 08 ec ff <0f> 0b 5b 41 5e 41 5f 5d c3 e8 95 e5 cf 06 85 c0 74 d8 48 c7 c0 78
RSP: 0018:ffffc9000807f678 EFLAGS: 00010046
RAX: bca0c98666d25e00 RBX: ffff88808dfa0ea4 RCX: ffff88808dfa05c0
RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff815e27d0 R09: ffffed1015d041c3
R10: ffffed1015d041c3 R11: 0000000000000000 R12: 1ffffffff16589b3
R13: dffffc0000000000 R14: 00000000ffffffff R15: 0000000000000001
 check_irq_usage kernel/locking/lockdep.c:183 [inline]
 check_prev_add kernel/locking/lockdep.c:2500 [inline]
 check_prevs_add kernel/locking/lockdep.c:2601 [inline]
 validate_chain+0x403c/0x88a0 kernel/locking/lockdep.c:3218
 __lock_acquire+0x110b/0x2ae0 kernel/locking/lockdep.c:4426
 lock_acquire+0x140/0x6f0 kernel/locking/lockdep.c:5006
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xaa/0xd0 kernel/locking/spinlock.c:159
 debug_object_activate+0x62/0x5f0 lib/debugobjects.c:636
 debug_timer_activate kernel/time/timer.c:727 [inline]
 __mod_timer+0xaa0/0x11f0 kernel/time/timer.c:1051
 queue_delayed_work_on+0x108/0x1a0 kernel/workqueue.c:1674
 queue_delayed_work include/linux/workqueue.h:522 [inline]
 bond_alb_monitor+0x1072/0x1530 drivers/net/bonding/bond_alb.c:1618
 process_one_work+0x789/0xfc0 kernel/workqueue.c:2269
 worker_thread+0xaa4/0x1460 kernel/workqueue.c:2415
 kthread+0x37e/0x3a0 drivers/block/aoe/aoecmd.c:1234
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (14759):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/01 06:49 upstream f75aef392f86 d5a3ae1f .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/08/30 01:23 upstream 4d41ead6ead9 d5a3ae1f .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/08/11 16:36 upstream 00e4db51259a bacaf5fa .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/07/18 22:42 upstream 6a70f89cc58f 9c812472 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/07/18 20:03 upstream 6a70f89cc58f 9c812472 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/07/18 09:38 upstream 8882572675c1 9c812472 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/07/18 04:57 upstream 8882572675c1 9c812472 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/05/29 06:16 upstream 75caf310d16c d19ed305 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/05/06 16:50 upstream dc56c5acd850 4618eb2d .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/03/25 07:32 upstream 76ccd234269b 41f049cc .config console log report syz C ci-upstream-kasan-gce
2020/03/24 11:10 upstream 979e52ca0469 33e14df3 .config console log report syz C ci-upstream-kasan-gce
2020/03/24 08:16 upstream 979e52ca0469 33e14df3 .config console log report syz C ci-upstream-kasan-gce
2020/03/22 14:54 upstream b74b991fb8b9 78267cec .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/03/21 17:48 upstream 5ad0ec0b8652 4288d95e .config console log report syz C ci-upstream-kasan-gce
2020/03/21 14:48 upstream 5ad0ec0b8652 4288d95e .config console log report syz C ci-upstream-kasan-gce
2020/03/19 22:59 upstream cd607737f3b8 2c31c529 .config console log report syz C ci-upstream-kasan-gce
2020/03/19 05:05 upstream 5076190daded 0a96a13c .config console log report syz C ci-upstream-kasan-gce
2020/03/19 03:07 upstream 5076190daded 0a96a13c .config console log report syz C ci-upstream-kasan-gce-root
2020/03/17 18:13 upstream fb33c6510d55 749688d2 .config console log report syz C ci-upstream-kasan-gce
2020/03/17 13:41 upstream fb33c6510d55 749688d2 .config console log report syz C ci-upstream-kasan-gce
2020/03/17 09:21 upstream fb33c6510d55 749688d2 .config console log report syz C ci-upstream-kasan-gce
2020/03/17 04:51 upstream fb33c6510d55 749688d2 .config console log report syz C ci-upstream-kasan-gce
2020/06/24 01:56 upstream 435faf5c218a bbad15ae .config console log report syz C ci-qemu-upstream-386
2020/06/18 03:54 upstream 435faf5c218a d45a4d69 .config console log report syz C ci-qemu-upstream-386
2020/06/14 03:35 upstream 435faf5c218a dbce178a .config console log report syz C ci-qemu-upstream-386
2020/06/07 08:43 upstream 435faf5c218a e6b89e4e .config console log report syz C ci-qemu-upstream-386
2020/03/22 20:46 upstream b74b991fb8b9 78267cec .config console log report syz C ci-upstream-kasan-gce-386
2020/03/22 07:50 upstream b74b991fb8b9 78267cec .config console log report syz C ci-upstream-kasan-gce-386
2020/03/21 19:38 upstream 5ad0ec0b8652 4288d95e .config console log report syz C ci-upstream-kasan-gce-386
2020/03/19 23:37 upstream cd607737f3b8 2c31c529 .config console log report syz C ci-upstream-kasan-gce-386
2020/03/19 06:28 upstream 5076190daded 0a96a13c .config console log report syz C ci-upstream-kasan-gce-386
2020/03/18 12:03 upstream ac309e7744be 97bc55ce .config console log report syz C ci-upstream-kasan-gce-386
2020/03/18 04:20 upstream ac309e7744be 97bc55ce .config console log report syz C ci-upstream-kasan-gce-386
2020/03/17 20:06 upstream fb33c6510d55 749688d2 .config console log report syz C ci-upstream-kasan-gce-386
2020/03/17 16:14 upstream fb33c6510d55 749688d2 .config console log report syz C ci-upstream-kasan-gce-386
2020/03/17 12:01 upstream fb33c6510d55 749688d2 .config console log report syz C ci-upstream-kasan-gce-386
2020/08/31 20:20 net-old c8146fe292a7 d5a3ae1f .config console log report syz C ci-upstream-net-this-kasan-gce
2020/07/18 18:51 net-old 2ccb0161a0e9 9c812472 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/07/18 16:10 net-old 2ccb0161a0e9 9c812472 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/07/18 03:43 net-old 473309fb8372 9c812472 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/08/30 23:06 net-next-old 0f091e43310f d5a3ae1f .config console log report syz C ci-upstream-net-kasan-gce
2020/08/15 12:17 net-next-old 7fca4dee610d 424dd8e7 .config console log report syz C ci-upstream-net-kasan-gce
2020/08/11 02:39 net-next-old bfdd5aaa54b0 7adc7b65 .config console log report syz C ci-upstream-net-kasan-gce
2020/07/18 11:06 net-next-old 4291dc1a5608 9c812472 .config console log report syz C ci-upstream-net-kasan-gce
2020/07/18 10:35 linux-next 4c43049f19a2 9c812472 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/07/18 00:30 linux-next 4c43049f19a2 9c812472 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/10/31 20:38 linux-next 49afce6d47fe a41ca8fa .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/08/17 20:59 upstream 9123e3a74ec7 424dd8e7 .config console log report ci-upstream-kasan-gce
2020/06/24 14:56 upstream 7ae77150d94d 54566aff .config console log report ci-upstream-kasan-gce-root
2020/01/15 06:41 upstream 452424cdcbca fa12bd3c .config console log report ci-qemu-upstream
2020/06/25 15:20 upstream 7ae77150d94d 54566aff .config console log report ci-upstream-kasan-gce-386
2020/10/15 16:47 net-old 2ef813b8f405 63869021 .config console log report info ci-upstream-net-this-kasan-gce
2020/06/21 17:06 bpf 29fcb05bbf1a 4f2acff9 .config console log report ci-upstream-bpf-kasan-gce
2019/10/25 22:51 net-old 65921376425f c2e837da .config console log report ci-upstream-net-this-kasan-gce
2020/06/30 21:50 bpf-next cb8e59cc8720 917afeaa .config console log report ci-upstream-bpf-next-kasan-gce
2020/10/01 11:49 linux-next de69ee6df1cf a9767fb2 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 10:43 linux-next de69ee6df1cf a9767fb2 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 09:40 linux-next de69ee6df1cf a9767fb2 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 08:48 linux-next de69ee6df1cf a9767fb2 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 08:28 linux-next de69ee6df1cf a9767fb2 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 08:10 linux-next de69ee6df1cf a9767fb2 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 07:50 linux-next de69ee6df1cf a9767fb2 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 07:21 linux-next de69ee6df1cf a9767fb2 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 06:55 linux-next de69ee6df1cf a9767fb2 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 06:31 linux-next de69ee6df1cf a9767fb2 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 06:05 linux-next de69ee6df1cf a9767fb2 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 05:32 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 04:30 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 03:21 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 02:10 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/01 02:05 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 23:24 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 22:23 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 22:05 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 21:45 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 21:26 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 21:07 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 20:39 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 20:12 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 19:48 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 19:24 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 18:45 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 17:08 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 16:22 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 16:01 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 15:41 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 15:21 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 14:49 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 14:25 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 14:00 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 13:40 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 13:20 linux-next de69ee6df1cf 8516f6d3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 12:19 linux-next 49e7e3e905e4 5abc3f1a .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 11:49 linux-next 49e7e3e905e4 5abc3f1a .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 10:37 linux-next 49e7e3e905e4 5abc3f1a .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 10:34 linux-next 49e7e3e905e4 5abc3f1a .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 09:32 linux-next 49e7e3e905e4 5abc3f1a .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/09/30 08:18 linux-next 49e7e3e905e4 5abc3f1a .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.