Warning: Permanently added '10.128.0.253' (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 syzkaller login: [ 60.945990][ T3579] [ 60.948357][ T3579] ============================================ [ 60.954535][ T3579] WARNING: possible recursive locking detected [ 60.960684][ T3579] 6.1.84-syzkaller #0 Not tainted [ 60.965704][ T3579] -------------------------------------------- [ 60.971845][ T3579] syz-executor341/3579 is trying to acquire lock: [ 60.978251][ T3579] ffff88807af98a38 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 60.987247][ T3579] [ 60.987247][ T3579] but task is already holding lock: [ 60.994606][ T3579] ffff88807af98a38 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 61.003516][ T3579] [ 61.003516][ T3579] other info that might help us debug this: [ 61.011591][ T3579] Possible unsafe locking scenario: [ 61.011591][ T3579] [ 61.019040][ T3579] CPU0 [ 61.022316][ T3579] ---- [ 61.025592][ T3579] lock(&trie->lock); [ 61.029673][ T3579] lock(&trie->lock); [ 61.033762][ T3579] [ 61.033762][ T3579] *** DEADLOCK *** [ 61.033762][ T3579] [ 61.041905][ T3579] May be due to missing lock nesting notation [ 61.041905][ T3579] [ 61.050233][ T3579] 3 locks held by syz-executor341/3579: [ 61.055786][ T3579] #0: ffffffff8d12a980 (rcu_read_lock){....}-{1:2}, at: bpf_map_update_value+0x207/0x6f0 [ 61.065751][ T3579] #1: ffff88807af98a38 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 61.075084][ T3579] #2: ffffffff8d12a980 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x16a/0x470 [ 61.084493][ T3579] [ 61.084493][ T3579] stack backtrace: [ 61.090399][ T3579] CPU: 0 PID: 3579 Comm: syz-executor341 Not tainted 6.1.84-syzkaller #0 [ 61.098814][ T3579] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 61.108868][ T3579] Call Trace: [ 61.112154][ T3579] [ 61.115107][ T3579] dump_stack_lvl+0x1e3/0x2cb [ 61.119813][ T3579] ? nf_tcp_handle_invalid+0x642/0x642 [ 61.125284][ T3579] ? panic+0x75d/0x75d [ 61.129388][ T3579] validate_chain+0x4711/0x5950 [ 61.134282][ T3579] ? reacquire_held_locks+0x660/0x660 [ 61.139713][ T3579] ? reacquire_held_locks+0x660/0x660 [ 61.145103][ T3579] ? __stack_depot_save+0x3f5/0x470 [ 61.150399][ T3579] ? __lock_acquire+0x1f80/0x1f80 [ 61.155442][ T3579] ? mark_lock+0x9a/0x340 [ 61.159798][ T3579] ? mark_lock+0x9a/0x340 [ 61.164144][ T3579] ? __lock_acquire+0x125b/0x1f80 [ 61.169182][ T3579] ? mark_lock+0x9a/0x340 [ 61.173575][ T3579] __lock_acquire+0x125b/0x1f80 [ 61.178449][ T3579] lock_acquire+0x1f8/0x5a0 [ 61.182967][ T3579] ? trie_delete_elem+0x90/0x690 [ 61.187939][ T3579] ? read_lock_is_recursive+0x10/0x10 [ 61.193330][ T3579] ? __lock_acquire+0x125b/0x1f80 [ 61.198376][ T3579] _raw_spin_lock_irqsave+0xd1/0x120 [ 61.203672][ T3579] ? trie_delete_elem+0x90/0x690 [ 61.208628][ T3579] ? _raw_spin_lock+0x40/0x40 [ 61.213316][ T3579] ? read_lock_is_recursive+0x10/0x10 [ 61.218702][ T3579] trie_delete_elem+0x90/0x690 [ 61.223520][ T3579] ? __cant_sleep+0x270/0x270 [ 61.228215][ T3579] bpf_prog_fdee3c9a1e8a2a6e+0x3d/0x41 [ 61.233685][ T3579] ? bpf_trace_run4+0x16a/0x470 [ 61.238542][ T3579] bpf_trace_run4+0x253/0x470 [ 61.243230][ T3579] ? bpf_trace_run3+0x440/0x440 [ 61.248090][ T3579] ? __alloc_pages+0x770/0x770 [ 61.252861][ T3579] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 61.258333][ T3579] __alloc_pages+0x717/0x770 [ 61.262936][ T3579] ? zone_statistics+0x160/0x160 [ 61.267886][ T3579] ? ___slab_alloc+0x20d/0x1270 [ 61.272744][ T3579] ? __lock_acquire+0x1f80/0x1f80 [ 61.277801][ T3579] alloc_slab_page+0x59/0x150 [ 61.282511][ T3579] new_slab+0x84/0x2d0 [ 61.286605][ T3579] ___slab_alloc+0xc20/0x1270 [ 61.291294][ T3579] ? do_raw_spin_lock+0x14a/0x370 [ 61.296335][ T3579] ? bpf_map_kmalloc_node+0xce/0x1c0 [ 61.301634][ T3579] __kmem_cache_alloc_node+0x19f/0x260 [ 61.307111][ T3579] ? bpf_map_kmalloc_node+0xce/0x1c0 [ 61.312579][ T3579] ? bpf_map_kmalloc_node+0xce/0x1c0 [ 61.317873][ T3579] __kmalloc_node+0xa2/0x230 [ 61.322518][ T3579] ? _raw_spin_lock+0x40/0x40 [ 61.327238][ T3579] bpf_map_kmalloc_node+0xce/0x1c0 [ 61.332370][ T3579] trie_update_elem+0x1cb/0xc00 [ 61.337271][ T3579] ? __lock_acquire+0x1f80/0x1f80 [ 61.342314][ T3579] bpf_map_update_value+0x5cf/0x6f0 [ 61.347529][ T3579] map_update_elem+0x503/0x680 [ 61.352318][ T3579] __sys_bpf+0x337/0x6c0 [ 61.356580][ T3579] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 61.361971][ T3579] ? print_irqtrace_events+0x210/0x210 [ 61.367443][ T3579] ? print_irqtrace_events+0x210/0x210 [ 61.373006][ T3579] ? syscall_enter_from_user_mode+0x2e/0x230 [ 61.378995][ T3579] ? lockdep_hardirqs_on+0x94/0x130 [ 61.384209][ T3579] __x64_sys_bpf+0x78/0x90 [ 61.388638][ T3579] do_syscall_64+0x3d/0xb0 [ 61.393068][ T3579] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 61.398974][ T3579] RIP: 0033:0x7f974f00fdf9 [ 61.403394][ T3579] 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 [ 61.423006][ T3579] RSP: 002b:00007ffce2be10e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 61.431515][ T3579] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f974f00fdf9 [ 61.439516][ T3579] RDX: 0000000000000020 RSI: 0000000020000300 RDI: 0000000000000002 [ 61.447515][ T3579] RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006 [ 61.455493][ T3579] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000 [ 61.463464][ T3579] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 [ 61.471459][ T3579]