./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2814126436 <...> Warning: Permanently added '10.128.1.107' (ED25519) to the list of known hosts. execve("./syz-executor2814126436", ["./syz-executor2814126436"], 0x7ffd5dc1ee80 /* 10 vars */) = 0 brk(NULL) = 0x55556b37a000 brk(0x55556b37ad00) = 0x55556b37ad00 arch_prctl(ARCH_SET_FS, 0x55556b37a380) = 0 set_tid_address(0x55556b37a650) = 5091 set_robust_list(0x55556b37a660, 24) = 0 rseq(0x55556b37aca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2814126436", 4096) = 28 getrandom("\xcb\xb6\x45\x75\x96\xa3\x6c\x3b", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556b37ad00 brk(0x55556b39bd00) = 0x55556b39bd00 brk(0x55556b39c000) = 0x55556b39c000 mprotect(0x7f292b55f000, 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 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556b37a650) = 5092 ./strace-static-x86_64: Process 5092 attached [pid 5092] set_robust_list(0x55556b37a660, 24) = 0 [pid 5092] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5092] setpgid(0, 0) = 0 [pid 5092] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5092] write(3, "1000", 4) = 4 [pid 5092] close(3) = 0 [pid 5092] bpf(BPF_MAP_CREATE, {map_type=BPF_MAP_TYPE_LPM_TRIE, key_size=5, value_size=2, max_entries=4, map_flags=BPF_F_NO_PREALLOC|BPF_F_NUMA_NODE, inner_map_fd=-1, numa_node=0, map_name="", map_ifindex=0, btf_fd=-1, btf_key_type_id=0, btf_value_type_id=0, btf_vmlinux_value_type_id=0, map_extra=0}, 72) = 3 [pid 5092] bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_RAW_TRACEPOINT, insn_cnt=12, insns=0x20000640, license="GPL", log_level=0, log_size=0, log_buf=NULL, kern_version=KERNEL_VERSION(0, 0, 0), prog_flags=0, prog_name="", prog_ifindex=0, expected_attach_type=BPF_CGROUP_INET_INGRESS, prog_btf_fd=-1, func_info_rec_size=0, func_info=NULL, func_info_cnt=0, line_info_rec_size=0, line_info=NULL, line_info_cnt=0, attach_btf_id=0, attach_prog_fd=0, fd_array=NULL}, 144) = 4 [pid 5092] bpf(BPF_RAW_TRACEPOINT_OPEN, {raw_tracepoint={name="timer_start", prog_fd=4}}, 16) = 5 [ 77.616810][ T5086] [ 77.619201][ T5086] ====================================================== [ 77.626233][ T5086] WARNING: possible circular locking dependency detected [ 77.633314][ T5086] 6.9.0-rc6-syzkaller-01461-g5829614a7b3b #0 Not tainted [ 77.640352][ T5086] ------------------------------------------------------ [ 77.647747][ T5086] sshd/5086 is trying to acquire lock: [ 77.653211][ T5086] ffff8880b9429430 (krc.lock){....}-{2:2}, at: kvfree_call_rcu+0x18a/0x790 [ 77.661867][ T5086] [ 77.661867][ T5086] but task is already holding lock: [ 77.669235][ T5086] ffff8880b942a718 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 [ 77.678122][ T5086] [ 77.678122][ T5086] which lock already depends on the new lock. [ 77.678122][ T5086] [ 77.688523][ T5086] [ 77.688523][ T5086] the existing dependency chain (in reverse order) is: [ 77.697533][ T5086] [ 77.697533][ T5086] -> #1 (&base->lock){-.-.}-{2:2}: [ 77.704847][ T5086] lock_acquire+0x1ed/0x550 [ 77.709880][ T5086] _raw_spin_lock_irqsave+0xd5/0x120 [ 77.715704][ T5086] lock_timer_base+0x112/0x240 [ 77.720993][ T5086] __mod_timer+0x1ca/0xeb0 [ 77.725932][ T5086] queue_delayed_work_on+0x15a/0x260 [ 77.731751][ T5086] kvfree_call_rcu+0x47f/0x790 [ 77.737042][ T5086] rtnl_register_internal+0x482/0x590 [ 77.742949][ T5086] rtnl_register+0x36/0x80 [ 77.747889][ T5086] ip_rt_init+0x2f5/0x3a0 [ 77.752757][ T5086] ip_init+0xe/0x20 [ 77.757098][ T5086] inet_init+0x3d8/0x580 [ 77.761951][ T5086] do_one_initcall+0x248/0x880 [ 77.767245][ T5086] do_initcall_level+0x157/0x210 [ 77.772711][ T5086] do_initcalls+0x3f/0x80 [ 77.777569][ T5086] kernel_init_freeable+0x435/0x5d0 [ 77.783291][ T5086] kernel_init+0x1d/0x2b0 [ 77.788141][ T5086] ret_from_fork+0x4b/0x80 [ 77.793091][ T5086] ret_from_fork_asm+0x1a/0x30 [ 77.798384][ T5086] [ 77.798384][ T5086] -> #0 (krc.lock){....}-{2:2}: [ 77.805431][ T5086] validate_chain+0x18cb/0x58e0 [ 77.810810][ T5086] __lock_acquire+0x1346/0x1fd0 [ 77.816187][ T5086] lock_acquire+0x1ed/0x550 [ 77.821214][ T5086] _raw_spin_lock+0x2e/0x40 [ 77.826248][ T5086] kvfree_call_rcu+0x18a/0x790 [ 77.831537][ T5086] trie_delete_elem+0x546/0x6a0 [ 77.836923][ T5086] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 77.842907][ T5086] bpf_trace_run2+0x2ec/0x540 [ 77.848109][ T5086] enqueue_timer+0x3ce/0x570 [ 77.853227][ T5086] __mod_timer+0x953/0xeb0 [ 77.858163][ T5086] sk_reset_timer+0x23/0xc0 [ 77.863196][ T5086] tcp_schedule_loss_probe+0x419/0x560 [ 77.869193][ T5086] tcp_write_xmit+0x42c9/0x69d0 [ 77.874604][ T5086] __tcp_push_pending_frames+0x9b/0x360 [ 77.880687][ T5086] tcp_sendmsg_locked+0x4313/0x4d70 [ 77.886437][ T5086] tcp_sendmsg+0x30/0x50 [ 77.891210][ T5086] __sock_sendmsg+0x1a6/0x270 [ 77.896418][ T5086] sock_write_iter+0x2dd/0x400 [ 77.901719][ T5086] vfs_write+0xa84/0xcb0 [ 77.906495][ T5086] ksys_write+0x1a0/0x2c0 [ 77.911354][ T5086] do_syscall_64+0xf5/0x240 [ 77.916386][ T5086] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.922804][ T5086] [ 77.922804][ T5086] other info that might help us debug this: [ 77.922804][ T5086] [ 77.933029][ T5086] Possible unsafe locking scenario: [ 77.933029][ T5086] [ 77.940509][ T5086] CPU0 CPU1 [ 77.945871][ T5086] ---- ---- [ 77.951233][ T5086] lock(&base->lock); [ 77.955309][ T5086] lock(krc.lock); [ 77.961642][ T5086] lock(&base->lock); [ 77.968238][ T5086] lock(krc.lock); [ 77.972051][ T5086] [ 77.972051][ T5086] *** DEADLOCK *** [ 77.972051][ T5086] [ 77.980195][ T5086] 3 locks held by sshd/5086: [ 77.984787][ T5086] #0: ffff88802df8b358 (sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sendmsg+0x22/0x50 [ 77.993947][ T5086] #1: ffff8880b942a718 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 [ 78.003357][ T5086] #2: ffffffff8e334ea0 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0x1fc/0x540 [ 78.012775][ T5086] [ 78.012775][ T5086] stack backtrace: [ 78.018663][ T5086] CPU: 0 PID: 5086 Comm: sshd Not tainted 6.9.0-rc6-syzkaller-01461-g5829614a7b3b #0 [ 78.028123][ T5086] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 78.038184][ T5086] Call Trace: [ 78.041469][ T5086] [ 78.044405][ T5086] dump_stack_lvl+0x241/0x360 [ 78.049097][ T5086] ? __pfx_dump_stack_lvl+0x10/0x10 [ 78.054309][ T5086] ? print_circular_bug+0x130/0x1a0 [ 78.059518][ T5086] check_noncircular+0x36a/0x4a0 [ 78.064491][ T5086] ? __pfx_check_noncircular+0x10/0x10 [ 78.069959][ T5086] ? lockdep_lock+0x123/0x2b0 [ 78.074642][ T5086] ? mark_lock+0x9a/0x350 [ 78.078987][ T5086] ? _find_first_zero_bit+0xd4/0x100 [ 78.084379][ T5086] validate_chain+0x18cb/0x58e0 [ 78.089256][ T5086] ? __pfx_validate_chain+0x10/0x10 [ 78.094468][ T5086] ? stack_depot_save_flags+0x6e4/0x830 [ 78.100020][ T5086] ? do_raw_spin_lock+0x14f/0x370 [ 78.105083][ T5086] ? __pfx_lock_release+0x10/0x10 [ 78.110206][ T5086] ? do_raw_spin_unlock+0x13c/0x8b0 [ 78.115445][ T5086] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 78.121374][ T5086] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 78.127740][ T5086] ? stack_trace_save+0x118/0x1d0 [ 78.132802][ T5086] ? mark_lock+0x9a/0x350 [ 78.137219][ T5086] __lock_acquire+0x1346/0x1fd0 [ 78.142099][ T5086] lock_acquire+0x1ed/0x550 [ 78.146679][ T5086] ? kvfree_call_rcu+0x18a/0x790 [ 78.151682][ T5086] ? __pfx_lock_acquire+0x10/0x10 [ 78.156909][ T5086] ? __phys_addr+0xba/0x170 [ 78.161432][ T5086] _raw_spin_lock+0x2e/0x40 [ 78.165972][ T5086] ? kvfree_call_rcu+0x18a/0x790 [ 78.170916][ T5086] kvfree_call_rcu+0x18a/0x790 [ 78.175697][ T5086] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 78.181636][ T5086] ? __pfx_kvfree_call_rcu+0x10/0x10 [ 78.186966][ T5086] ? longest_prefix_match+0x4bf/0x670 [ 78.192377][ T5086] trie_delete_elem+0x546/0x6a0 [ 78.197262][ T5086] ? bpf_trace_run2+0x1fc/0x540 [ 78.202135][ T5086] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 78.207600][ T5086] bpf_trace_run2+0x2ec/0x540 [ 78.212294][ T5086] ? __pfx_bpf_trace_run2+0x10/0x10 [ 78.217531][ T5086] ? __pfx_debug_object_activate+0x10/0x10 [ 78.223368][ T5086] enqueue_timer+0x3ce/0x570 [ 78.228071][ T5086] __mod_timer+0x953/0xeb0 [ 78.232521][ T5086] ? __pfx___mod_timer+0x10/0x10 [ 78.237468][ T5086] ? __asan_memset+0x23/0x50 [ 78.242167][ T5086] sk_reset_timer+0x23/0xc0 [ 78.246676][ T5086] tcp_schedule_loss_probe+0x419/0x560 [ 78.252162][ T5086] tcp_write_xmit+0x42c9/0x69d0 [ 78.257036][ T5086] ? _copy_from_iter+0x26b/0x1960 [ 78.262073][ T5086] ? __pfx_lock_release+0x10/0x10 [ 78.267106][ T5086] ? __alloc_skb+0x2d5/0x440 [ 78.271717][ T5086] __tcp_push_pending_frames+0x9b/0x360 [ 78.277284][ T5086] tcp_sendmsg_locked+0x4313/0x4d70 [ 78.282511][ T5086] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 78.288849][ T5086] ? __pfx_tcp_sendmsg_locked+0x10/0x10 [ 78.294401][ T5086] ? __local_bh_enable_ip+0x168/0x200 [ 78.299784][ T5086] ? do_raw_spin_unlock+0x13c/0x8b0 [ 78.305001][ T5086] tcp_sendmsg+0x30/0x50 [ 78.309255][ T5086] __sock_sendmsg+0x1a6/0x270 [ 78.313946][ T5086] sock_write_iter+0x2dd/0x400 [ 78.318727][ T5086] ? __pfx_sock_write_iter+0x10/0x10 [ 78.324033][ T5086] ? bpf_lsm_file_permission+0x9/0x10 [ 78.329416][ T5086] ? security_file_permission+0x7f/0xa0 [ 78.334975][ T5086] vfs_write+0xa84/0xcb0 [ 78.339242][ T5086] ? __pfx_vfs_write+0x10/0x10 [ 78.344073][ T5086] ? __set_current_blocked+0x310/0x380 [ 78.349574][ T5086] ? __might_fault+0xc6/0x120 [ 78.354298][ T5086] ? __fdget_pos+0x1a2/0x320 [ 78.358897][ T5086] ksys_write+0x1a0/0x2c0 [ 78.363248][ T5086] ? __pfx_ksys_write+0x10/0x10 [ 78.368115][ T5086] ? do_syscall_64+0x102/0x240 [ 78.372891][ T5086] ? do_syscall_64+0xb6/0x240 [ 78.377580][ T5086] do_syscall_64+0xf5/0x240 [ 78.382104][ T5086] ? clear_bhb_loop+0x35/0x90 [ 78.386804][ T5086] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 78.392703][ T5086] RIP: 0033:0x7fc5a6116bf2 [ 78.397145][ T5086] Code: 89 c7 48 89 44 24 08 e8 7b 34 fa ff 48 8b 44 24 08 48 83 c4 28 c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6f 48 8b 15 07 a2 0d 00 f7 d8 64 89 02 48 83 [ 78.416849][ T5086] RSP: 002b:00007ffc3f1c1528 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 78.425273][ T5086] RAX: ffffffffffffffda RBX: 000000000000008c RCX: 00007fc5a6116bf2 [ 78.433251][ T5086] RDX: 000000000000008c RSI: 000055bbd70a6960 RDI: 0000000000000004 [ 78.441224][ T5086] RBP: 000055bbd70af390 R08: 0000000000000000 R09: 0000000000000000 [ 78.449201][ T5086] R10: 0000000000000000 R11: 0000000000000246 R12: 000055bbae018aa4 [ 78.457179][ T5086] R13: 000000000000004d R14: 000055bbae0193e8 R15: 00007ffc3f1c1598 [ 78.465187][ T5086]