Warning: Permanently added '10.128.1.132' (ED25519) to the list of known hosts. executing program executing program executing program [ 40.452252][ C0] [ 40.454608][ C0] ============================================ [ 40.460806][ C0] WARNING: possible recursive locking detected [ 40.466947][ C0] 5.15.160-syzkaller #0 Not tainted [ 40.472124][ C0] -------------------------------------------- [ 40.478466][ C0] swapper/0/0 is trying to acquire lock: [ 40.484096][ C0] ffff88814ad22768 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 40.494460][ C0] [ 40.494460][ C0] but task is already holding lock: [ 40.501823][ C0] ffff88814ad22768 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 40.512342][ C0] [ 40.512342][ C0] other info that might help us debug this: [ 40.520574][ C0] Possible unsafe locking scenario: [ 40.520574][ C0] [ 40.528019][ C0] CPU0 [ 40.531281][ C0] ---- [ 40.534542][ C0] lock(&htab->buckets[i].lock); [ 40.539558][ C0] lock(&htab->buckets[i].lock); [ 40.544562][ C0] [ 40.544562][ C0] *** DEADLOCK *** [ 40.544562][ C0] [ 40.552771][ C0] May be due to missing lock nesting notation [ 40.552771][ C0] [ 40.561245][ C0] 5 locks held by swapper/0/0: [ 40.565982][ C0] #0: ffffffff8c91fba0 (rcu_callback){....}-{0:0}, at: rcu_lock_acquire+0x0/0x20 [ 40.575189][ C0] #1: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 40.584473][ C0] #2: ffff88814ad22768 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 40.595236][ C0] #3: ffff888147a2f290 (&psock->link_lock){+.-.}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 40.604871][ C0] #4: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 40.614184][ C0] [ 40.614184][ C0] stack backtrace: [ 40.620057][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.160-syzkaller #0 [ 40.627836][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 40.639138][ C0] Call Trace: [ 40.642434][ C0] [ 40.645265][ C0] dump_stack_lvl+0x1e3/0x2d0 [ 40.649929][ C0] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 40.655548][ C0] ? panic+0x860/0x860 [ 40.659603][ C0] validate_chain+0x46d2/0x5930 [ 40.664556][ C0] ? start_kernel+0x48c/0x540 [ 40.669213][ C0] ? reacquire_held_locks+0x660/0x660 [ 40.674564][ C0] ? check_noncircular+0x1e1/0x3b0 [ 40.679656][ C0] ? lockdep_unlock+0x166/0x300 [ 40.684491][ C0] ? lockdep_lock+0x2a0/0x2a0 [ 40.689145][ C0] ? reacquire_held_locks+0x660/0x660 [ 40.694499][ C0] ? mark_lock+0x98/0x340 [ 40.699166][ C0] __lock_acquire+0x1295/0x1ff0 [ 40.704024][ C0] lock_acquire+0x1db/0x4f0 [ 40.708512][ C0] ? sock_hash_delete_elem+0x177/0x400 [ 40.713967][ C0] ? read_lock_is_recursive+0x10/0x10 [ 40.719517][ C0] ? sock_hash_delete_elem+0x177/0x400 [ 40.724968][ C0] ? __bpf_trace_softirq+0x10/0x10 [ 40.730323][ C0] ? sock_hash_delete_elem+0x177/0x400 [ 40.735763][ C0] _raw_spin_lock_bh+0x31/0x40 [ 40.740522][ C0] ? sock_hash_delete_elem+0x177/0x400 [ 40.745956][ C0] sock_hash_delete_elem+0x177/0x400 [ 40.751233][ C0] ? sock_hash_lookup+0x660/0x660 [ 40.756257][ C0] bpf_prog_2c29ac5cdc6b1842+0x3a/0xfb0 [ 40.761789][ C0] bpf_trace_run2+0x19e/0x340 [ 40.766464][ C0] ? bpf_trace_run1+0x2f0/0x2f0 [ 40.771398][ C0] ? sock_map_unref+0x3ac/0x5d0 [ 40.776246][ C0] ? do_raw_spin_lock+0x14a/0x370 [ 40.781278][ C0] ? __bpf_trace_softirq+0x10/0x10 [ 40.786390][ C0] ? sock_map_unref+0x3ac/0x5d0 [ 40.791240][ C0] __bpf_trace_kfree+0x6e/0x90 [ 40.795990][ C0] ? sock_map_unref+0x3ac/0x5d0 [ 40.800820][ C0] kfree+0x22f/0x270 [ 40.804695][ C0] ? sock_map_unref+0xcc/0x5d0 [ 40.809439][ C0] sock_map_unref+0x3ac/0x5d0 [ 40.814117][ C0] sock_hash_delete_elem+0x388/0x400 [ 40.819386][ C0] ? sock_hash_lookup+0x660/0x660 [ 40.824390][ C0] bpf_prog_2c29ac5cdc6b1842+0x3a/0xfb0 [ 40.829916][ C0] bpf_trace_run2+0x19e/0x340 [ 40.834572][ C0] ? bpf_trace_run1+0x2f0/0x2f0 [ 40.839400][ C0] ? security_task_free+0x96/0xc0 [ 40.844403][ C0] ? rcu_lock_release+0x5/0x20 [ 40.849144][ C0] ? __lock_acquire+0x1ff0/0x1ff0 [ 40.854144][ C0] ? security_task_free+0x96/0xc0 [ 40.859145][ C0] ? put_task_struct_rcu_user+0x90/0x90 [ 40.864670][ C0] __bpf_trace_kfree+0x6e/0x90 [ 40.869415][ C0] ? security_task_free+0x96/0xc0 [ 40.874418][ C0] kfree+0x22f/0x270 [ 40.878292][ C0] ? put_task_struct_rcu_user+0x90/0x90 [ 40.883817][ C0] security_task_free+0x96/0xc0 [ 40.888650][ C0] __put_task_struct+0xf4/0x2b0 [ 40.893477][ C0] rcu_core+0xa15/0x1650 [ 40.897877][ C0] ? local_bh_disable+0x20/0x20 [ 40.902706][ C0] ? rebalance_domains+0x942/0xab0 [ 40.907795][ C0] ? distribute_cfs_runtime+0x540/0x540 [ 40.913322][ C0] __do_softirq+0x3b3/0x93a [ 40.917809][ C0] ? __irq_exit_rcu+0x155/0x240 [ 40.922638][ C0] ? __entry_text_end+0x1fe9f7/0x1fe9f7 [ 40.928160][ C0] ? hrtimer_interrupt+0x76b/0x980 [ 40.933266][ C0] ? irqtime_account_irq+0xd0/0x1e0 [ 40.938444][ C0] __irq_exit_rcu+0x155/0x240 [ 40.943107][ C0] ? irq_exit_rcu+0x20/0x20 [ 40.947618][ C0] irq_exit_rcu+0x5/0x20 [ 40.951856][ C0] sysvec_apic_timer_interrupt+0x91/0xb0 [ 40.957482][ C0] [ 40.960403][ C0] [ 40.963312][ C0] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 40.969273][ C0] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 [ 40.975079][ C0] Code: fd 58 f7 48 83 e3 08 0f 85 0a 01 00 00 4c 8d 74 24 20 e8 24 79 5f f7 0f 1f 44 00 00 e8 1a f9 58 f7 0f 00 2d 33 bb bb 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 8b c7 a2 f7 [ 40.994665][ C0] RSP: 0018:ffffffff8c607b80 EFLAGS: 000002d3 [ 41.000713][ C0] RAX: ffffffff8a2763a6 RBX: 0000000000000000 RCX: ffffffff8c6bd5c0 [ 41.008760][ C0] RDX: 0000000000000000 RSI: ffffffff8a8b2980 RDI: ffffffff8ad8f6c0 [ 41.016730][ C0] RBP: ffffffff8c607c10 R08: ffffffff8186dcf0 R09: fffffbfff18d7ab9 [ 41.024694][ C0] R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff18c0f70 [ 41.032654][ C0] R13: ffff888146f20804 R14: ffffffff8c607ba0 R15: dffffc0000000000 [ 41.040613][ C0] ? trace_hardirqs_on+0x30/0x80 [ 41.045537][ C0] ? acpi_idle_do_entry+0x106/0x340 [ 41.050722][ C0] ? acpi_idle_enter_bm+0x5c0/0x5c0 [ 41.055900][ C0] ? rcu_preempt_deferred_qs+0x6b/0x190 [ 41.061425][ C0] ? rcu_qs+0x190/0x190 [ 41.065561][ C0] acpi_idle_enter+0x352/0x4f0 [ 41.070396][ C0] cpuidle_enter_state+0x521/0xef0 [ 41.075488][ C0] ? cpuidle_enter_s2idle+0x6b0/0x6b0 [ 41.080838][ C0] ? menu_enable_device+0x380/0x380 [ 41.086018][ C0] cpuidle_enter+0x59/0x90 [ 41.090412][ C0] do_idle+0x3e4/0x670 [ 41.094462][ C0] ? idle_inject_timer_fn+0x60/0x60 [ 41.099674][ C0] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 41.105711][ C0] cpu_startup_entry+0x14/0x20 [ 41.110542][ C0] ? time_init+0x40/0x40 [ 41.114763][ C0] start_kernel+0x48c/0x540 [ 41.119245][ C0] secondary_startup_64_no_verify+0xb1/0xbb [ 41.125120][ C0]