Warning: Permanently added '10.128.1.207' (ED25519) to the list of known hosts. executing program [ 55.035833][ T3566] [ 55.038269][ T3566] ============================================ [ 55.044411][ T3566] WARNING: possible recursive locking detected [ 55.050542][ T3566] 5.15.165-syzkaller #0 Not tainted [ 55.055718][ T3566] -------------------------------------------- [ 55.061848][ T3566] syz-executor325/3566 is trying to acquire lock: [ 55.068260][ T3566] ffff88807d2619b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 55.077139][ T3566] [ 55.077139][ T3566] but task is already holding lock: [ 55.084509][ T3566] ffff88807d261db8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 55.093402][ T3566] [ 55.093402][ T3566] other info that might help us debug this: [ 55.101448][ T3566] Possible unsafe locking scenario: [ 55.101448][ T3566] [ 55.108881][ T3566] CPU0 [ 55.112144][ T3566] ---- [ 55.115427][ T3566] lock(&trie->lock); [ 55.119483][ T3566] lock(&trie->lock); [ 55.123544][ T3566] [ 55.123544][ T3566] *** DEADLOCK *** [ 55.123544][ T3566] [ 55.131665][ T3566] May be due to missing lock nesting notation [ 55.131665][ T3566] [ 55.139969][ T3566] 3 locks held by syz-executor325/3566: [ 55.145514][ T3566] #0: ffffffff8c91fbe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 55.154813][ T3566] #1: ffff88807d261db8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 55.164110][ T3566] #2: ffffffff8c91fbe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 55.173437][ T3566] [ 55.173437][ T3566] stack backtrace: [ 55.179341][ T3566] CPU: 0 PID: 3566 Comm: syz-executor325 Not tainted 5.15.165-syzkaller #0 [ 55.187913][ T3566] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 55.198054][ T3566] Call Trace: [ 55.201327][ T3566] [ 55.204243][ T3566] dump_stack_lvl+0x1e3/0x2d0 [ 55.208931][ T3566] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 55.214551][ T3566] ? panic+0x860/0x860 [ 55.218612][ T3566] validate_chain+0x46d2/0x5930 [ 55.223452][ T3566] ? __lock_acquire+0x1295/0x1ff0 [ 55.228467][ T3566] ? reacquire_held_locks+0x660/0x660 [ 55.233831][ T3566] ? look_up_lock_class+0x77/0x120 [ 55.238930][ T3566] ? register_lock_class+0x100/0x9a0 [ 55.244202][ T3566] ? rcu_lock_release+0x5/0x20 [ 55.248950][ T3566] ? validate_chain+0x112/0x5930 [ 55.253872][ T3566] ? is_dynamic_key+0x1f0/0x1f0 [ 55.258706][ T3566] ? mark_lock+0x98/0x340 [ 55.263020][ T3566] __lock_acquire+0x1295/0x1ff0 [ 55.267967][ T3566] lock_acquire+0x1db/0x4f0 [ 55.272456][ T3566] ? trie_delete_elem+0x90/0x690 [ 55.277397][ T3566] ? mark_lock+0x98/0x340 [ 55.281725][ T3566] ? read_lock_is_recursive+0x10/0x10 [ 55.287077][ T3566] ? __lock_acquire+0x1295/0x1ff0 [ 55.292094][ T3566] _raw_spin_lock_irqsave+0xd1/0x120 [ 55.297398][ T3566] ? trie_delete_elem+0x90/0x690 [ 55.302328][ T3566] ? _raw_spin_lock+0x40/0x40 [ 55.306993][ T3566] ? read_lock_is_recursive+0x10/0x10 [ 55.312354][ T3566] trie_delete_elem+0x90/0x690 [ 55.317127][ T3566] ? __cant_sleep+0x270/0x270 [ 55.321818][ T3566] bpf_prog_1591c0186a3fbe92+0x3d/0xf24 [ 55.327348][ T3566] bpf_trace_run2+0x19e/0x340 [ 55.332016][ T3566] ? bpf_trace_run1+0x2f0/0x2f0 [ 55.336851][ T3566] ? trie_update_elem+0x268/0xc00 [ 55.341884][ T3566] ? _raw_spin_lock_irqsave+0xac/0x120 [ 55.347333][ T3566] ? lockdep_hardirqs_off+0x70/0x100 [ 55.352605][ T3566] ? trie_update_elem+0x268/0xc00 [ 55.357615][ T3566] __bpf_trace_kfree+0x6e/0x90 [ 55.362383][ T3566] ? trie_update_elem+0x268/0xc00 [ 55.367398][ T3566] kfree+0x22f/0x270 [ 55.371297][ T3566] trie_update_elem+0x268/0xc00 [ 55.376134][ T3566] ? __might_fault+0xb8/0x110 [ 55.380806][ T3566] ? __lock_acquire+0x1ff0/0x1ff0 [ 55.385814][ T3566] ? migrate_enable+0x199/0x270 [ 55.390667][ T3566] bpf_map_update_value+0x5d7/0x6c0 [ 55.395874][ T3566] generic_map_update_batch+0x54d/0x8b0 [ 55.401424][ T3566] ? rcu_read_unlock+0x90/0x90 [ 55.406210][ T3566] ? __fdget+0x158/0x220 [ 55.410439][ T3566] ? rcu_read_unlock+0x90/0x90 [ 55.416768][ T3566] bpf_map_do_batch+0x4d0/0x620 [ 55.421610][ T3566] __sys_bpf+0x55c/0x670 [ 55.425935][ T3566] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 55.431301][ T3566] ? syscall_enter_from_user_mode+0x2e/0x240 [ 55.437278][ T3566] ? lockdep_hardirqs_on+0x94/0x130 [ 55.442460][ T3566] __x64_sys_bpf+0x78/0x90 [ 55.446867][ T3566] do_syscall_64+0x3b/0xb0 [ 55.451265][ T3566] ? clear_bhb_loop+0x15/0x70 [ 55.455931][ T3566] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 55.461833][ T3566] RIP: 0033:0x7f2332448d39 [ 55.466248][ T3566] 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 executing program executing program [ 55.485835][ T3566] RSP: 002b:00007ffc2dd5c8e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 55.494234][ T3566] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2332448d39 [ 55.502192][ T3566] RDX: 0000000000000038 RSI: 0000000020000240 RDI: 000000000000001a [ 55.510187][ T3566] RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006 [ 55.518406][ T3566] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000 [ 55.526458][ T3566] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 [ 55.534420][ T3566] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program