Warning: Permanently added '10.128.0.135' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 53.050304][ T4198] [ 53.052658][ T4198] ====================================================== [ 53.059653][ T4198] WARNING: possible circular locking dependency detected [ 53.066644][ T4198] 5.15.173-syzkaller #0 Not tainted [ 53.071814][ T4198] ------------------------------------------------------ [ 53.078813][ T4198] syz-executor184/4198 is trying to acquire lock: [ 53.085215][ T4198] ffff8880b9135c68 (lock){..-.}-{2:2}, at: local_lock_acquire+0x7/0x130 [ 53.093559][ T4198] [ 53.093559][ T4198] but task is already holding lock: [ 53.100903][ T4198] ffff8880717bc1b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 53.109772][ T4198] [ 53.109772][ T4198] which lock already depends on the new lock. [ 53.109772][ T4198] [ 53.120174][ T4198] [ 53.120174][ T4198] the existing dependency chain (in reverse order) is: [ 53.129160][ T4198] [ 53.129160][ T4198] -> #1 (&trie->lock){....}-{2:2}: [ 53.136425][ T4198] lock_acquire+0x1db/0x4f0 [ 53.141425][ T4198] _raw_spin_lock_irqsave+0xd1/0x120 [ 53.147219][ T4198] trie_delete_elem+0x90/0x690 [ 53.152490][ T4198] 0xffffffffa0018385 [ 53.156972][ T4198] bpf_trace_run1+0x168/0x2f0 [ 53.162146][ T4198] __bpf_trace_mm_page_free_batched+0x41/0x60 [ 53.168720][ T4198] free_unref_page_list+0x79b/0x8e0 [ 53.174428][ T4198] release_pages+0x1bb9/0x1f40 [ 53.179729][ T4198] tlb_finish_mmu+0x177/0x320 [ 53.184928][ T4198] exit_mmap+0x3cd/0x670 [ 53.189670][ T4198] __mmput+0x112/0x3b0 [ 53.194242][ T4198] exit_mm+0x688/0x7f0 [ 53.198813][ T4198] do_exit+0x626/0x2480 [ 53.203489][ T4198] do_group_exit+0x144/0x310 [ 53.208600][ T4198] __x64_sys_exit_group+0x3b/0x40 [ 53.214136][ T4198] do_syscall_64+0x3b/0xb0 [ 53.219052][ T4198] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 53.225449][ T4198] [ 53.225449][ T4198] -> #0 (lock){..-.}-{2:2}: [ 53.232118][ T4198] validate_chain+0x1649/0x5930 [ 53.237489][ T4198] __lock_acquire+0x1295/0x1ff0 [ 53.242837][ T4198] lock_acquire+0x1db/0x4f0 [ 53.247849][ T4198] local_lock_acquire+0x23/0x130 [ 53.253295][ T4198] get_page_from_freelist+0x3227/0x3d40 [ 53.259343][ T4198] __alloc_pages+0x272/0x700 [ 53.264430][ T4198] new_slab+0xbb/0x4b0 [ 53.269016][ T4198] ___slab_alloc+0x6f6/0xe10 [ 53.274133][ T4198] __kmalloc_node+0x1fa/0x390 [ 53.279308][ T4198] bpf_map_kmalloc_node+0xdb/0x160 [ 53.284918][ T4198] trie_update_elem+0x1cb/0xc00 [ 53.290266][ T4198] bpf_map_update_value+0x5d7/0x6c0 [ 53.295962][ T4198] generic_map_update_batch+0x54d/0x8b0 [ 53.302005][ T4198] bpf_map_do_batch+0x4d0/0x620 [ 53.307368][ T4198] __sys_bpf+0x55c/0x670 [ 53.312109][ T4198] __x64_sys_bpf+0x78/0x90 [ 53.317023][ T4198] do_syscall_64+0x3b/0xb0 [ 53.321937][ T4198] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 53.328347][ T4198] [ 53.328347][ T4198] other info that might help us debug this: [ 53.328347][ T4198] [ 53.338547][ T4198] Possible unsafe locking scenario: [ 53.338547][ T4198] [ 53.345972][ T4198] CPU0 CPU1 [ 53.351310][ T4198] ---- ---- [ 53.356648][ T4198] lock(&trie->lock); [ 53.360694][ T4198] lock(lock); [ 53.366647][ T4198] lock(&trie->lock); [ 53.373211][ T4198] lock(lock); [ 53.376652][ T4198] [ 53.376652][ T4198] *** DEADLOCK *** [ 53.376652][ T4198] [ 53.384765][ T4198] 2 locks held by syz-executor184/4198: [ 53.390301][ T4198] #0: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 53.399585][ T4198] #1: ffff8880717bc1b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 53.408870][ T4198] [ 53.408870][ T4198] stack backtrace: [ 53.414763][ T4198] CPU: 1 PID: 4198 Comm: syz-executor184 Not tainted 5.15.173-syzkaller #0 [ 53.423328][ T4198] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 53.433372][ T4198] Call Trace: [ 53.436634][ T4198] [ 53.439543][ T4198] dump_stack_lvl+0x1e3/0x2d0 [ 53.444202][ T4198] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 53.449824][ T4198] ? print_circular_bug+0x12b/0x1a0 [ 53.455020][ T4198] check_noncircular+0x2f8/0x3b0 [ 53.459940][ T4198] ? add_chain_block+0x850/0x850 [ 53.464880][ T4198] ? lockdep_lock+0x11f/0x2a0 [ 53.469542][ T4198] ? validate_chain+0x112/0x5930 [ 53.474463][ T4198] ? reacquire_held_locks+0x660/0x660 [ 53.479824][ T4198] validate_chain+0x1649/0x5930 [ 53.484665][ T4198] ? rcu_is_watching+0x11/0xa0 [ 53.489414][ T4198] ? __lock_acquire+0x1ff0/0x1ff0 [ 53.494435][ T4198] ? reacquire_held_locks+0x660/0x660 [ 53.499786][ T4198] ? deref_stack_reg+0xbe/0x110 [ 53.504626][ T4198] ? is_bpf_text_address+0x24f/0x260 [ 53.509904][ T4198] ? stack_trace_save+0x1c0/0x1c0 [ 53.514949][ T4198] ? __kernel_text_address+0x94/0x100 [ 53.520302][ T4198] ? unwind_get_return_address+0x49/0x80 [ 53.525919][ T4198] ? arch_stack_walk+0xf3/0x140 [ 53.530755][ T4198] ? mark_lock+0x98/0x340 [ 53.535064][ T4198] __lock_acquire+0x1295/0x1ff0 [ 53.540425][ T4198] lock_acquire+0x1db/0x4f0 [ 53.544911][ T4198] ? local_lock_acquire+0x7/0x130 [ 53.549917][ T4198] ? lockdep_lock+0x2a0/0x2a0 [ 53.554588][ T4198] ? read_lock_is_recursive+0x10/0x10 [ 53.559940][ T4198] ? validate_chain+0x13bd/0x5930 [ 53.564947][ T4198] ? __zone_watermark_ok+0x90/0x3f0 [ 53.570124][ T4198] local_lock_acquire+0x23/0x130 [ 53.575039][ T4198] ? local_lock_acquire+0x7/0x130 [ 53.580218][ T4198] get_page_from_freelist+0x3227/0x3d40 [ 53.585771][ T4198] ? rcu_lock_release+0x5/0x20 [ 53.590521][ T4198] ? __alloc_pages+0x700/0x700 [ 53.595282][ T4198] ? prepare_alloc_pages+0x1db/0x5b0 [ 53.600546][ T4198] __alloc_pages+0x272/0x700 [ 53.605114][ T4198] ? __rmqueue_pcplist+0x23a0/0x23a0 [ 53.610398][ T4198] ? __lock_acquire+0x1ff0/0x1ff0 [ 53.615400][ T4198] ? alloc_pages+0x458/0x570 [ 53.619969][ T4198] new_slab+0xbb/0x4b0 [ 53.624035][ T4198] ___slab_alloc+0x6f6/0xe10 [ 53.628619][ T4198] ? bpf_map_kmalloc_node+0xdb/0x160 [ 53.633911][ T4198] __kmalloc_node+0x1fa/0x390 [ 53.638586][ T4198] ? bpf_map_kmalloc_node+0xdb/0x160 [ 53.643857][ T4198] ? _raw_spin_lock+0x40/0x40 [ 53.648513][ T4198] bpf_map_kmalloc_node+0xdb/0x160 [ 53.653606][ T4198] trie_update_elem+0x1cb/0xc00 [ 53.658459][ T4198] ? __lock_acquire+0x1ff0/0x1ff0 [ 53.663468][ T4198] bpf_map_update_value+0x5d7/0x6c0 [ 53.668655][ T4198] generic_map_update_batch+0x54d/0x8b0 [ 53.674197][ T4198] ? rcu_read_unlock+0x90/0x90 [ 53.678939][ T4198] ? __fdget+0x158/0x220 [ 53.683161][ T4198] ? rcu_read_unlock+0x90/0x90 [ 53.687929][ T4198] bpf_map_do_batch+0x4d0/0x620 [ 53.692762][ T4198] __sys_bpf+0x55c/0x670 [ 53.696989][ T4198] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 53.702344][ T4198] ? syscall_enter_from_user_mode+0x2e/0x240 [ 53.708301][ T4198] ? lockdep_hardirqs_on+0x94/0x130 [ 53.713480][ T4198] __x64_sys_bpf+0x78/0x90 [ 53.717914][ T4198] do_syscall_64+0x3b/0xb0 [ 53.722313][ T4198] ? clear_bhb_loop+0x15/0x70 [ 53.726967][ T4198] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 53.732843][ T4198] RIP: 0033:0x7f3fca205df9 [ 53.737240][ T4198] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 53.756826][ T4198] RSP: 002b:00007fff75b92868 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 53.765213][ T4198] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3fca205df9 [ 53.773166][ T4198] RDX: 0000000000000038 RSI: 0000000020000340 RDI: 000000000000001a [ 53.781125][ T4198] RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006 [ 53.789092][ T4198] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000 executing program executing program [ 53.797038][ T4198] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 [ 53.805009][ T4198] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program