./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3090590598 <...> Warning: Permanently added '10.128.1.145' (ED25519) to the list of known hosts. execve("./syz-executor3090590598", ["./syz-executor3090590598"], 0x7ffc0ce91420 /* 10 vars */) = 0 brk(NULL) = 0x5555571b1000 brk(0x5555571b1d00) = 0x5555571b1d00 arch_prctl(ARCH_SET_FS, 0x5555571b1380) = 0 set_tid_address(0x5555571b1650) = 5071 set_robust_list(0x5555571b1660, 24) = 0 rseq(0x5555571b1ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3090590598", 4096) = 28 getrandom("\xca\xb0\x26\x00\xc1\x21\x08\x3c", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555571b1d00 brk(0x5555571d2d00) = 0x5555571d2d00 brk(0x5555571d3000) = 0x5555571d3000 mprotect(0x7f76b315d000, 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 5072 attached , child_tidptr=0x5555571b1650) = 5072 [pid 5072] set_robust_list(0x5555571b1660, 24) = 0 [pid 5072] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 5072] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5072] setsid() = 1 [pid 5072] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5072] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5072] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5072] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5072] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5072] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5072] unshare(CLONE_NEWNS) = 0 [pid 5072] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5072] unshare(CLONE_NEWIPC) = 0 [pid 5072] unshare(CLONE_NEWCGROUP) = 0 [pid 5072] unshare(CLONE_NEWUTS) = 0 [pid 5072] unshare(CLONE_SYSVSEM) = 0 [pid 5072] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5072] write(3, "16777216", 8) = 8 [pid 5072] close(3) = 0 [pid 5072] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5072] write(3, "536870912", 9) = 9 [pid 5072] close(3) = 0 [pid 5072] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5072] write(3, "1024", 4) = 4 [pid 5072] close(3) = 0 [pid 5072] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5072] write(3, "8192", 4) = 4 [pid 5072] close(3) = 0 [pid 5072] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5072] write(3, "1024", 4) = 4 [pid 5072] close(3) = 0 [pid 5072] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5072] write(3, "1024", 4) = 4 [pid 5072] close(3) = 0 [pid 5072] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5072] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5072] close(3) = 0 [pid 5072] getpid() = 1 [pid 5072] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<team_lock_key){+.+.}-{3:3}, at: team_port_change_check+0x51/0x1e0 [ 68.180263][ T5072] [ 68.180263][ T5072] but task is already holding lock: [ 68.187607][ T5072] ffff8880205e8d00 (team->team_lock_key){+.+.}-{3:3}, at: team_add_slave+0xad/0x2750 [ 68.197155][ T5072] [ 68.197155][ T5072] other info that might help us debug this: [ 68.205199][ T5072] Possible unsafe locking scenario: [ 68.205199][ T5072] [ 68.212635][ T5072] CPU0 [ 68.215989][ T5072] ---- [ 68.219313][ T5072] lock(team->team_lock_key); [ 68.224067][ T5072] lock(team->team_lock_key); [ 68.228823][ T5072] [ 68.228823][ T5072] *** DEADLOCK *** [ 68.228823][ T5072] [ 68.236951][ T5072] May be due to missing lock nesting notation [ 68.236951][ T5072] [ 68.245254][ T5072] 2 locks held by syz-executor309/5072: [ 68.250781][ T5072] #0: ffffffff8f375cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x82c/0x1040 [ 68.260269][ T5072] #1: ffff8880205e8d00 (team->team_lock_key){+.+.}-{3:3}, at: team_add_slave+0xad/0x2750 [ 68.270181][ T5072] [ 68.270181][ T5072] stack backtrace: [ 68.276051][ T5072] CPU: 1 PID: 5072 Comm: syz-executor309 Not tainted 6.8.0-rc6-syzkaller-00146-g4daa873133d3 #0 [ 68.286620][ T5072] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 [ 68.296671][ T5072] Call Trace: [ 68.299938][ T5072] [ 68.302858][ T5072] dump_stack_lvl+0x1e7/0x2e0 [ 68.307545][ T5072] ? __pfx_dump_stack_lvl+0x10/0x10 [ 68.312921][ T5072] ? print_deadlock_bug+0x479/0x620 [ 68.318110][ T5072] ? _find_first_zero_bit+0xd4/0x100 [ 68.323435][ T5072] validate_chain+0x15c0/0x58e0 [ 68.328275][ T5072] ? _raw_spin_unlock_irqrestore+0x8f/0x140 [ 68.334170][ T5072] ? __wake_up_common_lock+0x18c/0x1e0 [ 68.339620][ T5072] ? __pfx_validate_chain+0x10/0x10 [ 68.344809][ T5072] ? consume_skb+0xc6/0x160 [ 68.349304][ T5072] ? netlink_broadcast_filtered+0x1259/0x1290 [ 68.355373][ T5072] ? nlmsg_notify+0xfb/0x1c0 [ 68.359949][ T5072] ? nlmsg_notify+0x15a/0x1c0 [ 68.364613][ T5072] ? rtmsg_fib+0x3a3/0x630 [ 68.369017][ T5072] ? mark_lock+0x9a/0x350 [ 68.373345][ T5072] ? __pfx_rtmsg_fib+0x10/0x10 [ 68.378106][ T5072] __lock_acquire+0x1345/0x1fd0 [ 68.383043][ T5072] lock_acquire+0x1e3/0x530 [ 68.387541][ T5072] ? team_port_change_check+0x51/0x1e0 [ 68.393000][ T5072] ? __pfx_lock_acquire+0x10/0x10 [ 68.398018][ T5072] ? neigh_lookup+0xb1/0x500 [ 68.402601][ T5072] ? __pfx___might_resched+0x10/0x10 [ 68.408225][ T5072] ? __pfx_cfg80211_netdev_notifier_call+0x10/0x10 [ 68.414720][ T5072] ? __pfx_arp_key_eq+0x10/0x10 [ 68.419661][ T5072] __mutex_lock+0x136/0xd70 [ 68.424158][ T5072] ? team_port_change_check+0x51/0x1e0 [ 68.429613][ T5072] ? neigh_lookup+0xb1/0x500 [ 68.434281][ T5072] ? __pfx_neigh_lookup+0x10/0x10 [ 68.439305][ T5072] ? bond_netdev_event+0xdd/0xf20 [ 68.444319][ T5072] ? team_port_change_check+0x51/0x1e0 [ 68.449772][ T5072] ? __pfx___mutex_lock+0x10/0x10 [ 68.454799][ T5072] ? __asan_memset+0x23/0x50 [ 68.459383][ T5072] team_port_change_check+0x51/0x1e0 [ 68.464666][ T5072] team_device_event+0x4e9/0x5b0 [ 68.469598][ T5072] ? notifier_call_chain+0x166/0x3b0 [ 68.474877][ T5072] notifier_call_chain+0x18f/0x3b0 [ 68.479984][ T5072] __dev_notify_flags+0x207/0x400 [ 68.485008][ T5072] ? dev_set_rx_mode+0xb8/0x2e0 [ 68.489845][ T5072] ? __pfx___dev_notify_flags+0x10/0x10 [ 68.495378][ T5072] ? __dev_change_flags+0x515/0x6f0 [ 68.500563][ T5072] ? __pfx___dev_change_flags+0x10/0x10 [ 68.506097][ T5072] ? dsa_user_netdevice_event+0x71c/0x2970 [ 68.511907][ T5072] dev_change_flags+0xf0/0x1a0 [ 68.516660][ T5072] vlan_device_event+0x1b81/0x1de0 [ 68.521849][ T5072] ? rt6_multipath_rebalance+0x820/0x880 [ 68.527644][ T5072] ? br_device_event+0x148/0x970 [ 68.533310][ T5072] ? __pfx_phonet_device_notify+0x10/0x10 [ 68.539022][ T5072] ? __pfx_vlan_device_event+0x10/0x10 [ 68.544470][ T5072] ? __pfx_br_device_event+0x10/0x10 [ 68.549745][ T5072] ? raw_notifier+0x9d/0x740 [ 68.554333][ T5072] ? isotp_notifier+0xa4/0x6b0 [ 68.559097][ T5072] ? cgw_notifier+0xd8/0x3b0 [ 68.563678][ T5072] ? packet_notifier+0x76/0xa30 [ 68.568524][ T5072] notifier_call_chain+0x18f/0x3b0 [ 68.573632][ T5072] dev_open+0x13a/0x1b0 [ 68.577786][ T5072] ? __pfx_dev_open+0x10/0x10 [ 68.582459][ T5072] ? team_add_slave+0x8a0/0x2750 [ 68.587389][ T5072] team_add_slave+0x9b3/0x2750 [ 68.592153][ T5072] ? __pfx___dev_notify_flags+0x10/0x10 [ 68.597688][ T5072] ? __dev_change_flags+0x515/0x6f0 [ 68.602898][ T5072] ? __pfx_team_add_slave+0x10/0x10 [ 68.608105][ T5072] ? __pfx___dev_change_flags+0x10/0x10 [ 68.613733][ T5072] ? vprintk_emit+0x607/0x720 [ 68.618402][ T5072] ? mutex_is_locked+0x12/0x50 [ 68.623156][ T5072] do_setlink+0xe58/0x41c0 [ 68.627572][ T5072] ? __nla_validate_parse+0x4e4/0x2f70 [ 68.633024][ T5072] ? __pfx__printk+0x10/0x10 [ 68.637608][ T5072] ? validate_chain+0x11b/0x58e0 [ 68.642535][ T5072] ? __pfx_do_setlink+0x10/0x10 [ 68.647375][ T5072] ? __nla_validate_parse+0x2599/0x2f70 [ 68.652919][ T5072] ? __pfx___nla_validate_parse+0x10/0x10 [ 68.658717][ T5072] ? __pfx_validate_chain+0x10/0x10 [ 68.664001][ T5072] ? __pfx_lock_acquire+0x10/0x10 [ 68.669101][ T5072] ? validate_linkmsg+0x71e/0x900 [ 68.674115][ T5072] rtnl_setlink+0x40d/0x5a0 [ 68.678605][ T5072] ? mark_lock+0x9a/0x350 [ 68.682919][ T5072] ? __pfx_rtnl_setlink+0x10/0x10 [ 68.687933][ T5072] ? kernel_text_address+0xa7/0xe0 [ 68.693074][ T5072] ? rcu_read_unlock+0x8c/0xa0 [ 68.697827][ T5072] ? __pfx___mutex_lock+0x10/0x10 [ 68.702852][ T5072] ? __pfx_rtnl_setlink+0x10/0x10 [ 68.707864][ T5072] rtnetlink_rcv_msg+0x885/0x1040 [ 68.712882][ T5072] ? rtnetlink_rcv_msg+0x208/0x1040 [ 68.718068][ T5072] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 68.723519][ T5072] ? lockdep_hardirqs_on_prepare+0x43c/0x780 [ 68.729492][ T5072] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 68.735811][ T5072] ? __local_bh_enable_ip+0x168/0x200 [ 68.741178][ T5072] ? lockdep_hardirqs_on+0x98/0x140 [ 68.746367][ T5072] ? __local_bh_enable_ip+0x168/0x200 [ 68.751728][ T5072] ? __dev_queue_xmit+0x2c4/0x3b10 [ 68.756828][ T5072] ? __pfx___local_bh_enable_ip+0x10/0x10 [ 68.762548][ T5072] ? __dev_queue_xmit+0x2c4/0x3b10 [ 68.767645][ T5072] ? __dev_queue_xmit+0x15fd/0x3b10 [ 68.772835][ T5072] ? __dev_queue_xmit+0x2c4/0x3b10 [ 68.777938][ T5072] ? ref_tracker_free+0x643/0x7e0 [ 68.782957][ T5072] netlink_rcv_skb+0x1e3/0x430 [ 68.787711][ T5072] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 68.798051][ T5072] ? __pfx_netlink_rcv_skb+0x10/0x10 [ 68.803434][ T5072] ? netlink_deliver_tap+0x2e/0x1b0 [ 68.808623][ T5072] netlink_unicast+0x7ea/0x980 [ 68.813384][ T5072] ? __pfx_netlink_unicast+0x10/0x10 [ 68.818664][ T5072] ? __virt_addr_valid+0x44e/0x520 [ 68.823765][ T5072] ? __phys_addr_symbol+0x2f/0x70 [ 68.828776][ T5072] ? __check_object_size+0x4bb/0xa00 [ 68.834047][ T5072] ? bpf_lsm_netlink_send+0x9/0x10 [ 68.839150][ T5072] netlink_sendmsg+0xa3b/0xd70 [ 68.843907][ T5072] ? __pfx_netlink_sendmsg+0x10/0x10 [ 68.849183][ T5072] ? aa_sock_msg_perm+0x91/0x160 [ 68.854116][ T5072] ? bpf_lsm_socket_sendmsg+0x9/0x10 [ 68.859410][ T5072] ? security_socket_sendmsg+0x87/0xb0 [ 68.864881][ T5072] ? __pfx_netlink_sendmsg+0x10/0x10 [ 68.870186][ T5072] __sock_sendmsg+0x221/0x270 [ 68.874911][ T5072] sock_write_iter+0x2dd/0x400 [ 68.879683][ T5072] ? __pfx_sock_write_iter+0x10/0x10 [ 68.884973][ T5072] ? __lock_acquire+0x1345/0x1fd0 [ 68.889997][ T5072] do_iter_readv_writev+0x46c/0x640 [ 68.895279][ T5072] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 68.900991][ T5072] ? bpf_lsm_file_permission+0x9/0x10 [ 68.906382][ T5072] ? security_file_permission+0x7f/0xa0 [ 68.911921][ T5072] ? rw_verify_area+0x1d2/0x580 [ 68.916764][ T5072] vfs_writev+0x395/0xbb0 [ 68.921117][ T5072] ? __pfx_vfs_writev+0x10/0x10 [ 68.925975][ T5072] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 68.932305][ T5072] ? _raw_spin_unlock_irq+0x23/0x50 [ 68.937502][ T5072] ? lockdep_hardirqs_on+0x98/0x140 [ 68.942707][ T5072] ? __fdget_pos+0x1a1/0x320 [ 68.947280][ T5072] do_writev+0x1b1/0x350 [ 68.951516][ T5072] ? __pfx_do_writev+0x10/0x10 [ 68.956266][ T5072] ? do_syscall_64+0x108/0x240 [ 68.961024][ T5072] ? syscall_trace_enter+0x5e/0x150 [ 68.966304][ T5072] do_syscall_64+0xf9/0x240 [ 68.970802][ T5072] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 68.976694][ T5072] RIP: 0033:0x7f76b30e4a89 [ 68.981099][ T5072] 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 [ 69.000695][ T5072] RSP: 002b:00007ffd73112158 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 [ 69.009097][ T5072] RAX: ffffffffffffffda RBX: 00007f76b31323d3 RCX: 00007f76b30e4a89 [ 69.017057][ T5072] RDX: 0000000000000001 RSI: 0000000020000040 RDI: 0000000000000004 [ 69.025015][ T5072] RBP: 00007ffd73112180 R08: 0000000000000001 R09: 0000000000000001 [ 69.032973][ T5072] R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffd73112190 [ 69.040935][ T5072] R13: 00007f76b3132004 R14: 00007ffd7311217c R15: 0000000000000003 [ 69.048908][ T5072] [ 76.959401][ T8] cfg80211: failed to load regulatory.db