Increase LOCKDEP_CIRCULAR_QUEUE_BITS to avoid this warning: ------------[ cut here ]------------ lockdep bfs error:-1 WARNING: kernel/locking/lockdep.c:2103 at print_bfs_bug+0x20/0x40 kernel/locking/lockdep.c:2103, CPU#1: syz-executor/5603 Modules linked in: CPU: 1 UID: 0 PID: 5603 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:print_bfs_bug+0x22/0x40 kernel/locking/lockdep.c:2103 Code: 90 90 90 90 90 90 90 90 55 53 89 fb e8 c7 0e 35 03 89 c5 e8 e0 85 ff ff 85 ed 74 13 83 fb ff 74 16 48 8d 3d a0 f6 34 0f 89 de <67> 48 0f b9 3a 5b 5d e9 c2 33 d3 09 cc 48 c7 c7 1a e4 c7 8d e8 b5 RSP: 0018:ffffc90004b2f398 EFLAGS: 00010046 RAX: 000000000000003b RBX: 00000000ffffffff RCX: 1c9f2b0ba37d4900 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff90d81bb0 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000965e25 R12: 0000000000000033 R13: ffffffff9480b550 R14: ffffffff977e27d8 R15: ffffffff977e3c68 FS: 000055556fc4d500(0000) GS:ffff888124827000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f30d065da08 CR3: 000000004114e000 CR4: 00000000003526f0 Call Trace: check_irq_usage kernel/locking/lockdep.c:-1 [inline] check_prev_add kernel/locking/lockdep.c:3213 [inline] check_prevs_add kernel/locking/lockdep.c:3328 [inline] validate_chain kernel/locking/lockdep.c:3952 [inline] __lock_acquire+0x25ed/0x2de0 kernel/locking/lockdep.c:5288 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 __raw_spin_lock include/linux/spinlock_api_smp.h:190 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:173 class_raw_spinlock_constructor include/linux/spinlock.h:559 [inline] __hrtimer_rearm_deferred+0x99/0x4d0 kernel/time/hrtimer.c:2189 hrtick_schedule_exit+0x1c7/0x2b0 kernel/sched/core.c:1023 __schedule+0x1cbd/0x56e0 kernel/sched/core.c:7386 preempt_schedule_irq+0x4b/0x90 kernel/sched/core.c:7662 irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:543 [inline] irqentry_exit+0x14f/0x9b0 kernel/entry/common.c:154 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:lock_acquire+0x232/0x350 kernel/locking/lockdep.c:5947 Code: ff ff ff e8 00 af cf 09 f7 44 24 10 00 02 00 00 0f 84 38 ff ff ff 65 48 8b 05 e2 c8 2c 12 48 3b 44 24 50 75 33 fb 48 83 c4 58 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 7f 91 d3 09 cc 48 8d 3d 57 4e 35 RSP: 0018:ffffc90004b2f948 EFLAGS: 00000286 RAX: 1c9f2b0ba37d4900 RBX: 0000000000000001 RCX: 0000000000000046 RDX: ffff8880394bcac0 RSI: ffffffff8dd69d50 RDI: ffffffff8bed1980 RBP: ffff8880394bbe80 R08: 0000000000000008 R09: ffffffff970507c8 R10: 00000000300db431 R11: 00000000f03cde5d R12: ffff888033fdf140 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000246 touch_wq_lockdep_map+0xcb/0x180 kernel/workqueue.c:4272 __flush_workqueue+0x148/0x10b0 kernel/workqueue.c:4314 close_ctree+0x3f4/0x1200 fs/btrfs/disk-io.c:4450 generic_shutdown_super+0x13d/0x2d0 fs/super.c:751 kill_anon_super+0x3b/0x70 fs/super.c:1355 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2139 deactivate_locked_super+0xbe/0x110 fs/super.c:586 cleanup_mnt+0x204/0x2a0 fs/namespace.c:1396 task_work_run+0x1d9/0x260 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc376150797 Code: a2 c7 05 5c 9f 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc049e78a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fc3761e5f63 RCX: 00007fc376150797 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc049e7960 RBP: 00007ffc049e7960 R08: 00007ffc049e8960 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc049e89f0 R13: 00007fc3761e5f63 R14: 0000000000157c58 R15: 00007ffc049e8a30 ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: 90 nop 4: 90 nop 5: 90 nop 6: 90 nop 7: 90 nop 8: 55 push %rbp 9: 53 push %rbx a: 89 fb mov %edi,%ebx c: e8 c7 0e 35 03 call 0x3350ed8 11: 89 c5 mov %eax,%ebp 13: e8 e0 85 ff ff call 0xffff85f8 18: 85 ed test %ebp,%ebp 1a: 74 13 je 0x2f 1c: 83 fb ff cmp $0xffffffff,%ebx 1f: 74 16 je 0x37 21: 48 8d 3d a0 f6 34 0f lea 0xf34f6a0(%rip),%rdi # 0xf34f6c8 28: 89 de mov %ebx,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 5b pop %rbx 30: 5d pop %rbp 31: e9 c2 33 d3 09 jmp 0x9d333f8 36: cc int3 37: 48 c7 c7 1a e4 c7 8d mov $0xffffffff8dc7e41a,%rdi 3e: e8 .byte 0xe8 3f: b5 .byte 0xb5