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/6522 Modules linked in: CPU: 1 UID: 0 PID: 6522 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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: 0018:ffffc90004ac7430 EFLAGS: 00010046 RAX: 000000000000003b RBX: 00000000ffffffff RCX: dc363457a4d55100 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8fb53c30 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000958e35 R12: 000000000000005d R13: ffffffff9353e180 R14: ffffffff9643b628 R15: ffffffff9643b708 FS: 00005555634d7500(0000) GS:ffff888125cc2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007eff9cabe830 CR3: 000000002975a000 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_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:679 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: 0018:ffffc90004ac79c8 EFLAGS: 00000282 RAX: dc363457a4d55100 RBX: 0000000000000001 RCX: 0000000000000046 RDX: ffff888028788c40 RSI: ffffffff8dae12cb RDI: ffffffff8bcc4c80 RBP: ffff888028788000 R08: 0000000000000008 R09: ffffffff95d871d0 R10: 00000000de37c92e R11: 000000005f021e30 R12: ffff888065bfa938 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000246 touch_wq_lockdep_map+0xcb/0x180 kernel/workqueue.c:4111 __flush_workqueue+0x148/0x1470 kernel/workqueue.c:4153 drain_workqueue+0xce/0x380 kernel/workqueue.c:4317 destroy_workqueue+0xbb/0xc60 kernel/workqueue.c:6155 xfs_destroy_mount_workqueues+0xad/0x100 fs/xfs/xfs_super.c:703 xfs_fs_put_super+0x153/0x160 fs/xfs/xfs_super.c:1283 generic_shutdown_super+0x13d/0x2d0 fs/super.c:751 kill_block_super+0x44/0xa0 fs/super.c:1903 xfs_kill_sb+0x247/0x260 fs/xfs/xfs_super.c:2337 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:0x7f83840bf3d7 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:00007ffd411e56f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f8384154d23 RCX: 00007f83840bf3d7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd411e57b0 RBP: 00007ffd411e57b0 R08: 00007ffd411e67b0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd411e6840 R13: 00007f8384154d23 R14: 00000000001298ce R15: 00007ffd411e6880 ---------------- 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)