multiple allocations for the same socket ------------[ cut here ]------------ WARNING: CPU: 0 PID: 2088 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: 0 PID: 2088 Comm: syz-executor7 Not tainted 4.14.0-rc5+ #141 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/0x417 kernel/panic.c:181 __warn+0x1c4/0x1d9 kernel/panic.c:542 report_bug+0x211/0x2d0 lib/bug.c:183 fixup_bug+0x40/0x90 arch/x86/kernel/traps.c:178 do_trap_no_signal arch/x86/kernel/traps.c:212 [inline] do_trap+0x260/0x390 arch/x86/kernel/traps.c:261 do_error_trap+0x120/0x390 arch/x86/kernel/traps.c:298 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:311 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:ffff8801c8867a40 EFLAGS: 00010282 RAX: 0000000000000028 RBX: ffff8801c1a71500 RCX: 0000000000000000 RDX: 0000000000000028 RSI: ffffffff8158830e RDI: ffffed003910cf3c RBP: ffff8801c8867b10 R08: 0000000000000001 R09: 0000000000000000 R10: ffff8801c88678f8 R11: 0000000000000000 R12: 1ffff1003910cf49 R13: ffff8801c1a71500 R14: ffff8801c8867ae8 R15: ffff8801c1a71938 __reuseport_attach_prog+0x208/0x280 net/core/filter.c:1250 sk_reuseport_attach_filter+0x38/0x80 net/core/filter.c:1338 sock_setsockopt+0x164d/0x1ad0 net/core/sock.c:952 SYSC_setsockopt net/socket.c:1848 [inline] SyS_setsockopt+0x2ff/0x360 net/socket.c:1831 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x452719 RSP: 002b:00007fa1eeb24be8 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00000000007580d8 RCX: 0000000000452719 RDX: 0000000000000033 RSI: 0000000000000001 RDI: 0000000000000013 RBP: 0000000000000082 R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020e9bff0 R11: 0000000000000212 R12: 00000000006f63c8 R13: 00000000ffffffff R14: 00007fa1eeb256d4 R15: 000000000000000d Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..