device team_slave_1 left promiscuous mode bridge0: port 3(team0) entered disabled state IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready 8021q: adding VLAN 0 to HW filter on device team0 ============================================ WARNING: possible recursive locking detected 4.19.202-syzkaller #0 Not tainted -------------------------------------------- syz-executor.5/32358 is trying to acquire lock: 0000000099fd672e (&team->lock){+.+.}, at: team_vlan_rx_add_vid+0x38/0x1e0 drivers/net/team/team.c:1896 but task is already holding lock: 000000005e6bb9c1 (&team->lock){+.+.}, at: team_add_slave+0x98/0x1fa0 drivers/net/team/team.c:1975 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&team->lock); lock(&team->lock); *** DEADLOCK *** May be due to missing lock nesting notation 2 locks held by syz-executor.5/32358: #0: 00000000d69f9db5 (rtnl_mutex){+.+.}, at: rtnl_lock net/core/rtnetlink.c:77 [inline] #0: 00000000d69f9db5 (rtnl_mutex){+.+.}, at: rtnetlink_rcv_msg+0x3fe/0xb80 net/core/rtnetlink.c:4779 #1: 000000005e6bb9c1 (&team->lock){+.+.}, at: team_add_slave+0x98/0x1fa0 drivers/net/team/team.c:1975 stack backtrace: CPU: 1 PID: 32358 Comm: syz-executor.5 Not tainted 4.19.202-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_deadlock_bug kernel/locking/lockdep.c:1764 [inline] check_deadlock kernel/locking/lockdep.c:1808 [inline] validate_chain kernel/locking/lockdep.c:2404 [inline] __lock_acquire.cold+0x121/0x57e kernel/locking/lockdep.c:3416 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 __mutex_lock_common kernel/locking/mutex.c:938 [inline] __mutex_lock+0xd7/0x1200 kernel/locking/mutex.c:1083 BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team_vlan_rx_add_vid+0x38/0x1e0 drivers/net/team/team.c:1896 vlan_add_rx_filter_info+0x13c/0x1c0 net/8021q/vlan_core.c:210 __vlan_vid_add net/8021q/vlan_core.c:278 [inline] vlan_vid_add+0x3ee/0x7e0 net/8021q/vlan_core.c:308 vlan_device_event.cold+0x28/0x2d net/8021q/vlan.c:382 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93 call_netdevice_notifiers net/core/dev.c:1762 [inline] dev_open net/core/dev.c:1442 [inline] dev_open+0x128/0x140 net/core/dev.c:1430 team_port_add drivers/net/team/team.c:1220 [inline] team_add_slave+0xb02/0x1fa0 drivers/net/team/team.c:1976 do_set_master+0x1c8/0x220 net/core/rtnetlink.c:2321 do_setlink+0x7ec/0x3540 net/core/rtnetlink.c:2455 rtnl_newlink+0xda9/0x15c0 net/core/rtnetlink.c:3077 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2457 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1911 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2225 __sys_sendmsg net/socket.c:2263 [inline] __do_sys_sendmsg net/socket.c:2272 [inline] __se_sys_sendmsg net/socket.c:2270 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2270 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd67561e188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000006 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fffe5a926af R14: 00007fd67561e300 R15: 0000000000022000 team1: Port device team0 added team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready team1: Device macvtap16 is already an upper device of the team interface IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface tmpfs: Bad value 'local=relative' for mount option 'mpol' team1: Device macvtap16 is already an upper device of the team interface tmpfs: Bad value 'local=relative' for mount option 'mpol' BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'. BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface Unknown ioctl 19586 Unknown ioctl 19586 team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface team1: Device macvtap16 is already an upper device of the team interface BFS-fs: bfs_fill_super(): Inode 0x00000002 corrupted