Warning: Permanently added '10.128.1.173' (ED25519) to the list of known hosts. executing program executing program [ 41.996068][ T3503] [ 41.998416][ T3503] ============================================ [ 42.004544][ T3503] WARNING: possible recursive locking detected [ 42.010670][ T3503] 5.15.153-syzkaller #0 Not tainted [ 42.015840][ T3503] -------------------------------------------- [ 42.021963][ T3503] syz-executor289/3503 is trying to acquire lock: [ 42.028350][ T3503] ffff88807874edb8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 42.037215][ T3503] [ 42.037215][ T3503] but task is already holding lock: [ 42.044557][ T3503] ffff88807874f1b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 42.053401][ T3503] [ 42.053401][ T3503] other info that might help us debug this: [ 42.061449][ T3503] Possible unsafe locking scenario: [ 42.061449][ T3503] [ 42.068874][ T3503] CPU0 [ 42.072129][ T3503] ---- [ 42.075387][ T3503] lock(&trie->lock); [ 42.079432][ T3503] lock(&trie->lock); [ 42.083476][ T3503] [ 42.083476][ T3503] *** DEADLOCK *** [ 42.083476][ T3503] [ 42.091593][ T3503] May be due to missing lock nesting notation [ 42.091593][ T3503] [ 42.099885][ T3503] 5 locks held by syz-executor289/3503: [ 42.105403][ T3503] #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.114690][ T3503] #1: ffff88807874f1b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 42.123975][ T3503] #2: ffff8880b9b27e78 (krc.lock){....}-{2:2}, at: kvfree_call_rcu+0x1b5/0x8a0 [ 42.132997][ T3503] #3: ffff8880b9b28098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 42.142280][ T3503] #4: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.151559][ T3503] [ 42.151559][ T3503] stack backtrace: [ 42.157432][ T3503] CPU: 1 PID: 3503 Comm: syz-executor289 Not tainted 5.15.153-syzkaller #0 [ 42.166008][ T3503] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 42.176049][ T3503] Call Trace: [ 42.179319][ T3503] [ 42.182237][ T3503] dump_stack_lvl+0x1e3/0x2cb [ 42.186899][ T3503] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 42.192512][ T3503] ? panic+0x84d/0x84d [ 42.196566][ T3503] validate_chain+0x46d2/0x5930 [ 42.201402][ T3503] ? add_chain_block+0x850/0x850 [ 42.206323][ T3503] ? lockdep_unlock+0x166/0x300 [ 42.211152][ T3503] ? reacquire_held_locks+0x660/0x660 [ 42.216501][ T3503] ? lockdep_unlock+0x166/0x300 [ 42.221332][ T3503] ? lockdep_lock+0x2a0/0x2a0 [ 42.225990][ T3503] ? look_up_lock_class+0x77/0x120 [ 42.231083][ T3503] ? register_lock_class+0x100/0x9a0 [ 42.236347][ T3503] ? is_dynamic_key+0x1f0/0x1f0 [ 42.241176][ T3503] ? mark_lock+0x98/0x340 [ 42.245486][ T3503] __lock_acquire+0x1295/0x1ff0 [ 42.250318][ T3503] lock_acquire+0x1db/0x4f0 [ 42.254799][ T3503] ? trie_delete_elem+0x90/0x690 [ 42.259716][ T3503] ? mark_lock+0x98/0x340 [ 42.264024][ T3503] ? read_lock_is_recursive+0x10/0x10 [ 42.269373][ T3503] ? __lock_acquire+0x1295/0x1ff0 [ 42.274382][ T3503] _raw_spin_lock_irqsave+0xd1/0x120 [ 42.279649][ T3503] ? trie_delete_elem+0x90/0x690 [ 42.284566][ T3503] ? _raw_spin_lock+0x40/0x40 [ 42.289219][ T3503] ? read_lock_is_recursive+0x10/0x10 [ 42.294573][ T3503] trie_delete_elem+0x90/0x690 [ 42.299316][ T3503] ? __cant_sleep+0x270/0x270 [ 42.303970][ T3503] ? do_raw_spin_lock+0x14a/0x370 [ 42.308977][ T3503] ? __lock_acquire+0x1ff0/0x1ff0 [ 42.313992][ T3503] bpf_prog_2c29ac5cdc6b1842+0x3a/0x288 [ 42.319518][ T3503] bpf_trace_run3+0x1d1/0x380 [ 42.324174][ T3503] ? bpf_trace_run2+0x340/0x340 [ 42.329001][ T3503] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 42.334872][ T3503] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 42.340308][ T3503] ? _raw_spin_lock+0x40/0x40 [ 42.344966][ T3503] enqueue_timer+0x3ae/0x540 [ 42.349542][ T3503] __mod_timer+0xa60/0xeb0 [ 42.353943][ T3503] ? mod_timer_pending+0x20/0x20 [ 42.358862][ T3503] ? read_lock_is_recursive+0x10/0x10 [ 42.364210][ T3503] ? __queue_delayed_work+0x16b/0x210 [ 42.369560][ T3503] queue_delayed_work_on+0x156/0x250 [ 42.374822][ T3503] ? delayed_work_timer_fn+0x80/0x80 [ 42.380085][ T3503] ? __rwlock_init+0x140/0x140 [ 42.384831][ T3503] kvfree_call_rcu+0x50e/0x8a0 [ 42.389575][ T3503] ? _raw_spin_lock_irqsave+0xac/0x120 [ 42.395014][ T3503] ? call_rcu+0xa70/0xa70 [ 42.399321][ T3503] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 42.404756][ T3503] ? _raw_spin_lock+0x40/0x40 [ 42.409412][ T3503] ? read_lock_is_recursive+0x10/0x10 [ 42.414760][ T3503] ? longest_prefix_match+0x49b/0x640 [ 42.420114][ T3503] trie_delete_elem+0x520/0x690 [ 42.424950][ T3503] bpf_prog_2c29ac5cdc6b1842+0x3a/0xc08 [ 42.430476][ T3503] bpf_trace_run3+0x1d1/0x380 [ 42.435134][ T3503] ? bpf_trace_run2+0x340/0x340 [ 42.439965][ T3503] ? rcuwait_wake_up+0x1b2/0x1f0 [ 42.444886][ T3503] __bpf_trace_rss_stat+0x94/0xc0 [ 42.449890][ T3503] mm_trace_rss_stat+0x188/0x1f0 [ 42.454806][ T3503] sync_mm_rss+0x9b/0x420 [ 42.459118][ T3503] do_exit+0x2c9/0x2480 [ 42.463256][ T3503] ? __context_tracking_exit+0x4c/0x80 [ 42.468693][ T3503] ? __lock_acquire+0x1ff0/0x1ff0 [ 42.473697][ T3503] ? put_task_struct+0x80/0x80 [ 42.478439][ T3503] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 42.484398][ T3503] ? vtime_user_exit+0x2d1/0x400 [ 42.489318][ T3503] do_group_exit+0x144/0x310 [ 42.493889][ T3503] __x64_sys_exit_group+0x3b/0x40 [ 42.498894][ T3503] do_syscall_64+0x3d/0xb0 [ 42.503292][ T3503] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 42.509168][ T3503] RIP: 0033:0x7ff2ac7fb439 [ 42.513569][ T3503] Code: 90 49 c7 c0 b8 ff ff ff be e7 00 00 00 ba 3c 00 00 00 eb 12 0f 1f 44 00 00 89 d0 0f 05 48 3d 00 f0 ff ff 77 1c f4 89 f0 0f 05 <48> 3d 00 f0 ff ff 76 e7 f7 d8 64 41 89 00 eb df 0f 1f 80 00 00 00 [ 42.533151][ T3503] RSP: 002b:00007ffcc644f2a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 executing program executing program executing program executing program executing program executing program [ 42.541545][ T3503] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff2ac7fb439 [ 42.549494][ T3503] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 [ 42.557444][ T3503] RBP: 00007ff2ac8762d0 R08: ffffffffffffffb8 R09: 00000000000000a0 [ 42.565394][ T3503] R10: 00000000000000a0 R11: 0000000000000246 R12: 00007ff2ac8762d0 [ 42.573345][ T3503] R13: 0000000000000000 R14: 00007ff2ac876d40 R15: 00007ff2ac7cc5c0 [ 42.581299][ T3503] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program