device syz_tun left promiscuous mode device syz_tun entered promiscuous mode ============================================ WARNING: possible recursive locking detected 6.1.92-syzkaller #0 Not tainted -------------------------------------------- syz-executor.2/17284 is trying to acquire lock: ffff88805c360d00 (team->team_lock_key#25){+.+.}-{3:3}, at: team_port_change_check+0x51/0x1e0 drivers/net/team/team.c:3010 but task is already holding lock: ffff88805c360d00 (team->team_lock_key#25){+.+.}-{3:3}, at: team_add_slave+0xab/0x2760 drivers/net/team/team.c:1986 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(team->team_lock_key#25); lock(team->team_lock_key#25); *** DEADLOCK *** May be due to missing lock nesting notation 2 locks held by syz-executor.2/17284: #0: ffffffff8e29b028 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8e29b028 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7c1/0xff0 net/core/rtnetlink.c:6118 #1: ffff88805c360d00 (team->team_lock_key#25){+.+.}-{3:3}, at: team_add_slave+0xab/0x2760 drivers/net/team/team.c:1986 stack backtrace: CPU: 0 PID: 17284 Comm: syz-executor.2 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 print_deadlock_bug kernel/locking/lockdep.c:2983 [inline] check_deadlock kernel/locking/lockdep.c:3026 [inline] validate_chain+0x4711/0x5950 kernel/locking/lockdep.c:3812 __lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5049 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __mutex_lock_common kernel/locking/mutex.c:603 [inline] __mutex_lock+0x132/0xd80 kernel/locking/mutex.c:747 team_port_change_check+0x51/0x1e0 drivers/net/team/team.c:3010 team_device_event+0x4ac/0x570 drivers/net/team/team.c:3033 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:455 __dev_notify_flags+0x304/0x610 dev_change_flags+0xe7/0x190 net/core/dev.c:8661 vlan_device_event+0x429/0x1d10 net/8021q/vlan.c:468 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:1970 [inline] call_netdevice_notifiers_extack net/core/dev.c:2008 [inline] call_netdevice_notifiers net/core/dev.c:2022 [inline] dev_open+0x1c1/0x260 net/core/dev.c:1498 team_port_add drivers/net/team/team.c:1217 [inline] team_add_slave+0x96e/0x2760 drivers/net/team/team.c:1987 do_set_master net/core/rtnetlink.c:2598 [inline] do_setlink+0xe99/0x3de0 net/core/rtnetlink.c:2808