multiple allocations for the same socket ------------[ cut here ]------------ WARNING: CPU: 1 PID: 10662 at net/core/sock_reuseport.c:41 reuseport_alloc+0x306/0x3b0 net/core/sock_reuseport.c:39 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 10662 Comm: syz-executor1 Not tainted 4.14.0-rc5-mm1+ #20 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:16 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:52 panic+0x1e4/0x41c kernel/panic.c:183 __warn+0x1c4/0x1e0 kernel/panic.c:546 report_bug+0x211/0x2d0 lib/bug.c:183 fixup_bug+0x40/0x90 arch/x86/kernel/traps.c:177 do_trap_no_signal arch/x86/kernel/traps.c:211 [inline] do_trap+0x260/0x390 arch/x86/kernel/traps.c:260 do_error_trap+0x120/0x390 arch/x86/kernel/traps.c:297 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:310 invalid_op+0x18/0x20 arch/x86/entry/entry_64.S:905 RIP: 0010:reuseport_alloc+0x306/0x3b0 net/core/sock_reuseport.c:39 RSP: 0018:ffff8801d886f8f8 EFLAGS: 00010282 RAX: 0000000000000028 RBX: ffff8801c408d3c0 RCX: 0000000000000000 RDX: 0000000000000028 RSI: ffffc90003971000 RDI: ffffed003b10df13 RBP: ffff8801d886f9c8 R08: 0000000000000001 R09: 0000000000000000 R10: ffff8801d886f7b0 R11: 0000000000000000 R12: 1ffff1003b10df20 R13: ffff8801c408d3c0 R14: ffff8801d886f9a0 R15: ffff8801c408d7f8 __reuseport_attach_prog+0x208/0x280 net/core/filter.c:1251 sk_reuseport_attach_filter+0x38/0x80 net/core/filter.c:1339 sock_setsockopt+0x164d/0x1ad0 net/core/sock.c:952 SYSC_setsockopt net/socket.c:1847 [inline] SyS_setsockopt+0x2ff/0x360 net/socket.c:1830 do_syscall_64+0x26c/0x8d0 arch/x86/entry/common.c:287 entry_SYSCALL64_slow_path+0x25/0x25 RIP: 0033:0x452719 RSP: 002b:00007f0a7cc63be8 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000758190 RCX: 0000000000452719 RDX: 0000000000000033 RSI: 0000000000000001 RDI: 0000000000000015 RBP: 00000000000004b4 R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020e9bff0 R11: 0000000000000212 R12: 00000000006f5180 R13: 00000000ffffffff R14: 00007f0a7cc646d4 R15: 0000000000000006 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..