BUG: MAX_LOCKDEP_ENTRIES too low! turning off the locking correctness validator. CPU: 0 PID: 23227 Comm: syz-executor.2 Not tainted 6.5.0-syzkaller-03967-gbd6c11bc43c4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 alloc_list_entry kernel/locking/lockdep.c:1405 [inline] add_lock_to_list+0x259/0x380 kernel/locking/lockdep.c:1426 check_prev_add kernel/locking/lockdep.c:3212 [inline] check_prevs_add kernel/locking/lockdep.c:3261 [inline] validate_chain kernel/locking/lockdep.c:3876 [inline] __lock_acquire+0x3d49/0x5de0 kernel/locking/lockdep.c:5144 lock_acquire kernel/locking/lockdep.c:5761 [inline] lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5726 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] sysfs_do_create_link_sd+0x41/0x140 fs/sysfs/symlink.c:34 sysfs_do_create_link fs/sysfs/symlink.c:80 [inline] sysfs_create_link+0x61/0xc0 fs/sysfs/symlink.c:92 netdev_adjacent_sysfs_add net/core/dev.c:7481 [inline] __netdev_adjacent_dev_insert+0x751/0xb40 net/core/dev.c:7537 __netdev_adjacent_dev_link_lists net/core/dev.c:7614 [inline] __netdev_adjacent_dev_link_neighbour net/core/dev.c:7643 [inline] __netdev_upper_dev_link+0x3d5/0x840 net/core/dev.c:7703 netdev_master_upper_dev_link+0xa0/0xd0 net/core/dev.c:7778 team_upper_dev_link drivers/net/team/team.c:1116 [inline] team_port_add drivers/net/team/team.c:1245 [inline] team_add_slave+0xeb9/0x20f0 drivers/net/team/team.c:1973 do_set_master+0x1bc/0x220 net/core/rtnetlink.c:2674 rtnl_newlink_create net/core/rtnetlink.c:3502 [inline] __rtnl_newlink+0x14e8/0x1940 net/core/rtnetlink.c:3705 rtnl_newlink+0x67/0xa0 net/core/rtnetlink.c:3718 rtnetlink_rcv_msg+0x439/0xd30 net/core/rtnetlink.c:6444 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2545 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline] netlink_unicast+0x536/0x810 net/netlink/af_netlink.c:1368 netlink_sendmsg+0x93c/0xe40 net/netlink/af_netlink.c:1910 sock_sendmsg_nosec net/socket.c:728 [inline] sock_sendmsg+0xd9/0x180 net/socket.c:751 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2538 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2592 __sys_sendmsg+0x117/0x1e0 net/socket.c:2621 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd416c7cae9 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:00007fd4179380c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fd416d9bf80 RCX: 00007fd416c7cae9 RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000004 RBP: 00007fd416cc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd416d9bf80 R15: 00007ffeae523c88 wireguard1347: entered promiscuous mode team1546: Port device wireguard1347 added