syzbot


WARNING in reuseport_alloc

Status: fixed on 2017/11/11 01:37
Subsystems: net
[Documentation on labels]
Fix commit: 1b5f962e71bf soreuseport: fix initialization race
First crash: 2332d, last: 2296d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 WARNING in reuseport_alloc C 106 2288d 2317d 1/3 fixed on 2017/11/28 03:31

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3556 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: 3556 Comm: syzkaller775496 Not tainted 4.14.0-rc5+ #139
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:ffff8801d0727a40 EFLAGS: 00010282
RAX: 0000000000000028 RBX: ffff8801d1a5e000 RCX: 0000000000000000
RDX: 0000000000000028 RSI: 1ffff1003a0e4f08 RDI: ffffed003a0e4f3c
RBP: ffff8801d0727b10 R08: 0000000000000001 R09: 0000000000000000
R10: ffff8801d07278f8 R11: 0000000000000000 R12: 1ffff1003a0e4f49
R13: ffff8801d1a5e000 R14: ffff8801d0727ae8 R15: ffff8801d1a5e438
 __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:0x4470a9
RSP: 002b:00007f003a9e7d08 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004470a9
RDX: 0000000000000033 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 0000000000000082 R08: 0000000000000010 R09: 00007f003a9e8700
R10: 0000000020e9bff0 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe9c7c67bf R14: 00007f003a9e89c0 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (408):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/10/20 00:55 upstream 96f893abc87b 355f57c5 .config console log report syz C ci-upstream-kasan-gce-386
2017/10/19 22:53 upstream 96f893abc87b 355f57c5 .config console log report syz C ci-upstream-kasan-gce-386
2017/10/19 22:47 net-next-old 48acc9e847ef 355f57c5 .config console log report syz C ci-upstream-net-kasan-gce
2017/10/28 12:28 linux-next 36ef71cae353 e511d9f8 .config console log report syz C ci-upstream-next-kasan-gce
2017/10/20 01:39 linux-next 36ef71cae353 e511d9f8 .config console log report syz C ci-upstream-next-kasan-gce
2017/10/19 23:05 mmots 3ac81ebcbbb3 355f57c5 .config console log report syz C ci-upstream-mmots-kasan-gce
2017/10/09 20:59 upstream 68ebe3cbe786 c26ea367 .config console log report ci-upstream-kasan-gce
2017/10/21 01:02 upstream 9c323bff13f9 4d9c0713 .config console log report ci-upstream-kasan-gce-386
2017/10/20 10:18 upstream ce43f4fd6f10 4d9c0713 .config console log report ci-upstream-kasan-gce-386
2017/10/20 21:47 net-next-old d18b4b35e310 4d9c0713 .config console log report ci-upstream-net-kasan-gce
2017/10/20 17:17 net-next-old d18b4b35e310 4d9c0713 .config console log report ci-upstream-net-kasan-gce
2017/10/20 10:39 net-next-old d18b4b35e310 4d9c0713 .config console log report ci-upstream-net-kasan-gce
2017/10/17 02:19 net-next-old 833e0e2f24fd 441d64d9 .config console log report ci-upstream-net-kasan-gce
2017/10/15 16:10 net-next-old 833e0e2f24fd 441d64d9 .config console log report ci-upstream-net-kasan-gce
2017/10/10 06:33 net-next-old 0349a86c8582 c26ea367 .config console log report ci-upstream-net-kasan-gce
2017/11/09 01:34 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/11/08 14:19 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/11/01 22:35 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/31 16:00 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/10/31 14:14 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/30 17:39 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/29 15:40 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/28 12:15 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/27 12:58 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/10/22 07:34 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
2017/10/21 16:49 mmots 0f611fb6dcc0 e0a2b195 .config console log report ci-upstream-mmots-kasan-gce
* Struck through repros no longer work on HEAD.