syzbot


WARNING in __snd_rawmidi_transmit_ack (2)

Status: fixed on 2018/08/28 17:48
Subsystems: sound
[Documentation on labels]
Reported-by: syzbot+ec5f605c91812d200367@syzkaller.appspotmail.com
Fix commit: 82fd4b05d704 ALSA: seq: virmidi: Fix discarding the unsubscribed output
First crash: 2080d, last: 2073d
Discussions (1)
Title Replies (including bot) Last reply
WARNING in __snd_rawmidi_transmit_ack (2) 1 (2) 2018/08/14 20:54
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __snd_rawmidi_transmit_ack sound syz 2 2110d 2110d 8/26 fixed on 2018/08/07 13:43

Sample crash report:
WARNING: CPU: 1 PID: 1691 at sound/core/rawmidi.c:1170 __snd_rawmidi_transmit_ack+0x263/0x2f0 sound/core/rawmidi.c:1170
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 1691 Comm: kworker/1:1H Not tainted 4.18.0-next-20180814+ #38
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_highpri snd_vmidi_output_work
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
 panic+0x238/0x4e7 kernel/panic.c:184
 __warn.cold.8+0x163/0x1ba kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:996
RIP: 0010:__snd_rawmidi_transmit_ack+0x263/0x2f0 sound/core/rawmidi.c:1170
Code: ba 01 00 00 00 be 03 00 00 00 e8 18 3a 66 fc e8 e3 44 86 fc 89 d8 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 cd 44 86 fc <0f> 0b e9 72 fe ff ff e8 21 5a c5 fc e9 1b ff ff ff bb ea ff ff ff
RSP: 0018:ffff8801d2a6f5a8 EFLAGS: 00010093
RAX: ffff8801d2a52300 RBX: 0000000000000001 RCX: ffffffff84f64792
RDX: 0000000000000000 RSI: ffffffff84f64923 RDI: 0000000000000006
RBP: ffff8801d2a6f5e8 R08: ffff8801d2a52300 R09: ffffed003607acc1
R10: ffffed003607acc1 R11: ffff8801b03d660b R12: ffff8801ce2479c0
R13: 0000000000001001 R14: 0000000000000001 R15: ffff8801b03d65c0
 snd_rawmidi_transmit_ack+0x51/0x80 sound/core/rawmidi.c:1201
 snd_vmidi_output_work+0x3f4/0x4e0 sound/core/seq/seq_virmidi.c:153
 process_one_work+0xc73/0x1aa0 kernel/workqueue.c:2153
 worker_thread+0x189/0x13c0 kernel/workqueue.c:2296
 kthread+0x35a/0x420 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:415
Shutting down cpus with NMI
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
2018/08/14 13:08 linux-next 4e8b38549b50 7a88b141 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/08/22 05:25 upstream 0214f46b3a03 95b5c82b .config console log report ci-upstream-kasan-gce
2018/08/15 10:20 upstream d0055f351e64 0e6dcb88 .config console log report ci-upstream-kasan-gce
2018/08/19 17:20 upstream 08b5fa819970 2dc4378f .config console log report ci-upstream-kasan-gce-386
2018/08/17 22:11 upstream edb0a2000936 738da825 .config console log report ci-upstream-kasan-gce-386
2018/08/14 12:34 linux-next 4e8b38549b50 7a88b141 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.