./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor812807634 <...> Warning: Permanently added '10.128.0.244' (ED25519) to the list of known hosts. execve("./syz-executor812807634", ["./syz-executor812807634"], 0x7ffc5fe86670 /* 10 vars */) = 0 brk(NULL) = 0x555555ded000 brk(0x555555dedd00) = 0x555555dedd00 arch_prctl(ARCH_SET_FS, 0x555555ded380) = 0 set_tid_address(0x555555ded650) = 5066 set_robust_list(0x555555ded660, 24) = 0 rseq(0x555555dedca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor812807634", 4096) = 27 getrandom("\x18\xd8\xc4\x02\x81\xf2\x8e\x19", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555555dedd00 brk(0x555555e0ed00) = 0x555555e0ed00 brk(0x555555e0f000) = 0x555555e0f000 mprotect(0x7fdb39db2000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5067 attached , child_tidptr=0x555555ded650) = 5067 [pid 5067] set_robust_list(0x555555ded660, 24) = 0 [pid 5067] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 5067] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5067] setsid() = 1 [pid 5067] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5067] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5067] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5067] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5067] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5067] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5067] unshare(CLONE_NEWNS) = 0 [pid 5067] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5067] unshare(CLONE_NEWIPC) = 0 [pid 5067] unshare(CLONE_NEWCGROUP) = 0 [pid 5067] unshare(CLONE_NEWUTS) = 0 [pid 5067] unshare(CLONE_SYSVSEM) = 0 [pid 5067] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5067] write(3, "16777216", 8) = 8 [pid 5067] close(3) = 0 [pid 5067] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5067] write(3, "536870912", 9) = 9 [pid 5067] close(3) = 0 [pid 5067] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5067] write(3, "1024", 4) = 4 [pid 5067] close(3) = 0 [pid 5067] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5067] write(3, "8192", 4) = 4 [pid 5067] close(3) = 0 [pid 5067] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5067] write(3, "1024", 4) = 4 [pid 5067] close(3) = 0 [pid 5067] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5067] write(3, "1024", 4) = 4 [pid 5067] close(3) = 0 [pid 5067] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5067] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5067] close(3) = 0 [pid 5067] getpid() = 1 [pid 5067] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<team_lock_key){+.+.}-{3:3}, at: team_port_change_check+0x51/0x1e0 [ 67.632172][ T5067] [ 67.632172][ T5067] but task is already holding lock: [ 67.639895][ T5067] ffff888011244d20 (team->team_lock_key){+.+.}-{3:3}, at: team_add_slave+0xad/0x2750 [ 67.649435][ T5067] [ 67.649435][ T5067] other info that might help us debug this: [ 67.657491][ T5067] Possible unsafe locking scenario: [ 67.657491][ T5067] [ 67.664949][ T5067] CPU0 [ 67.668237][ T5067] ---- [ 67.671504][ T5067] lock(team->team_lock_key); [ 67.676350][ T5067] lock(team->team_lock_key); [ 67.681103][ T5067] [ 67.681103][ T5067] *** DEADLOCK *** [ 67.681103][ T5067] [ 67.689230][ T5067] May be due to missing lock nesting notation [ 67.689230][ T5067] [ 67.697531][ T5067] 2 locks held by syz-executor812/5067: [ 67.703074][ T5067] #0: ffffffff8f385a48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 [ 67.712659][ T5067] #1: ffff888011244d20 (team->team_lock_key){+.+.}-{3:3}, at: team_add_slave+0xad/0x2750 [ 67.723008][ T5067] [ 67.723008][ T5067] stack backtrace: [ 67.728984][ T5067] CPU: 0 PID: 5067 Comm: syz-executor812 Not tainted 6.8.0-syzkaller-05236-g443574b03387 #0 [ 67.739119][ T5067] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 67.749163][ T5067] Call Trace: [ 67.752433][ T5067] [ 67.755371][ T5067] dump_stack_lvl+0x1e7/0x2e0 [ 67.760108][ T5067] ? __pfx_dump_stack_lvl+0x10/0x10 [ 67.765674][ T5067] ? print_deadlock_bug+0x479/0x620 [ 67.770884][ T5067] ? _find_first_zero_bit+0xd4/0x100 [ 67.776296][ T5067] validate_chain+0x15c1/0x58e0 [ 67.781148][ T5067] ? _raw_spin_unlock_irqrestore+0x8f/0x140 [ 67.787049][ T5067] ? __wake_up_common_lock+0x18c/0x1e0 [ 67.792517][ T5067] ? __pfx_validate_chain+0x10/0x10 [ 67.797705][ T5067] ? consume_skb+0xc6/0x160 [ 67.802200][ T5067] ? netlink_broadcast_filtered+0x1259/0x1290 [ 67.810173][ T5067] ? nlmsg_notify+0xfb/0x1c0 [ 67.815105][ T5067] ? nlmsg_notify+0x15a/0x1c0 [ 67.819947][ T5067] ? rtmsg_fib+0x3a3/0x630 [ 67.824361][ T5067] ? mark_lock+0x9a/0x350 [ 67.828681][ T5067] ? __pfx_rtmsg_fib+0x10/0x10 [ 67.833439][ T5067] __lock_acquire+0x1346/0x1fd0 [ 67.838321][ T5067] lock_acquire+0x1e4/0x530 [ 67.842810][ T5067] ? team_port_change_check+0x51/0x1e0 [ 67.848277][ T5067] ? __pfx_lock_acquire+0x10/0x10 [ 67.853388][ T5067] ? neigh_lookup+0xb1/0x500 [ 67.857971][ T5067] ? __pfx___might_resched+0x10/0x10 [ 67.863255][ T5067] ? __pfx_cfg80211_netdev_notifier_call+0x10/0x10 [ 67.869749][ T5067] ? __pfx_arp_key_eq+0x10/0x10 [ 67.874593][ T5067] __mutex_lock+0x136/0xd70 [ 67.879111][ T5067] ? team_port_change_check+0x51/0x1e0 [ 67.884564][ T5067] ? neigh_lookup+0xb1/0x500 [ 67.889160][ T5067] ? __pfx_neigh_lookup+0x10/0x10 [ 67.894191][ T5067] ? bond_netdev_event+0xdd/0xf20 [ 67.899225][ T5067] ? team_port_change_check+0x51/0x1e0 [ 67.905132][ T5067] ? __pfx___mutex_lock+0x10/0x10 [ 67.910329][ T5067] ? __asan_memset+0x23/0x50 [ 67.914912][ T5067] team_port_change_check+0x51/0x1e0 [ 67.920283][ T5067] team_device_event+0x4e6/0x5b0 [ 67.925219][ T5067] ? notifier_call_chain+0x166/0x3b0 [ 67.930494][ T5067] notifier_call_chain+0x18f/0x3b0 [ 67.935603][ T5067] __dev_notify_flags+0x207/0x400 [ 67.940716][ T5067] ? dev_set_rx_mode+0xb8/0x2e0 [ 67.945556][ T5067] ? __pfx___dev_notify_flags+0x10/0x10 [ 67.951093][ T5067] ? __dev_change_flags+0x515/0x6f0 [ 67.956365][ T5067] ? __pfx___dev_change_flags+0x10/0x10 [ 67.961900][ T5067] ? dsa_user_netdevice_event+0x714/0x2970 [ 67.967803][ T5067] dev_change_flags+0xf0/0x1a0 [ 67.972645][ T5067] vlan_device_event+0x1b81/0x1de0 [ 67.977753][ T5067] ? rt6_multipath_rebalance+0x7c0/0x880 [ 67.983469][ T5067] ? br_device_event+0x148/0x970 [ 67.989109][ T5067] ? __pfx_phonet_device_notify+0x10/0x10 [ 67.994841][ T5067] ? __pfx_vlan_device_event+0x10/0x10 [ 68.000304][ T5067] ? __pfx_br_device_event+0x10/0x10 [ 68.005587][ T5067] ? raw_notifier+0x9d/0x740 [ 68.010168][ T5067] ? isotp_notifier+0xa4/0x6b0 [ 68.015037][ T5067] ? cgw_notifier+0xd8/0x3b0 [ 68.019617][ T5067] ? packet_notifier+0x76/0xa30 [ 68.024519][ T5067] notifier_call_chain+0x18f/0x3b0 [ 68.030405][ T5067] dev_open+0x13a/0x1b0 [ 68.034733][ T5067] ? __pfx_dev_open+0x10/0x10 [ 68.039407][ T5067] ? team_add_slave+0x8a0/0x2750 [ 68.044595][ T5067] team_add_slave+0x9b3/0x2750 [ 68.049448][ T5067] ? __pfx___dev_notify_flags+0x10/0x10 [ 68.055018][ T5067] ? __dev_change_flags+0x515/0x6f0 [ 68.060204][ T5067] ? __pfx_team_add_slave+0x10/0x10 [ 68.065565][ T5067] ? __pfx___dev_change_flags+0x10/0x10 [ 68.071100][ T5067] ? vprintk_emit+0x608/0x720 [ 68.075769][ T5067] ? mutex_is_locked+0x12/0x50 [ 68.080525][ T5067] do_setlink+0xe70/0x41f0 [ 68.084946][ T5067] ? _printk+0xd5/0x120 [ 68.089353][ T5067] ? __nla_validate_parse+0x4e4/0x2f70 [ 68.095089][ T5067] ? __pfx__printk+0x10/0x10 [ 68.099724][ T5067] ? __pfx_do_setlink+0x10/0x10 [ 68.104585][ T5067] ? __nla_validate_parse+0x259b/0x2f70 [ 68.110208][ T5067] ? netlink_unicast+0x7ea/0x980 [ 68.115235][ T5067] ? __pfx___nla_validate_parse+0x10/0x10 [ 68.120963][ T5067] ? __kasan_kmalloc+0x98/0xb0 [ 68.125718][ T5067] ? validate_linkmsg+0x71e/0x900 [ 68.130820][ T5067] rtnl_newlink+0x180b/0x20a0 [ 68.135500][ T5067] ? kernel_text_address+0xa7/0xe0 [ 68.140672][ T5067] ? rtnl_newlink+0x4c1/0x20a0 [ 68.145431][ T5067] ? __pfx_rtnl_newlink+0x10/0x10 [ 68.150452][ T5067] ? __pfx___mutex_trylock_common+0x10/0x10 [ 68.156477][ T5067] ? rcu_is_watching+0x15/0xb0 [ 68.161253][ T5067] ? trace_contention_end+0x3c/0x100 [ 68.166539][ T5067] ? __mutex_lock+0x2ef/0xd70 [ 68.171233][ T5067] ? rcu_read_unlock+0x8c/0xa0 [ 68.176116][ T5067] ? __pfx_rtnl_newlink+0x10/0x10 [ 68.181239][ T5067] rtnetlink_rcv_msg+0x89b/0x10d0 [ 68.186273][ T5067] ? rtnetlink_rcv_msg+0x208/0x10d0 [ 68.191723][ T5067] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 68.198401][ T5067] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 68.203855][ T5067] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 68.209906][ T5067] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 68.216241][ T5067] ? __local_bh_enable_ip+0x168/0x200 [ 68.221599][ T5067] ? lockdep_hardirqs_on+0x99/0x150 [ 68.227068][ T5067] ? __local_bh_enable_ip+0x168/0x200 [ 68.232447][ T5067] ? dev_hard_start_xmit+0x724/0x790 [ 68.238085][ T5067] ? __dev_queue_xmit+0x2c4/0x3b10 [ 68.243195][ T5067] ? __pfx___local_bh_enable_ip+0x10/0x10 [ 68.248908][ T5067] ? __dev_queue_xmit+0x2c4/0x3b10 [ 68.254096][ T5067] ? __dev_queue_xmit+0x15fd/0x3b10 [ 68.259312][ T5067] ? __dev_queue_xmit+0x2c4/0x3b10 [ 68.264415][ T5067] ? ref_tracker_free+0x643/0x7e0 [ 68.269440][ T5067] netlink_rcv_skb+0x1e3/0x430 [ 68.274284][ T5067] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 68.280014][ T5067] ? __pfx_netlink_rcv_skb+0x10/0x10 [ 68.285479][ T5067] ? netlink_deliver_tap+0x2e/0x1b0 [ 68.290666][ T5067] netlink_unicast+0x7ea/0x980 [ 68.295687][ T5067] ? __pfx_netlink_unicast+0x10/0x10 [ 68.301240][ T5067] ? __virt_addr_valid+0x44e/0x520 [ 68.306507][ T5067] ? __phys_addr_symbol+0x2f/0x70 [ 68.311622][ T5067] ? __check_object_size+0x4bc/0xa00 [ 68.316921][ T5067] ? bpf_lsm_netlink_send+0x9/0x10 [ 68.322023][ T5067] netlink_sendmsg+0x8e1/0xcb0 [ 68.326871][ T5067] ? __pfx_netlink_sendmsg+0x10/0x10 [ 68.332145][ T5067] ? __import_iovec+0x536/0x820 [ 68.337069][ T5067] ? aa_sock_msg_perm+0x91/0x160 [ 68.341997][ T5067] ? bpf_lsm_socket_sendmsg+0x9/0x10 [ 68.347374][ T5067] ? security_socket_sendmsg+0x87/0xb0 [ 68.352897][ T5067] ? __pfx_netlink_sendmsg+0x10/0x10 [ 68.358274][ T5067] __sock_sendmsg+0x221/0x270 [ 68.363217][ T5067] ____sys_sendmsg+0x525/0x7d0 [ 68.367975][ T5067] ? __pfx_____sys_sendmsg+0x10/0x10 [ 68.373341][ T5067] ? do_raw_spin_lock+0x14f/0x370 [ 68.378542][ T5067] __sys_sendmsg+0x2b0/0x3a0 [ 68.386594][ T5067] ? __pfx___sys_sendmsg+0x10/0x10 [ 68.391698][ T5067] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 68.398019][ T5067] ? _raw_spin_unlock_irq+0x2e/0x50 [ 68.403417][ T5067] ? ptrace_notify+0x279/0x380 [ 68.408374][ T5067] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 68.415098][ T5067] ? do_syscall_64+0x10a/0x240 [ 68.421334][ T5067] ? syscall_trace_enter+0x5f/0x150 [ 68.426836][ T5067] do_syscall_64+0xfb/0x240 [ 68.431344][ T5067] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 68.437236][ T5067] RIP: 0033:0x7fdb39d39b09 [ 68.441649][ T5067] Code: 48 83 c4 28 c3 e8 d7 19 00 00 0f 1f 80 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48 [ 68.461677][ T5067] RSP: 002b:00007fffda02cdb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 68.470171][ T5067] RAX: ffffffffffffffda RBX: 00007fdb39d873d3 RCX: 00007fdb39d39b09 [ 68.478293][ T5067] RDX: 0000000000000000 RSI: 0000000020000600 RDI: 0000000000000004 [ 68.486616][ T5067] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 [ 68.494596][ T5067] R10: 0000000000000001 R11: 0000000000000246 R12: 00007fffda02cdf0 [ 68.503082][ T5067] R13: 00007fdb39d87004 R14: 00007fffda02cddc R15: 0000000000000003 [ 68.511185][ T5067]