executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 23.113464] multiple allocations for the same socket [ 23.113578] ------------[ cut here ]------------ [ 23.114310] WARNING: CPU: 2 PID: 3498 at net/core/sock_reuseport.c:41 reuseport_alloc+0x306/0x3b0 [ 23.115039] Kernel panic - not syncing: panic_on_warn set ... [ 23.115039] [ 23.115715] CPU: 2 PID: 3498 Comm: syzkaller703992 Not tainted 4.14.0-rc5-next-20171018+ #8 [ 23.116483] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 [ 23.117230] Call Trace: [ 23.117481] dump_stack+0x194/0x257 [ 23.117909] ? arch_local_irq_restore+0x53/0x53 [ 23.118331] ? vsnprintf+0x1ed/0x1900 [ 23.118684] panic+0x1e4/0x41c [ 23.118982] ? refcount_error_report+0x214/0x214 [ 23.119397] ? show_regs_print_info+0x65/0x65 [ 23.119789] ? retint_kernel+0x10/0x10 [ 23.120144] ? __warn+0x1a9/0x1e0 [ 23.120448] ? reuseport_alloc+0x306/0x3b0 [ 23.120829] __warn+0x1c4/0x1e0 [ 23.121138] ? reuseport_alloc+0x306/0x3b0 [ 23.121518] report_bug+0x211/0x2d0 [ 23.121882] fixup_bug+0x40/0x90 [ 23.122206] do_trap+0x260/0x390 [ 23.122540] do_error_trap+0x120/0x390 [ 23.122917] ? do_trap+0x390/0x390 [ 23.123262] ? reuseport_alloc+0x306/0x3b0 [ 23.123672] ? vprintk_emit+0x3ea/0x590 [ 23.124070] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 23.124543] do_invalid_op+0x1b/0x20 [ 23.124905] invalid_op+0x18/0x20 [ 23.125280] RIP: 0010:reuseport_alloc+0x306/0x3b0 [ 23.125734] RSP: 0018:ffff88006961fa40 EFLAGS: 00010282 [ 23.126330] RAX: 0000000000000028 RBX: ffff88003adc3500 RCX: 0000000000000000 [ 23.127013] RDX: 0000000000000028 RSI: 1ffff1000d2c3f08 RDI: ffffed000d2c3f3c [ 23.127698] RBP: ffff88006961fb10 R08: 0000000000000001 R09: 0000000000000000 [ 23.128380] R10: ffff88006961f8f8 R11: 0000000000000000 R12: 1ffff1000d2c3f49 [ 23.129062] R13: ffff88003adc3500 R14: ffff88006961fae8 R15: ffff88003adc3938 [ 23.129800] ? reuseport_select_sock+0xb60/0xb60 [ 23.130243] ? xdp_do_generic_redirect+0x1110/0x1110 [ 23.130705] __reuseport_attach_prog+0x208/0x280 [ 23.131007] ? bpf_prog_destroy+0x20/0x20 [ 23.131303] ? bpf_prog_store_orig_filter.isra.43+0x147/0x1f0 [ 23.131735] ? _copy_from_user+0x99/0x110 [ 23.132371] ? __get_filter+0xb7/0x220 [ 23.132635] sk_reuseport_attach_filter+0x38/0x80 [ 23.132989] sock_setsockopt+0x164d/0x1ad0 [ 23.133313] ? sock_enable_timestamp+0xb0/0xb0 [ 23.133748] ? handle_mm_fault+0x410/0x8d0 [ 23.134149] ? down_read_trylock+0xdb/0x170 [ 23.134559] ? __do_page_fault+0x31e/0xd60 [ 23.134966] ? vmacache_find+0x5f/0x280 [ 23.135358] ? sock_has_perm+0x29c/0x400 [ 23.135755] ? __fget_light+0x297/0x380 [ 23.136126] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 23.136624] ? selinux_netlbl_socket_setsockopt+0x10c/0x460 [ 23.137202] ? selinux_netlbl_sock_rcv_skb+0x730/0x730 [ 23.137725] ? do_raw_spin_trylock+0x190/0x190 [ 23.138196] ? selinux_socket_setsockopt+0x64/0x80 [ 23.138718] ? security_socket_setsockopt+0x89/0xb0 [ 23.139225] SyS_setsockopt+0x2ff/0x360 [ 23.139621] ? SyS_recv+0x40/0x40 [ 23.139950] ? entry_SYSCALL_64_fastpath+0x5/0xbe [ 23.140401] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 23.140884] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 23.141347] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 23.142178] RIP: 0033:0x43b0b9 [ 23.142483] RSP: 002b:00007eff528fedb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 23.143192] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043b0b9 [ 23.143870] RDX: 0000000000000033 RSI: 0000000000000001 RDI: 000000000000007f [ 23.144547] RBP: 0000000000000082 R08: 0000000000000010 R09: 0000000000000000 [ 23.145222] R10: 0000000020e9bff0 R11: 0000000000000246 R12: 0000000000000000 [ 23.145966] R13: 0000000000000000 R14: 00007eff528ff9c0 R15: 00007eff528ff700 [ 23.146906] Dumping ftrace buffer: [ 23.147318] (ftrace buffer empty) [ 23.147731] Kernel Offset: disabled [ 23.148115] Rebooting in 86400 seconds..