netlink: 'syz-executor170': attribute type 10 has an invalid length. device veth0_vlan left promiscuous mode device veth0_vlan entered promiscuous mode ============================================ WARNING: possible recursive locking detected 5.15.175-syzkaller #0 Not tainted -------------------------------------------- syz-executor170/4029 is trying to acquire lock: ffff0000d7574d00 (team->team_lock_key){+.+.}-{3:3}, at: team_port_change_check+0x5c/0x230 drivers/net/team/team.c:3005 but task is already holding lock: ffff0000d7574d00 (team->team_lock_key){+.+.}-{3:3}, at: team_add_slave+0xa8/0x1fb0 drivers/net/team/team.c:1982 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-executor170/4029: #0: ffff800016cb38a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffff800016cb38a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac net/core/rtnetlink.c:5644 #1: ffff0000d7574d00 (team->team_lock_key){+.+.}-{3:3}, at: team_add_slave+0xa8/0x1fb0 drivers/net/team/team.c:1982 stack backtrace: CPU: 1 PID: 4029 Comm: syz-executor170 Not tainted 5.15.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 __lock_acquire+0x62bc/0x7638 kernel/locking/lockdep.c:5012 lock_acquire+0x240/0x77c kernel/locking/lockdep.c:5623 __mutex_lock_common+0x194/0x2154 kernel/locking/mutex.c:596 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xa4/0xf8 kernel/locking/mutex.c:743 team_port_change_check+0x5c/0x230 drivers/net/team/team.c:3005 team_device_event+0x434/0x4f4 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd4/0x164 kernel/notifier.c:391 __dev_notify_flags+0x2ac/0x534 dev_change_flags+0xc8/0x154 net/core/dev.c:8897 vlan_device_event+0x3f0/0x18ec net/8021q/vlan.c:469 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd4/0x164 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2018 [inline] call_netdevice_notifiers_extack net/core/dev.c:2030 [inline] call_netdevice_notifiers net/core/dev.c:2044 [inline] dev_open+0x1a4/0x23c net/core/dev.c:1547 team_port_add drivers/net/team/team.c:1213 [inline] team_add_slave+0x6e4/0x1fb0 drivers/net/team/team.c:1983 do_set_master net/core/rtnetlink.c:2572 [inline] do_setlink+0xc08/0x3134 net/core/rtnetlink.c:2783 rtnl_setlink+0x37c/0x464 net/core/rtnetlink.c:3058 rtnetlink_rcv_msg+0xa74/0xdac net/core/rtnetlink.c:5647 netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2489 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:5665 netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline] netlink_unicast+0x664/0x938 net/netlink/af_netlink.c:1337 netlink_sendmsg+0x844/0xb38 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] sock_write_iter+0x2b0/0x3f8 net/socket.c:1079 do_iter_readv_writev+0x420/0x5f8 do_iter_write+0x1b8/0x66c fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_writev+0x220/0x3ec fs/read_write.c:971 __do_sys_writev fs/read_write.c:1044 [inline] __se_sys_writev fs/read_write.c:1041 [inline] __arm64_sys_writev+0x80/0x94 fs/read_write.c:1041 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584