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#0: syz-executor/5616 Modules linked in: CPU: 0 UID: 0 PID: 5616 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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 97 51 28 03 89 c5 e8 e0 85 ff ff 85 ed 74 13 83 fb ff 74 16 48 8d 3d 50 d2 12 0e 89 de <67> 48 0f b9 3a 5b 5d c3 cc cc cc cc cc 48 c7 c7 29 7d 9f 8d e8 a5 RSP: 0000:ffffc900057873b0 EFLAGS: 00010046 RAX: 000000000000003b RBX: 00000000ffffffff RCX: fe0798a600a29100 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8fb53c30 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000af0e25 R12: 0000000000000043 R13: ffffffff93547f50 R14: ffffffff96464e48 R15: ffffffff9660adc8 FS: 000055556b874500(0000) GS:ffff888125bc2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcfcc135000 CR3: 0000000011a0e000 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 do_write_seqcount_begin_nested include/linux/seqlock.h:478 [inline] do_write_seqcount_begin include/linux/seqlock.h:504 [inline] psi_write_begin+0xa9/0x160 kernel/sched/psi.c:183 psi_account_irqtime+0x1dd/0x6d0 kernel/sched/psi.c:1030 __schedule+0x971/0x5700 kernel/sched/core.c:7277 preempt_schedule_irq+0x4b/0x90 kernel/sched/core.c:7606 irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:539 [inline] irqentry_exit+0x14f/0x920 kernel/entry/common.c:167 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 d0 19 b7 09 f7 44 24 10 00 02 00 00 0f 84 38 ff ff ff 65 48 8b 05 12 d4 03 11 48 3b 44 24 50 75 33 fb 48 83 c4 58 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 48 8d 3d 07 2a 13 RSP: 0000:ffffc90005787948 EFLAGS: 00000286 RAX: fe0798a600a29100 RBX: 0000000000000001 RCX: 0000000000000046 RDX: ffff88803738ab80 RSI: ffffffff8dae12cb RDI: ffffffff8bcc4c80 RBP: ffff888037389f40 R08: 0000000000000008 R09: ffffffff95da64f0 R10: 000000009d343b3c R11: 00000000867a9a5e R12: ffff888066cd5938 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000246 touch_wq_lockdep_map+0xcb/0x180 kernel/workqueue.c:4111 __flush_workqueue+0x148/0x1470 kernel/workqueue.c:4153 close_ctree+0x41e/0x1230 fs/btrfs/disk-io.c:4478 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:2152 deactivate_locked_super+0xbe/0x110 fs/super.c:586 cleanup_mnt+0x3d3/0x460 fs/namespace.c:1317 task_work_run+0x1d9/0x270 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:0x7f87efd1f3d7 Code: a2 c7 05 1c 63 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:00007ffcfa388878 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f87efdb4ccb RCX: 00007f87efd1f3d7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcfa388930 RBP: 00007ffcfa388930 R08: 00007ffcfa389930 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcfa3899c0 R13: 00007f87efdb4ccb R14: 000000000011598b R15: 00007ffcfa389a00 ---------------- 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 97 51 28 03 call 0x32851a8 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 50 d2 12 0e lea 0xe12d250(%rip),%rdi # 0xe12d278 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: c3 ret 32: cc int3 33: cc int3 34: cc int3 35: cc int3 36: cc int3 37: 48 c7 c7 29 7d 9f 8d mov $0xffffffff8d9f7d29,%rdi 3e: e8 .byte 0xe8 3f: a5 movsl %ds:(%rsi),%es:(%rdi)