============================= WARNING: suspicious RCU usage 5.19.0-syzkaller-14117-g274052a2b0ab #0 Not tainted ----------------------------- include/net/sock.h:592 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 4 locks held by syz-executor.4/4869: #0: ffff888055e150f0 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1687 [inline] #0: ffff888055e150f0 (sk_lock-AF_INET){+.+.}-{0:0}, at: sockopt_lock_sock net/core/sock.c:1050 [inline] #0: ffff888055e150f0 (sk_lock-AF_INET){+.+.}-{0:0}, at: sk_setsockopt+0x323/0x3860 net/core/sock.c:1106 #1: ffffc90001503a48 (&table->hash[i].lock){+...}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:354 [inline] #1: ffffc90001503a48 (&table->hash[i].lock){+...}-{2:2}, at: udp_lib_rehash+0x200/0x600 net/ipv4/udp.c:2050 #2: ffffffff8d7bc8b8 (reuseport_lock){+...}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:354 [inline] #2: ffffffff8d7bc8b8 (reuseport_lock){+...}-{2:2}, at: reuseport_detach_sock+0x22/0x4a0 net/core/sock_reuseport.c:346 #3: ffff888055e15378 (clock-AF_INET){++..}-{2:2}, at: bpf_sk_reuseport_detach+0x26/0x190 kernel/bpf/reuseport_array.c:26 stack backtrace: CPU: 0 PID: 4869 Comm: syz-executor.4 Not tainted 5.19.0-syzkaller-14117-g274052a2b0ab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 __rcu_dereference_sk_user_data_with_flags include/net/sock.h:592 [inline] bpf_sk_reuseport_detach+0x156/0x190 kernel/bpf/reuseport_array.c:27 reuseport_detach_sock+0x8c/0x4a0 net/core/sock_reuseport.c:362 udp_lib_rehash+0x234/0x600 net/ipv4/udp.c:2052 sock_bindtoindex_locked+0xcc/0x230 net/core/sock.c:642 sk_setsockopt+0x1bb2/0x3860 net/core/sock.c:1493 __sys_setsockopt+0x559/0x690 net/socket.c:2248 __do_sys_setsockopt net/socket.c:2263 [inline] __se_sys_setsockopt net/socket.c:2260 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2260 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2a09e89279 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 RSP: 002b:00007f2a08dfe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f2a09f9bf80 RCX: 00007f2a09e89279 RDX: 000000000000003e RSI: 0000000000000001 RDI: 0000000000000005 RBP: 00007f2a09ee32e9 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffef88b5caf R14: 00007f2a08dfe300 R15: 0000000000022000