Warning: Permanently added '10.128.1.27' (ED25519) to the list of known hosts. executing program [ 59.832312][ T3550] [ 59.834690][ T3550] ============================================ [ 59.840842][ T3550] WARNING: possible recursive locking detected [ 59.846977][ T3550] 6.1.83-syzkaller #0 Not tainted [ 59.851991][ T3550] -------------------------------------------- [ 59.858143][ T3550] syz-executor389/3550 is trying to acquire lock: [ 59.864555][ T3550] ffff88807be5f238 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 59.873444][ T3550] [ 59.873444][ T3550] but task is already holding lock: [ 59.880797][ T3550] ffff88807be5fa38 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 59.889663][ T3550] [ 59.889663][ T3550] other info that might help us debug this: [ 59.897704][ T3550] Possible unsafe locking scenario: [ 59.897704][ T3550] [ 59.905140][ T3550] CPU0 [ 59.908405][ T3550] ---- [ 59.911686][ T3550] lock(&trie->lock); [ 59.915744][ T3550] lock(&trie->lock); [ 59.919818][ T3550] [ 59.919818][ T3550] *** DEADLOCK *** [ 59.919818][ T3550] [ 59.927964][ T3550] May be due to missing lock nesting notation [ 59.927964][ T3550] [ 59.936269][ T3550] 9 locks held by syz-executor389/3550: [ 59.941900][ T3550] #0: ffffffff8d1c5290 (dup_mmap_sem){.+.+}-{0:0}, at: copy_mm+0x3cb/0x1990 [ 59.950697][ T3550] #1: ffff8880290897d8 (&mm->mmap_lock){++++}-{3:3}, at: copy_mm+0x3e5/0x1990 [ 59.959660][ T3550] #2: ffff888029089058 (&mm->mmap_lock/1){+.+.}-{3:3}, at: copy_mm+0x4ca/0x1990 [ 59.968813][ T3550] #3: ffff888022305b58 (ptlock_ptr(page)#2){+.+.}-{2:2}, at: copy_page_range+0x1148/0x4660 [ 59.978918][ T3550] #4: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run3+0x146/0x440 [ 59.988322][ T3550] #5: ffff88807be5fa38 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 59.997627][ T3550] #6: ffff8880b9928118 (krc.lock){....}-{2:2}, at: kvfree_call_rcu+0x1b2/0x8c0 [ 60.006662][ T3550] #7: ffff8880b9928358 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 60.015958][ T3550] #8: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run3+0x146/0x440 [ 60.025346][ T3550] [ 60.025346][ T3550] stack backtrace: [ 60.031216][ T3550] CPU: 1 PID: 3550 Comm: syz-executor389 Not tainted 6.1.83-syzkaller #0 [ 60.039613][ T3550] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 60.049661][ T3550] Call Trace: [ 60.052931][ T3550] [ 60.055855][ T3550] dump_stack_lvl+0x1e3/0x2cb [ 60.060543][ T3550] ? nf_tcp_handle_invalid+0x642/0x642 [ 60.066009][ T3550] ? panic+0x75d/0x75d [ 60.070073][ T3550] validate_chain+0x4711/0x5950 [ 60.074920][ T3550] ? check_path+0x21/0x40 [ 60.079252][ T3550] ? lockdep_unlock+0x165/0x300 [ 60.084096][ T3550] ? reacquire_held_locks+0x660/0x660 [ 60.089462][ T3550] ? lockdep_unlock+0x165/0x300 [ 60.094329][ T3550] ? lockdep_lock+0x2a0/0x2a0 [ 60.099000][ T3550] ? unwind_next_frame+0x1a3f/0x2220 [ 60.104278][ T3550] ? validate_chain+0x13ce/0x5950 [ 60.109300][ T3550] ? look_up_lock_class+0x77/0x140 [ 60.114403][ T3550] ? register_lock_class+0x100/0x990 [ 60.119703][ T3550] ? is_dynamic_key+0x260/0x260 [ 60.124551][ T3550] ? mark_lock+0x9a/0x340 [ 60.128876][ T3550] __lock_acquire+0x125b/0x1f80 [ 60.133732][ T3550] lock_acquire+0x1f8/0x5a0 [ 60.138230][ T3550] ? trie_delete_elem+0x90/0x690 [ 60.143166][ T3550] ? read_lock_is_recursive+0x10/0x10 [ 60.148546][ T3550] ? __lock_acquire+0x125b/0x1f80 [ 60.153588][ T3550] _raw_spin_lock_irqsave+0xd1/0x120 [ 60.158866][ T3550] ? trie_delete_elem+0x90/0x690 [ 60.163800][ T3550] ? _raw_spin_lock+0x40/0x40 [ 60.168485][ T3550] ? read_lock_is_recursive+0x10/0x10 [ 60.173854][ T3550] trie_delete_elem+0x90/0x690 [ 60.178615][ T3550] ? __cant_sleep+0x270/0x270 [ 60.183297][ T3550] ? __lock_acquire+0x1f80/0x1f80 [ 60.188327][ T3550] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 60.193773][ T3550] bpf_trace_run3+0x231/0x440 [ 60.198439][ T3550] ? bpf_trace_run3+0x146/0x440 [ 60.203277][ T3550] ? bpf_trace_run2+0x410/0x410 [ 60.208116][ T3550] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 60.214035][ T3550] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 60.219486][ T3550] ? _raw_spin_lock+0x40/0x40 [ 60.224165][ T3550] enqueue_timer+0x440/0x600 [ 60.228749][ T3550] __mod_timer+0x92b/0xee0 [ 60.233160][ T3550] ? mod_timer_pending+0x20/0x20 [ 60.238089][ T3550] ? read_lock_is_recursive+0x10/0x10 [ 60.243458][ T3550] ? __queue_delayed_work+0x16b/0x210 [ 60.248826][ T3550] queue_delayed_work_on+0x156/0x250 [ 60.254105][ T3550] ? delayed_work_timer_fn+0x80/0x80 [ 60.259392][ T3550] ? llist_add_batch+0x1d0/0x1d0 [ 60.264399][ T3550] ? __phys_addr+0xb6/0x170 [ 60.268906][ T3550] kvfree_call_rcu+0x520/0x8c0 [ 60.273664][ T3550] ? rcu_leak_callback+0x10/0x10 [ 60.278593][ T3550] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 60.284050][ T3550] ? _raw_spin_lock+0x40/0x40 [ 60.288816][ T3550] ? longest_prefix_match+0x49b/0x640 [ 60.294198][ T3550] trie_delete_elem+0x520/0x690 [ 60.299050][ T3550] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 60.304526][ T3550] bpf_trace_run3+0x231/0x440 [ 60.309195][ T3550] ? bpf_trace_run3+0x146/0x440 [ 60.314034][ T3550] ? bpf_trace_run2+0x410/0x410 [ 60.318871][ T3550] ? copy_page_range+0x3c81/0x4660 [ 60.323987][ T3550] ? __lock_acquire+0x1f80/0x1f80 [ 60.329011][ T3550] __bpf_trace_rss_stat+0x94/0xc0 [ 60.334029][ T3550] mm_trace_rss_stat+0x1f4/0x280 [ 60.338958][ T3550] add_mm_rss_vec+0x110/0x260 [ 60.343632][ T3550] copy_page_range+0x3c96/0x4660 [ 60.348578][ T3550] ? pfn_valid+0x440/0x440 [ 60.352984][ T3550] ? mas_store+0x56d/0x6b0 [ 60.357395][ T3550] ? mas_empty_area_rev+0x17b0/0x17b0 [ 60.362777][ T3550] ? anon_vma_fork+0x51d/0x580 [ 60.367532][ T3550] copy_mm+0xf42/0x1990 [ 60.371688][ T3550] ? copy_signal+0x670/0x670 [ 60.376273][ T3550] ? lockdep_init_map_type+0x9d/0x900 [ 60.381648][ T3550] ? __init_rwsem+0x11e/0x160 [ 60.386315][ T3550] ? copy_signal+0x548/0x670 [ 60.390893][ T3550] copy_process+0x19d5/0x4060 [ 60.395594][ T3550] ? copy_process+0x9e1/0x4060 [ 60.400351][ T3550] ? idle_dummy+0x10/0x10 [ 60.404669][ T3550] ? handle_mm_fault+0x3717/0x5340 [ 60.409792][ T3550] ? mt_find+0x29a/0xc60 [ 60.414033][ T3550] kernel_clone+0x222/0x920 [ 60.418531][ T3550] ? create_io_thread+0x180/0x180 [ 60.423552][ T3550] __x64_sys_clone+0x231/0x280 [ 60.428312][ T3550] ? __do_sys_vfork+0x110/0x110 [ 60.433155][ T3550] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 60.439147][ T3550] ? syscall_enter_from_user_mode+0x2e/0x220 [ 60.445138][ T3550] ? lockdep_hardirqs_on+0x94/0x130 [ 60.450609][ T3550] ? syscall_enter_from_user_mode+0x2e/0x220 [ 60.456594][ T3550] do_syscall_64+0x3d/0xb0 [ 60.461017][ T3550] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 60.466946][ T3550] RIP: 0033:0x7f7c52f3a3b3 [ 60.471368][ T3550] Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 [ 60.490986][ T3550] RSP: 002b:00007ffc17e0baf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 [ 60.499398][ T3550] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7c52f3a3b3 [ 60.507391][ T3550] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 [ 60.515409][ T3550] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f7c52fbaaa0 [ 60.523375][ T3550] R10: 0000555556911650 R11: 0000000000000246 R12: 0000000000000001 executing program executing program executing program executing program executing program executing program [ 60.531335][ T3550] R13: 00007f7c52fb3800 R14: 00007ffc17e0bc20 R15: 00007ffc17e0bc10 [ 60.539316][ T3550] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program