Increase LOCKDEP_CIRCULAR_QUEUE_BITS to avoid this warning: ------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 0 PID: 13063 at kernel/locking/lockdep.c:2090 print_bfs_bug+0x27/0x40 kernel/locking/lockdep.c:2090 Modules linked in: CPU: 0 UID: 0 PID: 13063 Comm: syz-executor.0 Not tainted 6.12.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:print_bfs_bug+0x27/0x40 kernel/locking/lockdep.c:2090 Code: 90 90 90 55 53 89 fb e8 87 df fc 02 89 c5 e8 c0 ad fe ff 85 ed 74 15 83 fb ff 74 17 48 c7 c7 e0 c8 8a 8b 89 de e8 b9 d9 e4 ff <0f> 0b 5b 5d c3 cc cc cc cc 48 c7 c7 80 c8 8a 8b e8 54 59 cf 09 eb RSP: 0018:ffffc900031eec28 EFLAGS: 00010046 RAX: 68fbf38313bc6000 RBX: 00000000ffffffff RCX: ffff888026901e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff81542aa2 R09: 1ffff1101724519a R10: dffffc0000000000 R11: ffffed101724519b R12: ffffffff93bec548 R13: ffffffff93bec5b8 R14: 0000000000000001 R15: ffffffff927d5ec0 FS: 00007f948c6296c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f948b8d9514 CR3: 0000000037db0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_prev_add kernel/locking/lockdep.c:3165 [inline] check_prevs_add kernel/locking/lockdep.c:3280 [inline] validate_chain kernel/locking/lockdep.c:3904 [inline] __lock_acquire+0x6033/0x8080 kernel/locking/lockdep.c:5202 lock_acquire+0x1ed/0x540 kernel/locking/lockdep.c:5825 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 alloc_object+0x1ba/0x6d0 lib/debugobjects.c:233 lookup_object_or_alloc lib/debugobjects.c:587 [inline] __debug_object_init+0xe9/0x460 lib/debugobjects.c:633 lb_init+0x1db/0x390 drivers/net/team/team_mode_loadbalance.c:618 __team_change_mode+0x2e7/0x520 drivers/net/team/team_core.c:579 team_change_mode drivers/net/team/team_core.c:613 [inline] team_mode_option_set+0x334/0x3b0 drivers/net/team/team_core.c:1388 team_option_set drivers/net/team/team_core.c:375 [inline] team_nl_options_set_doit+0xa18/0x1080 drivers/net/team/team_core.c:2650 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xb14/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2551 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8dd/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:744 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2607 ___sys_sendmsg net/socket.c:2661 [inline] __sys_sendmsg+0x292/0x380 net/socket.c:2690 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x82/0x160 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f948b87de69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f948c6290c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f948b9abf80 RCX: 00007f948b87de69 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007f948b8ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f948b9abf80 R15: 00007fff65a3a218