Warning: Permanently added '10.128.0.84' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program [ 244.899093][ T3537] ODEBUG: Out of memory. ODEBUG disabled [ 244.899132][ T3537] [ 244.899136][ T3537] ====================================================== [ 244.899140][ T3537] WARNING: possible circular locking dependency detected [ 244.899145][ T3537] 5.15.156-syzkaller #0 Not tainted [ 244.899154][ T3537] ------------------------------------------------------ [ 244.899157][ T3537] syz-executor304/3537 is trying to acquire lock: [ 244.899166][ T3537] ffffffff8c7fc358 ((console_sem).lock){....}-{2:2}, at: down_trylock+0x1c/0xa0 [ 244.899281][ T3537] [ 244.899281][ T3537] but task is already holding lock: [ 244.899285][ T3537] ffff888022db39b8 (&trie->lock){-...}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 244.899334][ T3537] [ 244.899334][ T3537] which lock already depends on the new lock. [ 244.899334][ T3537] [ 244.899338][ T3537] [ 244.899338][ T3537] the existing dependency chain (in reverse order) is: [ 244.899342][ T3537] [ 244.899342][ T3537] -> #3 (&trie->lock){-...}-{2:2}: [ 244.899362][ T3537] lock_acquire+0x1db/0x4f0 [ 244.899375][ T3537] _raw_spin_lock_irqsave+0xd1/0x120 [ 244.899454][ T3537] trie_delete_elem+0x90/0x690 [ 244.899467][ T3537] bpf_prog_2c29ac5cdc6b1842+0x3a/0x6f0 [ 244.899479][ T3537] bpf_trace_run2+0x19e/0x340 [ 244.899524][ T3537] trace_tlb_flush+0xed/0x110 [ 244.899553][ T3537] switch_mm_irqs_off+0x748/0xa30 [ 244.899563][ T3537] __schedule+0x1167/0x45b0 [ 244.899575][ T3537] schedule+0x11b/0x1f0 [ 244.899586][ T3537] futex_wait_queue_me+0x25b/0x480 [ 244.899630][ T3537] futex_wait+0x2f8/0x740 [ 244.899643][ T3537] do_futex+0x1414/0x1810 [ 244.899656][ T3537] __se_sys_futex+0x407/0x490 [ 244.899671][ T3537] do_syscall_64+0x3b/0xb0 [ 244.899700][ T3537] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 244.899716][ T3537] [ 244.899716][ T3537] -> #2 (&rq->__lock){-.-.}-{2:2}: [ 244.899735][ T3537] lock_acquire+0x1db/0x4f0 [ 244.899746][ T3537] _raw_spin_lock_nested+0x2d/0x40 [ 244.899760][ T3537] raw_spin_rq_lock_nested+0x26/0x140 [ 244.899806][ T3537] task_fork_fair+0x5d/0x350 [ 244.899833][ T3537] sched_cgroup_fork+0x2d3/0x330 [ 244.899848][ T3537] copy_process+0x224a/0x3ef0 [ 244.899876][ T3537] kernel_clone+0x210/0x960 [ 244.899889][ T3537] kernel_thread+0x168/0x1e0 [ 244.899901][ T3537] rest_init+0x21/0x330 [ 244.899927][ T3537] start_kernel+0x48c/0x540 [ 244.899974][ T3537] secondary_startup_64_no_verify+0xb1/0xbb [ 244.899995][ T3537] [ 244.899995][ T3537] -> #1 (&p->pi_lock){-.-.}-{2:2}: [ 244.900015][ T3537] lock_acquire+0x1db/0x4f0 [ 244.900027][ T3537] _raw_spin_lock_irqsave+0xd1/0x120 [ 244.900042][ T3537] try_to_wake_up+0xae/0x1300 [ 244.900056][ T3537] up+0x6e/0x90 [ 244.900069][ T3537] __up_console_sem+0x11a/0x1e0 [ 244.900087][ T3537] console_unlock+0x1145/0x12b0 [ 244.900100][ T3537] vprintk_emit+0xbf/0x150 [ 244.900112][ T3537] dev_vprintk_emit+0x2aa/0x330 [ 244.900125][ T3537] dev_printk_emit+0xd9/0x120 [ 244.900138][ T3537] _dev_warn+0x11e/0x170 [ 244.900150][ T3537] firmware_fallback_sysfs+0x681/0xc90 [ 244.900203][ T3537] _request_firmware+0xbb1/0x1200 [ 244.900218][ T3537] request_firmware_work_func+0x126/0x270 [ 244.900232][ T3537] process_one_work+0x8a1/0x10c0 [ 244.900263][ T3537] worker_thread+0xaca/0x1280 [ 244.900301][ T3537] kthread+0x3f6/0x4f0 [ 244.900314][ T3537] ret_from_fork+0x1f/0x30 [ 244.900328][ T3537] [ 244.900328][ T3537] -> #0 ((console_sem).lock){....}-{2:2}: [ 244.900347][ T3537] validate_chain+0x1649/0x5930 [ 244.900361][ T3537] __lock_acquire+0x1295/0x1ff0 [ 244.900373][ T3537] lock_acquire+0x1db/0x4f0 [ 244.900385][ T3537] _raw_spin_lock_irqsave+0xd1/0x120 [ 244.900400][ T3537] down_trylock+0x1c/0xa0 [ 244.900413][ T3537] __down_trylock_console_sem+0x105/0x250 [ 244.900427][ T3537] console_trylock_spinning+0x8a/0x3f0 [ 244.900441][ T3537] vprintk_emit+0xa6/0x150 [ 244.900453][ T3537] _printk+0xd1/0x120 [ 244.900484][ T3537] debug_objects_oom+0xb4/0x370 [ 244.900569][ T3537] debug_object_activate+0x42d/0x4e0 [ 244.900584][ T3537] kvfree_call_rcu+0xb6/0x8a0 [ 244.900643][ T3537] trie_update_elem+0x808/0xc00 [ 244.900657][ T3537] bpf_map_update_value+0x5d7/0x6c0 [ 244.900689][ T3537] generic_map_update_batch+0x54d/0x8b0 [ 244.900703][ T3537] bpf_map_do_batch+0x4d0/0x620 [ 244.900716][ T3537] __sys_bpf+0x55c/0x670 [ 244.900730][ T3537] __x64_sys_bpf+0x78/0x90 [ 244.900744][ T3537] do_syscall_64+0x3b/0xb0 [ 244.900757][ T3537] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 244.900773][ T3537] executing program executing program [ 244.900773][ T3537] other info that might help us debug this: [ 244.900773][ T3537] [ 244.900776][ T3537] Chain exists of: [ 244.900776][ T3537] (console_sem).lock --> &rq->__lock --> &trie->lock [ 244.900776][ T3537] [ 244.900798][ T3537] Possible unsafe locking scenario: [ 244.900798][ T3537] [ 244.900802][ T3537] CPU0 CPU1 [ 244.900805][ T3537] ---- ---- [ 244.900808][ T3537] lock(&trie->lock); [ 244.900816][ T3537] lock(&rq->__lock); [ 244.900826][ T3537] lock(&trie->lock); [ 244.900835][ T3537] lock((console_sem).lock); [ 244.900843][ T3537] [ 244.900843][ T3537] *** DEADLOCK *** [ 244.900843][ T3537] [ 244.900846][ T3537] 2 locks held by syz-executor304/3537: [ 244.900855][ T3537] #0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 244.900892][ T3537] #1: ffff888022db39b8 (&trie->lock){-...}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 244.900927][ T3537] [ 244.900927][ T3537] stack backtrace: [ 244.900932][ T3537] CPU: 1 PID: 3537 Comm: syz-executor304 Not tainted 5.15.156-syzkaller #0 [ 244.900947][ T3537] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 244.900956][ T3537] Call Trace: [ 244.900960][ T3537] [ 244.900966][ T3537] dump_stack_lvl+0x1e3/0x2d0 [ 244.900983][ T3537] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 244.901003][ T3537] ? print_circular_bug+0x12b/0x1a0 [ 244.901021][ T3537] check_noncircular+0x2f8/0x3b0 [ 244.901036][ T3537] ? reacquire_held_locks+0x660/0x660 [ 244.901054][ T3537] ? add_chain_block+0x850/0x850 [ 244.901070][ T3537] ? lockdep_lock+0x11f/0x2a0 [ 244.901087][ T3537] ? mark_lock+0x98/0x340 [ 244.901103][ T3537] validate_chain+0x1649/0x5930 [ 244.901127][ T3537] ? reacquire_held_locks+0x660/0x660 [ 244.901142][ T3537] ? data_push_tail+0x6de/0x700 [ 244.901162][ T3537] ? desc_read+0x3d0/0x3d0 [ 244.901178][ T3537] ? unwind_next_frame+0x1437/0x1fa0 [ 244.901202][ T3537] ? reacquire_held_locks+0x660/0x660 [ 244.901222][ T3537] ? mark_lock+0x98/0x340 [ 244.901238][ T3537] __lock_acquire+0x1295/0x1ff0 [ 244.901260][ T3537] lock_acquire+0x1db/0x4f0 [ 244.901280][ T3537] ? down_trylock+0x1c/0xa0 [ 244.901298][ T3537] ? vsnprintf+0x1c70/0x1c70 [ 244.901326][ T3537] ? read_lock_is_recursive+0x10/0x10 [ 244.901342][ T3537] ? memcpy+0x3c/0x60 [ 244.901375][ T3537] ? vsnprintf+0x1b96/0x1c70 [ 244.901392][ T3537] ? _prb_commit+0x30a/0x3e0 [ 244.901407][ T3537] ? prb_reserve+0x1240/0x1240 [ 244.901423][ T3537] _raw_spin_lock_irqsave+0xd1/0x120 [ 244.901439][ T3537] ? down_trylock+0x1c/0xa0 [ 244.901454][ T3537] ? _raw_spin_lock+0x40/0x40 [ 244.901471][ T3537] ? vprintk_store+0xf1b/0x1300 [ 244.901486][ T3537] down_trylock+0x1c/0xa0 [ 244.901503][ T3537] __down_trylock_console_sem+0x105/0x250 [ 244.901519][ T3537] ? printk_parse_prefix+0x2c0/0x2c0 [ 244.901533][ T3537] ? vprintk_emit+0xa6/0x150 [ 244.901546][ T3537] ? console_trylock+0x70/0x70 [ 244.901562][ T3537] ? is_bpf_text_address+0x24f/0x260 [ 244.901578][ T3537] ? vprintk_emit+0xa6/0x150 [ 244.901591][ T3537] console_trylock_spinning+0x8a/0x3f0 [ 244.901606][ T3537] ? vprintk_emit+0x150/0x150 [ 244.901620][ T3537] ? __lock_acquire+0x1295/0x1ff0 [ 244.901638][ T3537] vprintk_emit+0xa6/0x150 [ 244.901653][ T3537] _printk+0xd1/0x120 [ 244.901670][ T3537] ? panic+0x860/0x860 [ 244.901686][ T3537] ? do_raw_spin_lock+0x14a/0x370 [ 244.901700][ T3537] ? __lock_acquire+0x1ff0/0x1ff0 [ 244.901717][ T3537] debug_objects_oom+0xb4/0x370 [ 244.901736][ T3537] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 244.901753][ T3537] ? debug_object_activate+0x4e0/0x4e0 [ 244.901773][ T3537] debug_object_activate+0x42d/0x4e0 [ 244.901792][ T3537] kvfree_call_rcu+0xb6/0x8a0 [ 244.901809][ T3537] ? call_rcu+0xa70/0xa70 [ 244.901822][ T3537] ? __kmalloc_node+0x199/0x390 [ 244.901853][ T3537] ? bpf_map_kmalloc_node+0xdb/0x160 [ 244.901868][ T3537] ? _raw_spin_lock+0x40/0x40 [ 244.901884][ T3537] ? longest_prefix_match+0x2db/0x640 [ 244.901918][ T3537] trie_update_elem+0x808/0xc00 [ 244.901942][ T3537] bpf_map_update_value+0x5d7/0x6c0 [ 244.901961][ T3537] generic_map_update_batch+0x54d/0x8b0 [ 244.901982][ T3537] ? rcu_read_unlock+0x90/0x90 [ 244.901997][ T3537] ? __fdget+0x191/0x220 [ 244.902026][ T3537] ? rcu_read_unlock+0x90/0x90 [ 244.902041][ T3537] bpf_map_do_batch+0x4d0/0x620 [ 244.902055][ T3537] __sys_bpf+0x55c/0x670 [ 244.902071][ T3537] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 244.902093][ T3537] ? syscall_enter_from_user_mode+0x2e/0x240 [ 244.902108][ T3537] ? lockdep_hardirqs_on+0x94/0x130 [ 244.902123][ T3537] __x64_sys_bpf+0x78/0x90 [ 244.902138][ T3537] do_syscall_64+0x3b/0xb0 [ 244.902152][ T3537] ? clear_bhb_loop+0x15/0x70 [ 244.902166][ T3537] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 244.902183][ T3537] RIP: 0033:0x7fd774224919 [ 244.902197][ T3537] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 01 1a 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 b0 ff ff ff f7 d8 64 89 01 48 [ 244.902209][ T3537] RSP: 002b:00007fd7741e2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 244.902225][ T3537] RAX: ffffffffffffffda RBX: 00007fd7742ae348 RCX: 00007fd774224919 [ 244.902235][ T3537] RDX: 0000000000000038 RSI: 0000000020000000 RDI: 000000000000001a [ 244.902244][ T3537] RBP: 00007fd7742ae340 R08: 00007fd7741e26c0 R09: 0000000000000000 [ 244.902254][ T3537] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd7742ae34c [ 244.902264][ T3537] R13: 0000000000000000 R14: 00007fff5c8308a0 R15: 00007fff5c830988 [ 244.902286][ T3537] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program