Increase LOCKDEP_CIRCULAR_QUEUE_BITS to avoid this warning: ------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 1 PID: 18850 at kernel/locking/lockdep.c:2059 print_bfs_bug+0x29/0x50 kernel/locking/lockdep.c:2059 Modules linked in: CPU: 1 UID: 0 PID: 18850 Comm: syz.3.4137 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:print_bfs_bug+0x29/0x50 kernel/locking/lockdep.c:2059 Code: 90 55 53 89 fb e8 27 25 27 03 89 c5 e8 00 a6 ff ff 85 ed 74 19 83 fb ff 74 1c 90 48 c7 c7 a1 c6 9c 8d 89 de e8 d8 ae e5 ff 90 <0f> 0b 90 90 5b 5d e9 4c 20 df 09 cc 48 c7 c7 95 f0 ae 8d e8 ff 03 RSP: 0018:ffffc9000b406180 EFLAGS: 00010046 RAX: c29b1be8b5f2c400 RBX: 00000000ffffffff RCX: ffff88802aa38000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000001 R08: ffff8880b8724253 R09: 1ffff110170e484a R10: dffffc0000000000 R11: ffffed10170e484b R12: ffffffff96301288 R13: ffffffff96301598 R14: ffff88802aa38bb8 R15: 000000000000004f FS: 00007f46236df6c0(0000) GS:ffff888125d18000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558367e808 CR3: 00000000278c6000 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+0x1a4b/0x2140 kernel/locking/lockdep.c:3908 __lock_acquire+0xab9/0xd20 kernel/locking/lockdep.c:5237 lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162 debug_object_deactivate+0x9a/0x250 lib/debugobjects.c:873 debug_hrtimer_deactivate kernel/time/hrtimer.c:450 [inline] debug_deactivate+0x1d/0x200 kernel/time/hrtimer.c:490 remove_hrtimer kernel/time/hrtimer.c:1156 [inline] hrtimer_try_to_cancel+0x2ff/0x420 kernel/time/hrtimer.c:1365 update_curr_dl_se+0x1ef/0x990 kernel/sched/deadline.c:1468 update_curr+0x3fb/0x730 kernel/sched/fair.c:1243 put_prev_entity+0x41/0x230 kernel/sched/fair.c:5544 pick_next_task_fair+0x7e3/0xba0 kernel/sched/fair.c:8809 __pick_next_task+0xe4/0x450 kernel/sched/core.c:6001 pick_next_task kernel/sched/core.c:6086 [inline] __schedule+0x7a4/0x4cc0 kernel/sched/core.c:6902 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7288 irqentry_exit+0x6f/0x90 kernel/entry/common.c:197 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x175/0x360 kernel/locking/lockdep.c:5872 Code: 00 00 00 00 9c 8f 44 24 30 f7 44 24 30 00 02 00 00 0f 85 cd 00 00 00 f7 44 24 08 00 02 00 00 74 01 fb 65 48 8b 05 7b 21 03 11 <48> 3b 44 24 58 0f 85 f2 00 00 00 48 83 c4 60 5b 41 5c 41 5d 41 5e RSP: 0018:ffffc9000b406ac8 EFLAGS: 00000206 RAX: c29b1be8b5f2c400 RBX: 0000000000000000 RCX: c29b1be8b5f2c400 RDX: ffffffff93522ed8 RSI: ffffffff8dba7f2b RDI: ffffffff8be33880 RBP: ffffffff818a5135 R08: 0000000000000008 R09: ffffffff95c3a3c0 R10: 00000000da40e531 R11: 00000000e295144c R12: 0000000000000000 R13: ffff8880788ba948 R14: 0000000000000001 R15: 0000000000000246 touch_wq_lockdep_map+0xcb/0x180 kernel/workqueue.c:3907 __flush_workqueue+0x121/0x14b0 kernel/workqueue.c:3949 drain_workqueue+0xd3/0x390 kernel/workqueue.c:4113 destroy_workqueue+0xbb/0xc70 kernel/workqueue.c:5869 wg_newlink+0x554/0x640 drivers/net/wireguard/device.c:395 rtnl_newlink_create+0x310/0xb00 net/core/rtnetlink.c:3825 __rtnl_newlink net/core/rtnetlink.c:3942 [inline] rtnl_newlink+0x16d6/0x1c70 net/core/rtnetlink.c:4057 rtnetlink_rcv_msg+0x7cf/0xb70 net/core/rtnetlink.c:6946 netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2552 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x82f/0x9e0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:729 ____sys_sendmsg+0x505/0x830 net/socket.c:2614 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2668 __sys_sendmsg net/socket.c:2700 [inline] __do_sys_sendmsg net/socket.c:2705 [inline] __se_sys_sendmsg net/socket.c:2703 [inline] __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2703 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f462278ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f46236df038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f46229c5fa0 RCX: 00007f462278ebe9 RDX: 0000000000000000 RSI: 0000200000000080 RDI: 0000000000000003 RBP: 00007f4622811e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f46229c6038 R14: 00007f46229c5fa0 R15: 00007ffcd66f88b8 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 9c pushf 5: 8f 44 24 30 pop 0x30(%rsp) 9: f7 44 24 30 00 02 00 testl $0x200,0x30(%rsp) 10: 00 11: 0f 85 cd 00 00 00 jne 0xe4 17: f7 44 24 08 00 02 00 testl $0x200,0x8(%rsp) 1e: 00 1f: 74 01 je 0x22 21: fb sti 22: 65 48 8b 05 7b 21 03 mov %gs:0x1103217b(%rip),%rax # 0x110321a5 29: 11 * 2a: 48 3b 44 24 58 cmp 0x58(%rsp),%rax <-- trapping instruction 2f: 0f 85 f2 00 00 00 jne 0x127 35: 48 83 c4 60 add $0x60,%rsp 39: 5b pop %rbx 3a: 41 5c pop %r12 3c: 41 5d pop %r13 3e: 41 5e pop %r14