syzbot


WARNING in reuseport_alloc

Status: fixed on 2017/11/28 03:31
Fix commit: 3b0b4d2c47ec soreuseport: fix initialization race
First crash: 2469d, last: 2439d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in reuseport_alloc net C 408 2447d 2471d 3/27 fixed on 2017/11/11 01:37

Sample crash report:
WARNING: CPU: 1 PID: 3559 at net/core/sock_reuseport.c:41 reuseport_alloc+0x223/0x290 net/core/sock_reuseport.c:39
multiple allocations for the same socket[   46.398464] Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 3559 Comm: syzkaller873510 Not tainted 4.9.57-g9eaaf14 #69
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801cf2cfa88 ffffffff81d91689 ffffffff83a46b40 ffff8801cf2cfb60
 ffffffff83ee8a00 ffffffff82f94533 0000000000000009 ffff8801cf2cfb50
 ffffffff8142e761 0000000041b58ab3 ffffffff84185ca0 ffffffff8142e5a5
Call Trace:
 [<ffffffff81d91689>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d91689>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8142e761>] panic+0x1bc/0x3a8 kernel/panic.c:179
 [<ffffffff811321e4>] __warn+0x1c4/0x1e0 kernel/panic.c:542
 [<ffffffff811322c4>] warn_slowpath_fmt+0xc4/0x110 kernel/panic.c:565
 [<ffffffff82f94533>] reuseport_alloc+0x223/0x290 net/core/sock_reuseport.c:39
 [<ffffffff82f8cad1>] __reuseport_attach_prog net/core/filter.c:1212 [inline]
 [<ffffffff82f8cad1>] sk_reuseport_attach_filter+0x1c1/0x2a0 net/core/filter.c:1300
 [<ffffffff82ee3077>] sock_setsockopt+0x5f7/0x18e0 net/core/sock.c:912
 [<ffffffff82ed2296>] SYSC_setsockopt net/socket.c:1767 [inline]
 [<ffffffff82ed2296>] SyS_setsockopt+0x216/0x250 net/socket.c:1750
 [<ffffffff838aa045>] entry_SYSCALL_64_fastpath+0x23/0xc6
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (106):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/10/19 22:35 https://android.googlesource.com/kernel/common android-4.9 9eaaf14c7829 ab829b1b .config console log report syz C ci-android-49-kasan-gce
2017/11/18 12:30 https://android.googlesource.com/kernel/common android-4.9 f09daf140e6e bf820689 .config console log report ci-android-49-kasan-gce
2017/11/16 18:01 https://android.googlesource.com/kernel/common android-4.9 f09daf140e6e bf820689 .config console log report ci-android-49-kasan-gce
2017/11/12 07:58 https://android.googlesource.com/kernel/common android-4.9 904c79c425ab e0a2b195 .config console log report ci-android-49-kasan-gce
2017/11/11 20:46 https://android.googlesource.com/kernel/common android-4.9 904c79c425ab e0a2b195 .config console log report ci-android-49-kasan-gce
2017/11/11 20:01 https://android.googlesource.com/kernel/common android-4.9 904c79c425ab e0a2b195 .config console log report ci-android-49-kasan-gce
2017/11/10 15:27 https://android.googlesource.com/kernel/common android-4.9 a93e3124db19 e0a2b195 .config console log report ci-android-49-kasan-gce
2017/11/06 23:08 https://android.googlesource.com/kernel/common android-4.9 dfe0a9bcfc3a d49979f7 .config console log report ci-android-49-kasan-gce
2017/11/04 17:17 https://android.googlesource.com/kernel/common android-4.9 dfe0a9bcfc3a d49979f7 .config console log report ci-android-49-kasan-gce
2017/11/04 12:52 https://android.googlesource.com/kernel/common android-4.9 dfe0a9bcfc3a d49979f7 .config console log report ci-android-49-kasan-gce
2017/11/04 02:30 https://android.googlesource.com/kernel/common android-4.9 dfe0a9bcfc3a d49979f7 .config console log report ci-android-49-kasan-gce
2017/11/02 21:12 https://android.googlesource.com/kernel/common android-4.9 6d1448131834 dab7524e .config console log report ci-android-49-kasan-gce
2017/11/02 12:43 https://android.googlesource.com/kernel/common android-4.9 6d1448131834 dab7524e .config console log report ci-android-49-kasan-gce
2017/10/31 19:01 https://android.googlesource.com/kernel/common android-4.9 1f46caef2914 e511d9f8 .config console log report ci-android-49-kasan-gce
2017/10/29 21:56 https://android.googlesource.com/kernel/common android-4.9 3861f0b0f12a 80c74880 .config console log report ci-android-49-kasan-gce
2017/10/28 21:09 https://android.googlesource.com/kernel/common android-4.9 3861f0b0f12a 80c74880 .config console log report ci-android-49-kasan-gce
2017/10/28 10:21 https://android.googlesource.com/kernel/common android-4.9 3861f0b0f12a 80c74880 .config console log report ci-android-49-kasan-gce
2017/10/27 23:10 https://android.googlesource.com/kernel/common android-4.9 3861f0b0f12a 80c74880 .config console log report ci-android-49-kasan-gce
2017/10/27 22:24 https://android.googlesource.com/kernel/common android-4.9 3861f0b0f12a 80c74880 .config console log report ci-android-49-kasan-gce
2017/10/23 23:18 https://android.googlesource.com/kernel/common android-4.9 27155df9e4e6 9bf63a7b .config console log report ci-android-49-kasan-gce
2017/10/21 08:58 https://android.googlesource.com/kernel/common android-4.9 9eaaf14c7829 ab829b1b .config console log report ci-android-49-kasan-gce
* Struck through repros no longer work on HEAD.