============================================ WARNING: possible recursive locking detected syzkaller #0 Not tainted -------------------------------------------- syz.7.5354/30637 is trying to acquire lock: ffff88808ee45838 (rhashtable_bucket){..-.}-{0:0}, at: rht_lock+0x8b/0x180 include/linux/rhashtable.h:330 but task is already holding lock: ffff8880318cc438 (rhashtable_bucket){..-.}-{0:0}, at: rht_lock+0x8b/0x180 include/linux/rhashtable.h:330 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(rhashtable_bucket); lock(rhashtable_bucket); *** DEADLOCK *** May be due to missing lock nesting notation locks held by syz.7.5354/30637: 6, last CPU#1: #0: ffff8880551b7b00 (&sb->s_type->i_mutex_key#13){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1025 [inline] #0: ffff8880551b7b00 (&sb->s_type->i_mutex_key#13){+.+.}-{4:4}, at: __sock_release+0x7a/0x1f0 net/socket.c:734 #1: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #1: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline] #1: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: __rhashtable_remove_fast include/linux/rhashtable.h:1136 [inline] #1: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: rhashtable_remove_fast include/linux/rhashtable.h:1174 [inline] #1: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: netlink_remove net/netlink/af_netlink.c:599 [inline] #1: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: netlink_release+0x106/0x1a80 net/netlink/af_netlink.c:726 #2: ffff8880318cc438 (rhashtable_bucket){..-.}-{0:0}, at: rht_lock+0x8b/0x180 include/linux/rhashtable.h:330 #3: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #3: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline] #3: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: trace_call_bpf+0xb4/0xb80 kernel/trace/bpf_trace.c:-1 #4: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #4: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline] #4: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1183 [inline] #4: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: rhtab_map_delete_elem+0x21/0x190 kernel/bpf/hashtab.c:2977 #5: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #5: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline] #5: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: __rhashtable_remove_fast include/linux/rhashtable.h:1136 [inline] #5: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: rhashtable_remove_fast include/linux/rhashtable.h:1174 [inline] #5: ffffffff8eb5a1e0 (rcu_read_lock){....}-{1:3}, at: rhtab_delete_elem+0x15a/0x1b00 kernel/bpf/hashtab.c:-1 stack backtrace: CPU: 1 UID: 0 PID: 30637 Comm: syz.7.5354 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_deadlock_bug+0x279/0x290 kernel/locking/lockdep.c:3057 check_deadlock kernel/locking/lockdep.c:3109 [inline] validate_chain kernel/locking/lockdep.c:3911 [inline] __lock_acquire+0x24df/0x2cf0 kernel/locking/lockdep.c:5253 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5886 rht_lock+0xa3/0x180 include/linux/rhashtable.h:330 __rhashtable_remove_fast_one include/linux/rhashtable.h:1064 [inline] __rhashtable_remove_fast include/linux/rhashtable.h:1145 [inline] rhashtable_remove_fast include/linux/rhashtable.h:1174 [inline] rhtab_delete_elem+0xb1a/0x1b00 kernel/bpf/hashtab.c:2955 rhtab_map_delete_elem+0xe2/0x190 kernel/bpf/hashtab.c:2983 bpf_prog_a4f1e23443ac9f8e+0x4e/0x56 bpf_dispatcher_nop_func include/linux/bpf.h:1451 [inline] __bpf_prog_run include/linux/filter.h:779 [inline] bpf_prog_run include/linux/filter.h:786 [inline] bpf_prog_run_array include/linux/bpf.h:2602 [inline] trace_call_bpf+0x3f1/0xb80 kernel/trace/bpf_trace.c:147 perf_trace_run_bpf_submit+0x78/0x170 kernel/events/core.c:11428 do_perf_trace_lock include/trace/events/lock.h:49 [inline] perf_trace_lock+0x32e/0x410 include/trace/events/lock.h:49 __do_trace_lock_release include/trace/events/lock.h:68 [inline] trace_lock_release include/trace/events/lock.h:68 [inline] lock_release+0x38e/0x3c0 kernel/locking/lockdep.c:5897 rht_unlock+0x26/0x140 include/linux/rhashtable.h:352 __rhashtable_remove_fast_one include/linux/rhashtable.h:1115 [inline] __rhashtable_remove_fast include/linux/rhashtable.h:1145 [inline] rhashtable_remove_fast include/linux/rhashtable.h:1174 [inline] netlink_remove net/netlink/af_netlink.c:599 [inline] netlink_release+0x5cb/0x1a80 net/netlink/af_netlink.c:726 __sock_release+0xa0/0x1f0 net/socket.c:735 sock_close+0x1c/0x30 net/socket.c:1526 __fput+0x418/0xa50 fs/file_table.c:512 task_work_run+0x1d9/0x270 kernel/task_work.c:233 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x73a/0x2360 kernel/exit.c:1009 do_group_exit+0x22d/0x2f0 kernel/exit.c:1152 get_signal+0x121b/0x12c0 kernel/signal.c:3046 arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x10e/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:336 [inline] do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5adcd9e0d9 Code: Unable to access opcode bytes at 0x7f5adcd9e0af. RSP: 002b:00007f5addc4a028 EFLAGS: 00000246 ORIG_RAX: 0000000000000035 RAX: 0000000000000000 RBX: 00007f5add026090 RCX: 00007f5adcd9e0d9 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: 00007f5adce35024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000200000000200 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5add026128 R14: 00007f5add026090 R15: 00007ffc2759de28