./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2604658359 <...> Warning: Permanently added '10.128.1.142' (ED25519) to the list of known hosts. execve("./syz-executor2604658359", ["./syz-executor2604658359"], 0x7ffdf5bce770 /* 10 vars */) = 0 brk(NULL) = 0x55558a181000 brk(0x55558a181d00) = 0x55558a181d00 arch_prctl(ARCH_SET_FS, 0x55558a181380) = 0 set_tid_address(0x55558a181650) = 5065 set_robust_list(0x55558a181660, 24) = 0 rseq(0x55558a181ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2604658359", 4096) = 28 getrandom("\xc0\xb4\xa3\x5c\x72\xc4\xf1\x9c", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558a181d00 brk(0x55558a1a2d00) = 0x55558a1a2d00 brk(0x55558a1a3000) = 0x55558a1a3000 mprotect(0x7fc679f2f000, 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 5066 attached , child_tidptr=0x55558a181650) = 5066 [pid 5066] set_robust_list(0x55558a181660, 24) = 0 [pid 5066] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 5066] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5066] setsid() = 1 [pid 5066] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5066] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5066] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5066] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5066] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5066] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5066] unshare(CLONE_NEWNS) = 0 [pid 5066] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5066] unshare(CLONE_NEWIPC) = 0 [pid 5066] unshare(CLONE_NEWCGROUP) = 0 [pid 5066] unshare(CLONE_NEWUTS) = 0 [pid 5066] unshare(CLONE_SYSVSEM) = 0 [pid 5066] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5066] write(3, "16777216", 8) = 8 [pid 5066] close(3) = 0 [pid 5066] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5066] write(3, "536870912", 9) = 9 [pid 5066] close(3) = 0 [pid 5066] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5066] write(3, "1024", 4) = 4 [pid 5066] close(3) = 0 [pid 5066] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5066] write(3, "8192", 4) = 4 [pid 5066] close(3) = 0 [pid 5066] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5066] write(3, "1024", 4) = 4 [pid 5066] close(3) = 0 [pid 5066] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5066] write(3, "1024", 4) = 4 [pid 5066] close(3) = 0 [pid 5066] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5066] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5066] close(3) = 0 [pid 5066] getpid() = 1 [pid 5066] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<team_lock_key){+.+.}-{3:3}, at: team_port_change_check+0x51/0x1e0 [ 67.581596][ T5066] [ 67.581596][ T5066] but task is already holding lock: [ 67.588946][ T5066] ffff88801f600d20 (team->team_lock_key){+.+.}-{3:3}, at: team_add_slave+0xad/0x2750 [ 67.598441][ T5066] [ 67.598441][ T5066] other info that might help us debug this: [ 67.606479][ T5066] Possible unsafe locking scenario: [ 67.606479][ T5066] [ 67.613907][ T5066] CPU0 [ 67.617163][ T5066] ---- [ 67.620419][ T5066] lock(team->team_lock_key); [ 67.625187][ T5066] lock(team->team_lock_key); [ 67.630036][ T5066] [ 67.630036][ T5066] *** DEADLOCK *** [ 67.630036][ T5066] [ 67.638292][ T5066] May be due to missing lock nesting notation [ 67.638292][ T5066] [ 67.646608][ T5066] 2 locks held by syz-executor260/5066: [ 67.652135][ T5066] #0: ffffffff8f385a08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 [ 67.661616][ T5066] #1: ffff88801f600d20 (team->team_lock_key){+.+.}-{3:3}, at: team_add_slave+0xad/0x2750 [ 67.671716][ T5066] [ 67.671716][ T5066] stack backtrace: [ 67.677594][ T5066] CPU: 0 PID: 5066 Comm: syz-executor260 Not tainted 6.8.0-syzkaller-05271-gf99c5f563c17 #0 [ 67.687639][ T5066] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 67.697683][ T5066] Call Trace: [ 67.700951][ T5066] [ 67.703863][ T5066] dump_stack_lvl+0x1e7/0x2e0 [ 67.708535][ T5066] ? __pfx_dump_stack_lvl+0x10/0x10 [ 67.713713][ T5066] ? print_deadlock_bug+0x479/0x620 [ 67.718897][ T5066] ? _find_first_zero_bit+0xd4/0x100 [ 67.724176][ T5066] validate_chain+0x15c1/0x58e0 [ 67.729010][ T5066] ? _raw_spin_unlock_irqrestore+0x8f/0x140 [ 67.735149][ T5066] ? __wake_up_common_lock+0x18c/0x1e0 [ 67.740593][ T5066] ? __pfx_validate_chain+0x10/0x10 [ 67.745882][ T5066] ? consume_skb+0xc6/0x160 [ 67.750417][ T5066] ? netlink_broadcast_filtered+0x1259/0x1290 [ 67.756485][ T5066] ? nlmsg_notify+0xfb/0x1c0 [ 67.761102][ T5066] ? nlmsg_notify+0x15a/0x1c0 [ 67.765870][ T5066] ? rtmsg_fib+0x3a3/0x630 [ 67.770284][ T5066] ? mark_lock+0x9a/0x350 [ 67.774600][ T5066] ? __pfx_rtmsg_fib+0x10/0x10 [ 67.779362][ T5066] __lock_acquire+0x1346/0x1fd0 [ 67.784198][ T5066] lock_acquire+0x1e4/0x530 [ 67.788701][ T5066] ? team_port_change_check+0x51/0x1e0 [ 67.794164][ T5066] ? __pfx_lock_acquire+0x10/0x10 [ 67.799179][ T5066] ? neigh_lookup+0xb1/0x500 [ 67.803797][ T5066] ? __pfx___might_resched+0x10/0x10 [ 67.809067][ T5066] ? __pfx_cfg80211_netdev_notifier_call+0x10/0x10 [ 67.815645][ T5066] ? __pfx_arp_key_eq+0x10/0x10 [ 67.820483][ T5066] __mutex_lock+0x136/0xd70 [ 67.824978][ T5066] ? team_port_change_check+0x51/0x1e0 [ 67.830419][ T5066] ? neigh_lookup+0xb1/0x500 [ 67.835006][ T5066] ? __pfx_neigh_lookup+0x10/0x10 [ 67.840023][ T5066] ? bond_netdev_event+0xdd/0xf20 [ 67.845029][ T5066] ? team_port_change_check+0x51/0x1e0 [ 67.850662][ T5066] ? __pfx___mutex_lock+0x10/0x10 [ 67.855774][ T5066] ? __asan_memset+0x23/0x50 [ 67.860501][ T5066] team_port_change_check+0x51/0x1e0 [ 67.865788][ T5066] team_device_event+0x4e6/0x5b0 [ 67.870719][ T5066] ? notifier_call_chain+0x166/0x3b0 [ 67.876076][ T5066] notifier_call_chain+0x18f/0x3b0 [ 67.881257][ T5066] __dev_notify_flags+0x207/0x400 [ 67.886267][ T5066] ? dev_set_rx_mode+0xb8/0x2e0 [ 67.891097][ T5066] ? __pfx___dev_notify_flags+0x10/0x10 [ 67.896727][ T5066] ? __dev_change_flags+0x515/0x6f0 [ 67.901912][ T5066] ? __pfx___dev_change_flags+0x10/0x10 [ 67.907437][ T5066] ? dsa_user_netdevice_event+0x714/0x2970 [ 67.913397][ T5066] dev_change_flags+0xf0/0x1a0 [ 67.918142][ T5066] vlan_device_event+0x1b81/0x1de0 [ 67.923258][ T5066] ? rt6_multipath_rebalance+0x870/0x880 [ 67.928958][ T5066] ? br_device_event+0x148/0x970 [ 67.933876][ T5066] ? __pfx_phonet_device_notify+0x10/0x10 [ 67.939618][ T5066] ? __pfx_vlan_device_event+0x10/0x10 [ 67.945149][ T5066] ? __pfx_br_device_event+0x10/0x10 [ 67.950432][ T5066] ? raw_notifier+0x9d/0x740 [ 67.955479][ T5066] ? isotp_notifier+0xa4/0x6b0 [ 67.960329][ T5066] ? cgw_notifier+0xd8/0x3b0 [ 67.964905][ T5066] ? packet_notifier+0x76/0xa30 [ 67.970002][ T5066] notifier_call_chain+0x18f/0x3b0 [ 67.975103][ T5066] dev_open+0x13a/0x1b0 [ 67.979332][ T5066] ? __pfx_dev_open+0x10/0x10 [ 67.984026][ T5066] ? team_add_slave+0x8a0/0x2750 [ 67.989170][ T5066] team_add_slave+0x9b3/0x2750 [ 67.994115][ T5066] ? __pfx___dev_notify_flags+0x10/0x10 [ 67.999849][ T5066] ? __dev_change_flags+0x515/0x6f0 [ 68.005419][ T5066] ? __pfx_team_add_slave+0x10/0x10 [ 68.010872][ T5066] ? __pfx___dev_change_flags+0x10/0x10 [ 68.017464][ T5066] ? vprintk_emit+0x608/0x720 [ 68.022129][ T5066] ? mutex_is_locked+0x12/0x50 [ 68.026875][ T5066] do_setlink+0xe70/0x41f0 [ 68.031382][ T5066] ? _printk+0xd5/0x120 [ 68.035525][ T5066] ? __nla_validate_parse+0x4e4/0x2f70 [ 68.041090][ T5066] ? __pfx__printk+0x10/0x10 [ 68.045801][ T5066] ? __pfx_do_setlink+0x10/0x10 [ 68.050739][ T5066] ? __nla_validate_parse+0x259b/0x2f70 [ 68.056292][ T5066] ? netlink_unicast+0x7ea/0x980 [ 68.061246][ T5066] ? __pfx___nla_validate_parse+0x10/0x10 [ 68.066983][ T5066] ? __kasan_kmalloc+0x98/0xb0 [ 68.071842][ T5066] ? validate_linkmsg+0x71e/0x900 [ 68.076883][ T5066] rtnl_newlink+0x180b/0x20a0 [ 68.081585][ T5066] ? kernel_text_address+0xa7/0xe0 [ 68.086698][ T5066] ? rtnl_newlink+0x471/0x20a0 [ 68.091464][ T5066] ? __pfx_rtnl_newlink+0x10/0x10 [ 68.096611][ T5066] ? __pfx___mutex_trylock_common+0x10/0x10 [ 68.102594][ T5066] ? rcu_is_watching+0x15/0xb0 [ 68.107366][ T5066] ? trace_contention_end+0x3c/0x100 [ 68.112657][ T5066] ? __mutex_lock+0x2ef/0xd70 [ 68.117328][ T5066] ? rcu_read_unlock+0x8c/0xa0 [ 68.122084][ T5066] ? __pfx_rtnl_newlink+0x10/0x10 [ 68.127086][ T5066] rtnetlink_rcv_msg+0x89b/0x10d0 [ 68.132099][ T5066] ? rtnetlink_rcv_msg+0x208/0x10d0 [ 68.137277][ T5066] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 68.143592][ T5066] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 68.149040][ T5066] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 68.155267][ T5066] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 68.161583][ T5066] ? __local_bh_enable_ip+0x168/0x200 [ 68.166947][ T5066] ? lockdep_hardirqs_on+0x99/0x150 [ 68.172128][ T5066] ? __local_bh_enable_ip+0x168/0x200 [ 68.177479][ T5066] ? dev_hard_start_xmit+0x724/0x790 [ 68.182832][ T5066] ? __dev_queue_xmit+0x2c4/0x3b10 [ 68.187937][ T5066] ? __pfx___local_bh_enable_ip+0x10/0x10 [ 68.193651][ T5066] ? __dev_queue_xmit+0x2c4/0x3b10 [ 68.198745][ T5066] ? __dev_queue_xmit+0x15fd/0x3b10 [ 68.203938][ T5066] ? __dev_queue_xmit+0x2c4/0x3b10 [ 68.209029][ T5066] ? ref_tracker_free+0x643/0x7e0 [ 68.214207][ T5066] netlink_rcv_skb+0x1e3/0x430 [ 68.218950][ T5066] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 68.224480][ T5066] ? __pfx_netlink_rcv_skb+0x10/0x10 [ 68.229842][ T5066] ? netlink_deliver_tap+0x2e/0x1b0 [ 68.235119][ T5066] netlink_unicast+0x7ea/0x980 [ 68.239871][ T5066] ? __pfx_netlink_unicast+0x10/0x10 [ 68.245149][ T5066] ? __virt_addr_valid+0x44e/0x520 [ 68.250246][ T5066] ? __phys_addr_symbol+0x2f/0x70 [ 68.255300][ T5066] ? __check_object_size+0x4bc/0xa00 [ 68.260584][ T5066] ? bpf_lsm_netlink_send+0x9/0x10 [ 68.265674][ T5066] netlink_sendmsg+0x8e1/0xcb0 [ 68.270544][ T5066] ? __pfx_netlink_sendmsg+0x10/0x10 [ 68.275817][ T5066] ? __import_iovec+0x536/0x820 [ 68.280735][ T5066] ? aa_sock_msg_perm+0x91/0x160 [ 68.285663][ T5066] ? bpf_lsm_socket_sendmsg+0x9/0x10 [ 68.291105][ T5066] ? security_socket_sendmsg+0x87/0xb0 [ 68.296548][ T5066] ? __pfx_netlink_sendmsg+0x10/0x10 [ 68.302003][ T5066] __sock_sendmsg+0x221/0x270 [ 68.306678][ T5066] ____sys_sendmsg+0x525/0x7d0 [ 68.311535][ T5066] ? __pfx_____sys_sendmsg+0x10/0x10 [ 68.316887][ T5066] ? do_raw_spin_lock+0x14f/0x370 [ 68.321900][ T5066] __sys_sendmsg+0x2b0/0x3a0 [ 68.326472][ T5066] ? __pfx___sys_sendmsg+0x10/0x10 [ 68.331599][ T5066] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 68.338168][ T5066] ? _raw_spin_unlock_irq+0x2e/0x50 [ 68.343349][ T5066] ? ptrace_notify+0x279/0x380 [ 68.348115][ T5066] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 68.354425][ T5066] ? do_syscall_64+0x10a/0x240 [ 68.359182][ T5066] ? syscall_trace_enter+0x5f/0x150 [ 68.364533][ T5066] do_syscall_64+0xfb/0x240 [ 68.369027][ T5066] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 68.374903][ T5066] RIP: 0033:0x7fc679eb6b09 [ 68.379387][ T5066] 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.399092][ T5066] RSP: 002b:00007ffd9de15338 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 68.407519][ T5066] RAX: ffffffffffffffda RBX: 00007fc679f043d3 RCX: 00007fc679eb6b09 [ 68.415488][ T5066] RDX: 0000000000000000 RSI: 0000000020000600 RDI: 0000000000000004 [ 68.423450][ T5066] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 [ 68.431502][ T5066] R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffd9de15370 [ 68.439486][ T5066] R13: 00007fc679f04004 R14: 00007ffd9de1535c R15: 0000000000000003 [ 68.447471][ T5066]