netlink: 'syz-executor903': attribute type 10 has an invalid length. veth0_vlan: left promiscuous mode veth0_vlan: entered promiscuous mode ============================================ WARNING: possible recursive locking detected 6.8.0-rc7-syzkaller-g707081b61156 #0 Not tainted -------------------------------------------- syz-executor903/6162 is trying to acquire lock: ffff0000cce14d20 (team->team_lock_key){+.+.}-{3:3}, at: team_port_change_check+0x5c/0x228 drivers/net/team/team.c:2997 but task is already holding lock: ffff0000cce14d20 (team->team_lock_key){+.+.}-{3:3}, at: team_add_slave+0xa4/0x2368 drivers/net/team/team.c:1974 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(team->team_lock_key); lock(team->team_lock_key); *** DEADLOCK *** May be due to missing lock nesting notation 2 locks held by syz-executor903/6162: #0: ffff80009194f2e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff80009194f2e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x704/0xdbc net/core/rtnetlink.c:6614 #1: ffff0000cce14d20 (team->team_lock_key){+.+.}-{3:3}, at: team_add_slave+0xa4/0x2368 drivers/net/team/team.c:1974 stack backtrace: CPU: 1 PID: 6162 Comm: syz-executor903 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:291 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:298 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 print_deadlock_bug+0x4e4/0x660 kernel/locking/lockdep.c:3012 check_deadlock kernel/locking/lockdep.c:3062 [inline] validate_chain kernel/locking/lockdep.c:3856 [inline] __lock_acquire+0x5fe4/0x763c kernel/locking/lockdep.c:5137 lock_acquire+0x23c/0x71c kernel/locking/lockdep.c:5754 __mutex_lock_common+0x190/0x21a0 kernel/locking/mutex.c:608 __mutex_lock kernel/locking/mutex.c:752 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:804 team_port_change_check+0x5c/0x228 drivers/net/team/team.c:2997 team_device_event+0x430/0x4cc notifier_call_chain+0x1a4/0x510 kernel/notifier.c:93 raw_notifier_call_chain+0x3c/0x50 kernel/notifier.c:461 __dev_notify_flags+0x2c4/0x550 dev_change_flags+0xd0/0x15c net/core/dev.c:8725 vlan_device_event+0x3f4/0x1814 net/8021q/vlan.c:468 notifier_call_chain+0x1a4/0x510 kernel/notifier.c:93 raw_notifier_call_chain+0x3c/0x50 kernel/notifier.c:461 call_netdevice_notifiers_info net/core/dev.c:1966 [inline] call_netdevice_notifiers_extack net/core/dev.c:2004 [inline] call_netdevice_notifiers net/core/dev.c:2018 [inline] dev_open+0x1b0/0x248 net/core/dev.c:1487 team_port_add drivers/net/team/team.c:1215 [inline] team_add_slave+0x7b0/0x2368 drivers/net/team/team.c:1975 do_set_master net/core/rtnetlink.c:2707 [inline] do_setlink+0xc30/0x3794 net/core/rtnetlink.c:2913 rtnl_setlink+0x3ac/0x49c net/core/rtnetlink.c:3209 rtnetlink_rcv_msg+0x748/0xdbc net/core/rtnetlink.c:6617 netlink_rcv_skb+0x214/0x3c4 net/netlink/af_netlink.c:2543 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6635 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline] netlink_unicast+0x65c/0x898 net/netlink/af_netlink.c:1367 netlink_sendmsg+0x83c/0xb20 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] sock_write_iter+0x2d8/0x448 net/socket.c:1160 do_iter_readv_writev+0x38c/0x540 vfs_writev+0x410/0xb58 fs/read_write.c:971 do_writev+0x178/0x304 fs/read_write.c:1018 __do_sys_writev fs/read_write.c:1091 [inline] __se_sys_writev fs/read_write.c:1088 [inline] __arm64_sys_writev+0x80/0x94 fs/read_write.c:1088 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598