syzbot


mmots test error: WARNING in __wake_up_common

Status: closed as invalid on 2018/02/26 09:28
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+8a9655dff1b0463b1f5eb8f45a81d652d08d428b@syzkaller.appspotmail.com
Fix commit: ee8ef0a4b167 epoll: use the waitqueue lock to protect ep->wq
First crash: 2807d, last: 2801d

Sample crash report:
WARNING: CPU: 1 PID: 3089 at kernel/sched/wait.c:79 __wake_up_common+0x433/0x770 kernel/sched/wait.c:79
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 3089 Comm: syz-fuzzer Not tainted 4.15.0-rc2-mm1+ #38
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x194/0x257 lib/dump_stack.c:53
 panic+0x1e4/0x41c kernel/panic.c:183
 __warn+0x1dc/0x200 kernel/panic.c:547
 report_bug+0x211/0x2d0 lib/bug.c:184
 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:177
 fixup_bug arch/x86/kernel/traps.c:246 [inline]
 do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:295
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
 invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:1066
RIP: 0010:__wake_up_common+0x433/0x770 kernel/sched/wait.c:79
RSP: 0018:ffff8801cb5bf4b0 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff8801cc446190 RCX: 0000000000000004
RDX: 1ffffffff0bd9719 RSI: ffff8801cc4461a8 RDI: 0000000000000082
RBP: ffff8801cb5bf5b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff87488d60 R12: 0000000000000000
R13: ffff8801cc4461d0 R14: 0000000000000001 R15: ffff8801cc446230
 __wake_up_locked+0x11/0x20 kernel/sched/wait.c:160
 ep_insert+0x15a5/0x1ac0 fs/eventpoll.c:1497
 SYSC_epoll_ctl fs/eventpoll.c:2104 [inline]
 SyS_epoll_ctl+0x12bf/0x1a80 fs/eventpoll.c:1990
 entry_SYSCALL_64_fastpath+0x1f/0x96
RIP: 0033:0x45f7d8
RSP: 002b:000000c4203f93f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9
RAX: ffffffffffffffda RBX: 00007fb9110ff700 RCX: 000000000045f7d8
RDX: 0000000000000003 RSI: 0000000000000001 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 000000c4203f9424 R11: 0000000000000246 R12: 00007fb9118ffbb0
R13: 00007fb9110ff9c0 R14: 00007fb91422e040 R15: 0000000000000003
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/12/06 17:32 mmots e8937c8da753 5d643f8e .config console log report ci-upstream-mmots-kasan-gce
2017/12/06 09:55 mmots e8937c8da753 0796857b .config console log report ci-upstream-mmots-kasan-gce
2017/12/06 02:53 mmots e8937c8da753 0796857b .config console log report ci-upstream-mmots-kasan-gce
2017/12/04 08:08 mmots 11f44eb001da 2fa91450 .config console log report ci-upstream-mmots-kasan-gce
2017/12/02 01:10 mmots 11f44eb001da 2fa91450 .config console log report ci-upstream-mmots-kasan-gce
2017/12/01 13:03 mmots 11f44eb001da 2fa91450 .config console log report ci-upstream-mmots-kasan-gce
* Struck through repros no longer work on HEAD.