Warning: Permanently added '10.128.10.1' (ED25519) to the list of known hosts. executing program [ 43.574156][ T3500] ODEBUG: Out of memory. ODEBUG disabled [ 43.574236][ T3500] [ 43.574238][ T3500] ============================================ [ 43.574241][ T3500] WARNING: possible recursive locking detected [ 43.574244][ T3500] 5.15.156-syzkaller #0 Not tainted [ 43.574248][ T3500] -------------------------------------------- [ 43.574251][ T3500] syz-executor190/3500 is trying to acquire lock: [ 43.574255][ T3500] ffff88807ebe71b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 43.574290][ T3500] [ 43.574290][ T3500] but task is already holding lock: [ 43.574292][ T3500] ffff88807ebe6db8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 43.574311][ T3500] [ 43.574311][ T3500] other info that might help us debug this: [ 43.574314][ T3500] Possible unsafe locking scenario: [ 43.574314][ T3500] [ 43.574316][ T3500] CPU0 [ 43.574317][ T3500] ---- [ 43.574318][ T3500] lock(&trie->lock); [ 43.574323][ T3500] lock(&trie->lock); [ 43.574328][ T3500] [ 43.574328][ T3500] *** DEADLOCK *** [ 43.574328][ T3500] [ 43.574330][ T3500] May be due to missing lock nesting notation [ 43.574330][ T3500] [ 43.574332][ T3500] 5 locks held by syz-executor190/3500: [ 43.574337][ T3500] #0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 43.574361][ T3500] #1: ffff88807ebe6db8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 43.574385][ T3500] #2: ffffffff8c7fc3c0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0xa6/0x150 [ 43.574405][ T3500] #3: ffffffff8c914680 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x2c/0x60 [ 43.574425][ T3500] #4: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 43.574445][ T3500] [ 43.574445][ T3500] stack backtrace: [ 43.574448][ T3500] CPU: 1 PID: 3500 Comm: syz-executor190 Not tainted 5.15.156-syzkaller #0 [ 43.574458][ T3500] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 43.574463][ T3500] Call Trace: [ 43.574465][ T3500] [ 43.574469][ T3500] dump_stack_lvl+0x1e3/0x2d0 [ 43.574480][ T3500] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 43.574488][ T3500] ? panic+0x860/0x860 [ 43.574501][ T3500] validate_chain+0x46d2/0x5930 [ 43.574513][ T3500] ? stack_trace_save+0x113/0x1c0 [ 43.574523][ T3500] ? stack_trace_snprint+0xe0/0xe0 [ 43.574531][ T3500] ? check_noncircular+0x1e1/0x3b0 [ 43.574541][ T3500] ? reacquire_held_locks+0x660/0x660 [ 43.574550][ T3500] ? lockdep_unlock+0x166/0x300 [ 43.574558][ T3500] ? lockdep_lock+0x2a0/0x2a0 [ 43.574566][ T3500] ? look_up_lock_class+0x77/0x120 [ 43.574576][ T3500] ? register_lock_class+0x100/0x9a0 [ 43.574584][ T3500] ? validate_chain+0x13bd/0x5930 [ 43.574593][ T3500] ? is_dynamic_key+0x1f0/0x1f0 [ 43.574601][ T3500] ? mark_lock+0x98/0x340 [ 43.574610][ T3500] __lock_acquire+0x1295/0x1ff0 [ 43.574621][ T3500] lock_acquire+0x1db/0x4f0 [ 43.574628][ T3500] ? trie_delete_elem+0x90/0x690 [ 43.574638][ T3500] ? mark_lock+0x98/0x340 [ 43.574646][ T3500] ? read_lock_is_recursive+0x10/0x10 [ 43.574654][ T3500] ? __lock_acquire+0x1295/0x1ff0 [ 43.574666][ T3500] _raw_spin_lock_irqsave+0xd1/0x120 [ 43.574676][ T3500] ? trie_delete_elem+0x90/0x690 [ 43.574685][ T3500] ? _raw_spin_lock+0x40/0x40 [ 43.574694][ T3500] ? read_lock_is_recursive+0x10/0x10 [ 43.574704][ T3500] trie_delete_elem+0x90/0x690 [ 43.574713][ T3500] ? __cant_sleep+0x270/0x270 [ 43.574723][ T3500] ? read_lock_is_recursive+0x10/0x10 [ 43.574732][ T3500] bpf_prog_2e5e7763945ac34e+0x3c/0x764 [ 43.574741][ T3500] bpf_trace_run2+0x19e/0x340 [ 43.574750][ T3500] ? rcu_idle_exit+0x170/0x170 [ 43.574758][ T3500] ? bpf_trace_run1+0x2f0/0x2f0 [ 43.574769][ T3500] console_unlock+0x10a2/0x12b0 [ 43.574779][ T3500] ? console_trylock_spinning+0x3f0/0x3f0 [ 43.574789][ T3500] ? __down_trylock_console_sem+0x1f2/0x250 [ 43.574797][ T3500] ? vprintk_emit+0xa6/0x150 [ 43.574805][ T3500] ? printk_parse_prefix+0x2c0/0x2c0 [ 43.574813][ T3500] ? vprintk_emit+0xa6/0x150 [ 43.574821][ T3500] ? console_trylock+0x70/0x70 [ 43.574830][ T3500] ? is_bpf_text_address+0x24f/0x260 [ 43.574840][ T3500] ? vprintk_emit+0x150/0x150 [ 43.574851][ T3500] vprintk_emit+0xbf/0x150 [ 43.574859][ T3500] _printk+0xd1/0x120 [ 43.574869][ T3500] ? panic+0x860/0x860 [ 43.574878][ T3500] ? do_raw_spin_lock+0x14a/0x370 [ 43.574886][ T3500] ? __lock_acquire+0x1ff0/0x1ff0 [ 43.574896][ T3500] debug_objects_oom+0xb4/0x370 [ 43.574908][ T3500] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 43.574918][ T3500] ? debug_object_activate+0x4e0/0x4e0 [ 43.574930][ T3500] debug_object_activate+0x42d/0x4e0 [ 43.574940][ T3500] kvfree_call_rcu+0xb6/0x8a0 [ 43.574950][ T3500] ? call_rcu+0xa70/0xa70 [ 43.574957][ T3500] ? __kmalloc_node+0x199/0x390 [ 43.574967][ T3500] ? bpf_map_kmalloc_node+0xdb/0x160 [ 43.574976][ T3500] ? _raw_spin_lock+0x40/0x40 [ 43.574985][ T3500] ? longest_prefix_match+0x2db/0x640 [ 43.574997][ T3500] trie_update_elem+0x808/0xc00 [ 43.575010][ T3500] bpf_map_update_value+0x5d7/0x6c0 [ 43.575020][ T3500] generic_map_update_batch+0x54d/0x8b0 [ 43.575033][ T3500] ? rcu_read_unlock+0x90/0x90 [ 43.575042][ T3500] ? __fdget+0x158/0x220 [ 43.575052][ T3500] ? rcu_read_unlock+0x90/0x90 [ 43.575061][ T3500] bpf_map_do_batch+0x4d0/0x620 [ 43.575070][ T3500] __sys_bpf+0x55c/0x670 [ 43.575079][ T3500] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 43.575092][ T3500] ? syscall_enter_from_user_mode+0x2e/0x240 [ 43.575101][ T3500] ? lockdep_hardirqs_on+0x94/0x130 [ 43.575111][ T3500] __x64_sys_bpf+0x78/0x90 [ 43.575120][ T3500] do_syscall_64+0x3b/0xb0 [ 43.575128][ T3500] ? clear_bhb_loop+0x15/0x70 [ 43.575137][ T3500] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 43.575147][ T3500] RIP: 0033:0x7febd2d817e9 [ 43.575155][ T3500] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 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 [ 43.575162][ T3500] RSP: 002b:00007ffe68a99368 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 43.575171][ T3500] RAX: ffffffffffffffda RBX: 00007ffe68a99538 RCX: 00007febd2d817e9 [ 43.575177][ T3500] RDX: 0000000000000038 RSI: 0000000020000000 RDI: 000000000000001a [ 43.575183][ T3500] RBP: 00007febd2df4610 R08: 00007ffe68a99538 R09: 00007ffe68a99538 [ 43.575189][ T3500] R10: 00007ffe68a99538 R11: 0000000000000246 R12: 0000000000000001 [ 43.575195][ T3500] R13: 00007ffe68a99528 R14: 0000000000000001 R15: 0000000000000001 [ 43.575203][ T3500]