Increase LOCKDEP_CIRCULAR_QUEUE_BITS to avoid this warning: ------------[ cut here ]------------ lockdep bfs error:-1 WARNING: kernel/locking/lockdep.c:2059 at print_bfs_bug+0x20/0x40 kernel/locking/lockdep.c:2059, CPU#0: syz-executor/5599 Modules linked in: CPU: 0 UID: 0 PID: 5599 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 RIP: 0010:print_bfs_bug+0x22/0x40 kernel/locking/lockdep.c:2059 Code: 90 90 90 90 90 90 90 90 55 53 89 fb e8 87 50 fd 02 89 c5 e8 d0 89 ff ff 85 ed 74 13 83 fb ff 74 16 48 8d 3d 10 73 eb 0d 89 de <67> 48 0f b9 3a 5b 5d e9 12 7f 7f 09 cc 48 c7 c7 2d e0 77 8d e8 d5 RSP: 0018:ffffc9000471f338 EFLAGS: 00010046 RAX: 000000000000003b RBX: 00000000ffffffff RCX: c9bb20a1b1f05900 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8f8c0d50 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff520008e3e19 R12: ffffffff96393de8 R13: ffffffff931fea78 R14: ffff8880382e8000 R15: 0000000000000038 FS: 0000555567473500(0000) GS:ffff888126179000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f92b8ec8270 CR3: 0000000056bea000 CR4: 00000000003526f0 Call Trace: check_irq_usage kernel/locking/lockdep.c:-1 [inline] check_prev_add kernel/locking/lockdep.c:3169 [inline] check_prevs_add kernel/locking/lockdep.c:3284 [inline] validate_chain kernel/locking/lockdep.c:3908 [inline] __lock_acquire+0x2550/0x2cf0 kernel/locking/lockdep.c:5237 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 do_write_seqcount_begin_nested include/linux/seqlock.h:478 [inline] do_write_seqcount_begin include/linux/seqlock.h:504 [inline] psi_write_begin+0xab/0x160 kernel/sched/psi.c:183 psi_account_irqtime+0x1e2/0x6f0 kernel/sched/psi.c:1030 __schedule+0x964/0x54c0 kernel/sched/core.c:7181 preempt_schedule_irq+0x4d/0xa0 kernel/sched/core.c:7512 irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:547 [inline] irqentry_exit+0x14f/0x730 kernel/entry/common.c:164 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:lock_acquire+0x221/0x350 kernel/locking/lockdep.c:5872 Code: ff ff ff e8 91 15 7c 09 f7 44 24 08 00 02 00 00 0f 84 3a ff ff ff 65 48 8b 05 6b 30 ca 10 48 3b 44 24 58 75 33 fb 48 83 c4 60 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 90 d9 7f 09 cc 48 8d 3d 88 c7 eb RSP: 0018:ffffc9000471f908 EFLAGS: 00000282 RAX: c9bb20a1b1f05900 RBX: 0000000000000000 RCX: 0000000000000046 RDX: 0000000000000001 RSI: ffffffff8d862195 RDI: ffffffff8ba74d60 RBP: ffffffff818d6085 R08: 0000000000000008 R09: ffffffff95a0cd40 R10: 00000000ec1895ea R11: 00000000350a2ca9 R12: 0000000000000000 R13: ffff888053f95938 R14: 0000000000000001 R15: 0000000000000246 touch_wq_lockdep_map+0xcb/0x180 kernel/workqueue.c:4017 __flush_workqueue+0x14b/0x14f0 kernel/workqueue.c:4059 close_ctree+0x4f9/0x12d0 fs/btrfs/disk-io.c:4394 generic_shutdown_super+0x13d/0x2d0 fs/super.c:646 kill_anon_super+0x3b/0x70 fs/super.c:1292 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2127 deactivate_locked_super+0xbc/0x130 fs/super.c:476 cleanup_mnt+0x437/0x4d0 fs/namespace.c:1312 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:67 [inline] exit_to_user_mode_loop+0xed/0x480 kernel/entry/common.c:98 __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:238 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x33e/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff77c46e017 Code: a2 c7 05 dc 06 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:00007ffc846dac58 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007ff77c502120 RCX: 00007ff77c46e017 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc846dad10 RBP: 00007ffc846dad10 R08: 00007ffc846dbd10 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc846dbda0 R13: 00007ff77c502120 R14: 0000000000195737 R15: 00007ffc846dbde0 ---------------- 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 87 50 fd 02 call 0x2fd5098 11: 89 c5 mov %eax,%ebp 13: e8 d0 89 ff ff call 0xffff89e8 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 10 73 eb 0d lea 0xdeb7310(%rip),%rdi # 0xdeb7338 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 12 7f 7f 09 jmp 0x97f7f48 36: cc int3 37: 48 c7 c7 2d e0 77 8d mov $0xffffffff8d77e02d,%rdi 3e: e8 .byte 0xe8 3f: d5 .byte 0xd5