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: kworker/u8:5/68 Modules linked in: CPU: 1 UID: 0 PID: 68 Comm: kworker/u8:5 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Workqueue: netns cleanup_net 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 67 4c 29 03 89 c5 e8 e0 85 ff ff 85 ed 74 13 83 fb ff 74 16 48 8d 3d 80 dd 12 0f 89 de <67> 48 0f b9 3a 5b 5d c3 cc cc cc cc cc 48 c7 c7 7b 9f a4 8d e8 95 RSP: 0018:ffffc9000154ecf0 EFLAGS: 00010046 RAX: 000000000000003b RBX: 00000000ffffffff RCX: bf8ae93d0ec29c00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff90b54830 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff520002a9d4d R12: 000000000000004e R13: ffffffff9452dff8 R14: ffffffff973d7ef8 R15: ffffffff973d7fd8 FS: 0000000000000000(0000) GS:ffff888124abb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559cf5079000 CR3: 0000000038b12000 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_task_change+0xc9/0x320 kernel/sched/psi.c:919 psi_enqueue kernel/sched/stats.h:159 [inline] enqueue_task+0x341/0x410 kernel/sched/core.c:2196 activate_task kernel/sched/core.c:2234 [inline] ttwu_do_activate+0x1c8/0x640 kernel/sched/core.c:3847 ttwu_queue kernel/sched/core.c:4100 [inline] try_to_wake_up+0x7b1/0x1430 kernel/sched/core.c:4438 __queue_work+0xc17/0x1130 kernel/workqueue.c:2458 queue_work_on+0x106/0x1d0 kernel/workqueue.c:2501 queue_work include/linux/workqueue.h:700 [inline] schedule_work include/linux/workqueue.h:761 [inline] nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:-1 [inline] nsim_fib_event_nb+0xf97/0x1200 drivers/net/netdevsim/fib.c:1043 call_fib_notifier+0x45/0x80 net/core/fib_notifier.c:25 call_fib_entry_notifier net/ipv4/fib_trie.c:90 [inline] fib_leaf_notify net/ipv4/fib_trie.c:2170 [inline] fib_table_notify net/ipv4/fib_trie.c:2189 [inline] fib_notify+0x4a9/0x7f0 net/ipv4/fib_trie.c:2212 fib_net_dump net/core/fib_notifier.c:70 [inline] register_fib_notifier+0x184/0x360 net/core/fib_notifier.c:108 nsim_fib_create+0x6f2/0xac0 drivers/net/netdevsim/fib.c:1593 nsim_dev_reload_create drivers/net/netdevsim/dev.c:1529 [inline] nsim_dev_reload_up+0x3ea/0x880 drivers/net/netdevsim/dev.c:983 devlink_reload+0x4bb/0x890 net/devlink/dev.c:475 devlink_pernet_pre_exit+0x1ff/0x420 net/devlink/core.c:584 ops_pre_exit_list net/core/net_namespace.c:161 [inline] ops_undo_list+0x17d/0x8d0 net/core/net_namespace.c:235 cleanup_net+0x575/0x810 net/core/net_namespace.c:706 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---------------- 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 67 4c 29 03 call 0x3294c78 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 80 dd 12 0f lea 0xf12dd80(%rip),%rdi # 0xf12dda8 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 7b 9f a4 8d mov $0xffffffff8da49f7b,%rdi 3e: e8 .byte 0xe8 3f: 95 xchg %eax,%ebp