syzbot


WARNING in initialize_timer

Status: fixed on 2017/12/21 04:38
Subsystems: sound
[Documentation on labels]
Reported-by: syzbot+f33bd65ef82b2dac666f0d0b79813c222cddb2e9@syzkaller.appspotmail.com
Fix commit: 43a354287032 ALSA: seq: Remove spurious WARN_ON() at timer check
First crash: 2311d, last: 2310d

Sample crash report:
WARNING: CPU: 1 PID: 14379 at sound/core/seq/seq_timer.c:358 initialize_timer+0x22d/0x290 sound/core/seq/seq_timer.c:358
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 14379 Comm: syz-executor2 Not tainted 4.15.0-rc1+ #201
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+0x18/0x20 arch/x86/entry/entry_64.S:930
RIP: 0010:initialize_timer+0x22d/0x290 sound/core/seq/seq_timer.c:358
RSP: 0018:ffff8801c3baf880 EFLAGS: 00010016
RAX: 0000000000010000 RBX: ffff8801d405ba00 RCX: ffffffff840eae7d
RDX: 00000000000000aa RSI: ffffc90001fce000 RDI: ffff8801d405ba50
RBP: ffff8801c3baf8a8 R08: ffffffff86445af8 R09: 1ffff10038775eb9
R10: ffff8801c84ce080 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000286 R14: ffff8801d405ba50 R15: ffff8801cfdfa040
 seq_timer_start sound/core/seq/seq_timer.c:391 [inline]
 snd_seq_timer_start+0x147/0x2b0 sound/core/seq/seq_timer.c:405
 snd_seq_queue_process_event sound/core/seq/seq_queue.c:698 [inline]
 snd_seq_control_queue+0x2b9/0x640 sound/core/seq/seq_queue.c:759
 event_input_timer+0x25/0x30 sound/core/seq/seq_system.c:118
 snd_seq_deliver_single_event.constprop.11+0x2fb/0x940 sound/core/seq/seq_clientmgr.c:621
 snd_seq_deliver_event+0x176/0x840 sound/core/seq/seq_clientmgr.c:822
 snd_seq_client_enqueue_event+0x2b6/0x420 sound/core/seq/seq_clientmgr.c:940
 snd_seq_write+0x34d/0x720 sound/core/seq/seq_clientmgr.c:1069
 __vfs_write+0xef/0x970 fs/read_write.c:480
 vfs_write+0x18f/0x510 fs/read_write.c:544
 SYSC_write fs/read_write.c:589 [inline]
 SyS_write+0xef/0x220 fs/read_write.c:581
 entry_SYSCALL_64_fastpath+0x1f/0x96
RIP: 0033:0x4529d9
RSP: 002b:00007fdba1a75c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 00000000004529d9
RDX: 0000000000000030 RSI: 0000000020e6ffd0 RDI: 000000000000001d
RBP: 000000000000039b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f2728
R13: 00000000ffffffff R14: 00007fdba1a766d4 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/11/30 22:08 upstream a0908a1b7d68 5153aeaf .config console log report ci-upstream-kasan-gce
2017/11/29 15:56 upstream 43570f0383d6 34f2c233 .config console log report ci-upstream-kasan-gce-386
* Struck through repros no longer work on HEAD.