./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1628334686 <...> Warning: Permanently added '10.128.0.217' (ED25519) to the list of known hosts. execve("./syz-executor1628334686", ["./syz-executor1628334686"], 0x7ffd48621ea0 /* 10 vars */) = 0 brk(NULL) = 0x55558fc17000 brk(0x55558fc17d00) = 0x55558fc17d00 arch_prctl(ARCH_SET_FS, 0x55558fc17380) = 0 set_tid_address(0x55558fc17650) = 5066 set_robust_list(0x55558fc17660, 24) = 0 rseq(0x55558fc17ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1628334686", 4096) = 28 getrandom("\x49\x7c\x67\xac\x75\x66\x88\x86", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558fc17d00 brk(0x55558fc38d00) = 0x55558fc38d00 brk(0x55558fc39000) = 0x55558fc39000 mprotect(0x7fd9ea66e000, 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, child_tidptr=0x55558fc17650) = 5067 ./strace-static-x86_64: Process 5067 attached [pid 5067] set_robust_list(0x55558fc17660, 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 [ 62.264618][ T5067] [ 62.264618][ T5067] but task is already holding lock: [ 62.271967][ T5067] ffff88807e6f4d20 (team->team_lock_key){+.+.}-{3:3}, at: team_add_slave+0xad/0x2750 [ 62.281433][ T5067] [ 62.281433][ T5067] other info that might help us debug this: [ 62.289471][ T5067] Possible unsafe locking scenario: [ 62.289471][ T5067] [ 62.296904][ T5067] CPU0 [ 62.300170][ T5067] ---- [ 62.303431][ T5067] lock(team->team_lock_key); [ 62.308180][ T5067] lock(team->team_lock_key); [ 62.312936][ T5067] [ 62.312936][ T5067] *** DEADLOCK *** [ 62.312936][ T5067] [ 62.321068][ T5067] May be due to missing lock nesting notation [ 62.321068][ T5067] [ 62.329380][ T5067] 2 locks held by syz-executor162/5067: [ 62.334912][ T5067] #0: ffffffff8f38ce88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 [ 62.344386][ T5067] #1: ffff88807e6f4d20 (team->team_lock_key){+.+.}-{3:3}, at: team_add_slave+0xad/0x2750 [ 62.354285][ T5067] [ 62.354285][ T5067] stack backtrace: [ 62.360158][ T5067] CPU: 0 PID: 5067 Comm: syz-executor162 Not tainted 6.8.0-syzkaller-08073-g480e035fc4c7 #0 [ 62.370204][ T5067] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 62.380242][ T5067] Call Trace: [ 62.383509][ T5067] [ 62.386426][ T5067] dump_stack_lvl+0x241/0x360 [ 62.391108][ T5067] ? __pfx_dump_stack_lvl+0x10/0x10 [ 62.396300][ T5067] ? print_deadlock_bug+0x479/0x620 [ 62.401487][ T5067] ? _find_first_zero_bit+0xd4/0x100 [ 62.406758][ T5067] validate_chain+0x15c1/0x58e0 [ 62.411599][ T5067] ? _raw_spin_unlock_irqrestore+0x8f/0x140 [ 62.417492][ T5067] ? __wake_up_common_lock+0x18c/0x1e0 [ 62.422941][ T5067] ? __pfx_validate_chain+0x10/0x10 [ 62.428126][ T5067] ? consume_skb+0xc6/0x160 [ 62.432621][ T5067] ? netlink_broadcast_filtered+0x1259/0x1290 [ 62.438684][ T5067] ? nlmsg_notify+0xfb/0x1c0 [ 62.443262][ T5067] ? nlmsg_notify+0x15a/0x1c0 [ 62.447930][ T5067] ? rtmsg_fib+0x3a3/0x630 [ 62.452333][ T5067] ? mark_lock+0x9a/0x350 [ 62.456647][ T5067] ? __pfx_rtmsg_fib+0x10/0x10 [ 62.461394][ T5067] __lock_acquire+0x1346/0x1fd0 [ 62.466241][ T5067] lock_acquire+0x1e4/0x530 [ 62.470732][ T5067] ? team_port_change_check+0x51/0x1e0 [ 62.476183][ T5067] ? __pfx_lock_acquire+0x10/0x10 [ 62.481194][ T5067] ? neigh_lookup+0xb1/0x500 [ 62.485775][ T5067] ? __pfx___might_resched+0x10/0x10 [ 62.491046][ T5067] ? __pfx_cfg80211_netdev_notifier_call+0x10/0x10 [ 62.497543][ T5067] ? __pfx_arp_key_eq+0x10/0x10 [ 62.502387][ T5067] __mutex_lock+0x136/0xd70 [ 62.506876][ T5067] ? team_port_change_check+0x51/0x1e0 [ 62.512321][ T5067] ? neigh_lookup+0xb1/0x500 [ 62.516903][ T5067] ? __pfx_neigh_lookup+0x10/0x10 [ 62.521915][ T5067] ? bond_netdev_event+0xdd/0xf20 [ 62.526932][ T5067] ? team_port_change_check+0x51/0x1e0 [ 62.532375][ T5067] ? __pfx___mutex_lock+0x10/0x10 [ 62.537386][ T5067] ? __asan_memset+0x23/0x50 [ 62.541965][ T5067] team_port_change_check+0x51/0x1e0 [ 62.547242][ T5067] team_device_event+0x4e6/0x5b0 [ 62.552166][ T5067] ? notifier_call_chain+0x166/0x3b0 [ 62.557438][ T5067] notifier_call_chain+0x18f/0x3b0 [ 62.562535][ T5067] __dev_notify_flags+0x207/0x400 [ 62.567548][ T5067] ? dev_set_rx_mode+0xb8/0x2e0 [ 62.572388][ T5067] ? __pfx___dev_notify_flags+0x10/0x10 [ 62.577918][ T5067] ? __dev_change_flags+0x515/0x6f0 [ 62.583104][ T5067] ? __pfx___dev_change_flags+0x10/0x10 [ 62.588636][ T5067] ? dsa_user_netdevice_event+0x714/0x2970 [ 62.594435][ T5067] dev_change_flags+0xf0/0x1a0 [ 62.599189][ T5067] vlan_device_event+0x1b81/0x1de0 [ 62.604291][ T5067] ? rt6_multipath_rebalance+0x7b0/0x880 [ 62.609914][ T5067] ? br_device_event+0x148/0x970 [ 62.614838][ T5067] ? __pfx_phonet_device_notify+0x10/0x10 [ 62.620547][ T5067] ? __pfx_vlan_device_event+0x10/0x10 [ 62.626022][ T5067] ? __pfx_br_device_event+0x10/0x10 [ 62.631295][ T5067] ? raw_notifier+0x9d/0x740 [ 62.635868][ T5067] ? isotp_notifier+0xa4/0x6b0 [ 62.640618][ T5067] ? cgw_notifier+0xd8/0x3b0 [ 62.645213][ T5067] ? packet_notifier+0x76/0xa30 [ 62.650069][ T5067] notifier_call_chain+0x18f/0x3b0 [ 62.655176][ T5067] dev_open+0x13a/0x1b0 [ 62.659322][ T5067] ? __pfx_dev_open+0x10/0x10 [ 62.664000][ T5067] ? team_add_slave+0x8a0/0x2750 [ 62.668931][ T5067] team_add_slave+0x9b3/0x2750 [ 62.673687][ T5067] ? __pfx___dev_notify_flags+0x10/0x10 [ 62.679227][ T5067] ? __dev_change_flags+0x515/0x6f0 [ 62.684429][ T5067] ? __pfx_team_add_slave+0x10/0x10 [ 62.689620][ T5067] ? __pfx___dev_change_flags+0x10/0x10 [ 62.695156][ T5067] ? vprintk_emit+0x631/0x770 [ 62.699827][ T5067] ? mutex_is_locked+0x12/0x50 [ 62.704578][ T5067] do_setlink+0xe70/0x41f0 [ 62.708985][ T5067] ? _printk+0xd5/0x120 [ 62.713130][ T5067] ? __nla_validate_parse+0x4e4/0x2f70 [ 62.718577][ T5067] ? __pfx__printk+0x10/0x10 [ 62.723157][ T5067] ? __pfx_do_setlink+0x10/0x10 [ 62.728000][ T5067] ? __nla_validate_parse+0x259b/0x2f70 [ 62.733528][ T5067] ? netlink_unicast+0x7ea/0x980 [ 62.738461][ T5067] ? __pfx___nla_validate_parse+0x10/0x10 [ 62.744174][ T5067] ? __kasan_kmalloc+0x98/0xb0 [ 62.748930][ T5067] ? validate_linkmsg+0x71e/0x900 [ 62.753947][ T5067] rtnl_newlink+0x180b/0x20a0 [ 62.758627][ T5067] ? kernel_text_address+0xa7/0xe0 [ 62.763742][ T5067] ? rtnl_newlink+0x521/0x20a0 [ 62.768504][ T5067] ? __pfx_rtnl_newlink+0x10/0x10 [ 62.773521][ T5067] ? __pfx___mutex_trylock_common+0x10/0x10 [ 62.779405][ T5067] ? rcu_is_watching+0x15/0xb0 [ 62.784156][ T5067] ? trace_contention_end+0x3c/0x100 [ 62.789431][ T5067] ? __mutex_lock+0x2ef/0xd70 [ 62.794097][ T5067] ? rcu_read_unlock+0x8c/0xa0 [ 62.798858][ T5067] ? __pfx_rtnl_newlink+0x10/0x10 [ 62.803870][ T5067] rtnetlink_rcv_msg+0x89b/0x10d0 [ 62.808888][ T5067] ? rtnetlink_rcv_msg+0x208/0x10d0 [ 62.814076][ T5067] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 62.820390][ T5067] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 62.826271][ T5067] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 62.832236][ T5067] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 62.838560][ T5067] ? __local_bh_enable_ip+0x168/0x200 [ 62.843927][ T5067] ? lockdep_hardirqs_on+0x99/0x150 [ 62.849115][ T5067] ? __local_bh_enable_ip+0x168/0x200 [ 62.854474][ T5067] ? dev_hard_start_xmit+0x724/0x790 [ 62.859749][ T5067] ? __dev_queue_xmit+0x2c4/0x3b10 [ 62.864860][ T5067] ? __pfx___local_bh_enable_ip+0x10/0x10 [ 62.870574][ T5067] ? __dev_queue_xmit+0x2c4/0x3b10 [ 62.875680][ T5067] ? __dev_queue_xmit+0x15fd/0x3b10 [ 62.880871][ T5067] ? __dev_queue_xmit+0x2c4/0x3b10 [ 62.885978][ T5067] ? ref_tracker_free+0x643/0x7e0 [ 62.891001][ T5067] netlink_rcv_skb+0x1e3/0x430 [ 62.895761][ T5067] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 62.901211][ T5067] ? __pfx_netlink_rcv_skb+0x10/0x10 [ 62.906494][ T5067] ? netlink_deliver_tap+0x2e/0x1b0 [ 62.911684][ T5067] netlink_unicast+0x7ea/0x980 [ 62.916443][ T5067] ? __pfx_netlink_unicast+0x10/0x10 [ 62.921717][ T5067] ? __virt_addr_valid+0x44e/0x520 [ 62.926820][ T5067] ? __phys_addr_symbol+0x2f/0x70 [ 62.931838][ T5067] ? __check_object_size+0x4bc/0xa00 [ 62.937111][ T5067] ? bpf_lsm_netlink_send+0x9/0x10 [ 62.942210][ T5067] netlink_sendmsg+0x8e1/0xcb0 [ 62.946970][ T5067] ? __pfx_netlink_sendmsg+0x10/0x10 [ 62.952252][ T5067] ? __import_iovec+0x536/0x820 [ 62.957091][ T5067] ? aa_sock_msg_perm+0x91/0x160 [ 62.962026][ T5067] ? bpf_lsm_socket_sendmsg+0x9/0x10 [ 62.967304][ T5067] ? security_socket_sendmsg+0x87/0xb0 [ 62.972761][ T5067] ? __pfx_netlink_sendmsg+0x10/0x10 [ 62.978038][ T5067] __sock_sendmsg+0x221/0x270 [ 62.982792][ T5067] ____sys_sendmsg+0x525/0x7d0 [ 62.987550][ T5067] ? __pfx_____sys_sendmsg+0x10/0x10 [ 62.992832][ T5067] ? do_raw_spin_lock+0x14f/0x370 [ 62.997850][ T5067] __sys_sendmsg+0x2b0/0x3a0 [ 63.002431][ T5067] ? __pfx___sys_sendmsg+0x10/0x10 [ 63.007537][ T5067] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 63.013853][ T5067] ? _raw_spin_unlock_irq+0x2e/0x50 [ 63.019045][ T5067] ? ptrace_notify+0x279/0x380 [ 63.023813][ T5067] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 63.030129][ T5067] ? do_syscall_64+0x10a/0x240 [ 63.034886][ T5067] ? syscall_trace_enter+0x5f/0x150 [ 63.040072][ T5067] do_syscall_64+0xfb/0x240 [ 63.044568][ T5067] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 63.050447][ T5067] RIP: 0033:0x7fd9ea5f5b09 [ 63.054849][ 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 [ 63.074440][ T5067] RSP: 002b:00007fff8ef3bc18 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 63.082851][ T5067] RAX: ffffffffffffffda RBX: 00007fd9ea6433d3 RCX: 00007fd9ea5f5b09 [ 63.090807][ T5067] RDX: 0000000000000000 RSI: 0000000020000600 RDI: 0000000000000004 [ 63.098763][ T5067] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 [ 63.106720][ T5067] R10: 0000000000000001 R11: 0000000000000246 R12: 00007fff8ef3bc50 [ 63.114686][ T5067] R13: 00007fd9ea643004 R14: 00007fff8ef3bc3c R15: 0000000000000003 [ 63.122650][ T5067]