syzbot


WARNING in snd_pcm_hw_param_first

Status: fixed on 2018/01/19 01:24
Subsystems: sound
[Documentation on labels]
Reported-by: syzbot+6f11c7e2a1b91d466432@syzkaller.appspotmail.com
Fix commit: fe08f34d066f ALSA: pcm: Remove incorrect snd_BUG_ON() usages
First crash: 2530d, last: 2520d
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING in snd_pcm_hw_param_last sound C 14 2520d 2529d 0/28 closed as dup on 2018/01/02 14:05
Discussions (7)
Title Replies (including bot) Last reply
[PATCH 3.16 000/254] 3.16.55-rc1 review 261 (261) 2018/03/03 15:48
[PATCH 3.2 000/140] 3.2.100-rc1 review 142 (142) 2018/02/28 16:57
[PATCH 4.4 00/87] 4.4.112-stable review 103 (103) 2018/02/14 16:43
[PATCH 4.9 00/96] 4.9.77-stable review 111 (111) 2018/01/21 16:03
[PATCH 4.14 000/118] 4.14.14-stable review 139 (139) 2018/01/16 20:50
[PATCH 3.18 00/46] 3.18.92-stable review 50 (50) 2018/01/16 20:31
WARNING in snd_pcm_hw_param_first 4 (5) 2018/01/02 13:05

Sample crash report:
WARNING: CPU: 1 PID: 30133 at sound/core/pcm_lib.c:1635 snd_pcm_hw_param_first+0x289/0x690 sound/core/pcm_lib.c:1635
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 30133 Comm: syzkaller761422 Not tainted 4.15.0-rc6+ #250
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:178
 fixup_bug arch/x86/kernel/traps.c:247 [inline]
 do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
 invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:1079
RIP: 0010:snd_pcm_hw_param_first+0x289/0x690 sound/core/pcm_lib.c:1635
RSP: 0018:ffff8801cddfee00 EFLAGS: 00010293
RAX: ffff8801c0290200 RBX: ffff8801c29a1b40 RCX: ffffffff841bfb79
RDX: 0000000000000000 RSI: 00000000ffffffea RDI: ffffed0039bbfdb8
RBP: ffff8801cddfee50 R08: ffffed0039bbfcef R09: ffff8801cddfe770
R10: 0000000000000001 R11: ffffed0039bbfcee R12: 000000000000000d
R13: 00000000ffffffea R14: 0000000000000005 R15: 0000000000002000
 snd_pcm_hw_param_near.constprop.27+0x78d/0x9a0 sound/core/oss/pcm_oss.c:457
 snd_pcm_oss_change_params+0x17d3/0x3720 sound/core/oss/pcm_oss.c:969
 snd_pcm_oss_make_ready+0xaa/0x130 sound/core/oss/pcm_oss.c:1128
 snd_pcm_oss_sync+0x257/0x830 sound/core/oss/pcm_oss.c:1638
 snd_pcm_oss_release+0x20b/0x280 sound/core/oss/pcm_oss.c:2431
 __fput+0x327/0x7e0 fs/file_table.c:210
 ____fput+0x15/0x20 fs/file_table.c:244
 task_work_run+0x199/0x270 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x9bb/0x1ad0 kernel/exit.c:865
 do_group_exit+0x149/0x400 kernel/exit.c:968
 get_signal+0x73f/0x16c0 kernel/signal.c:2335
 do_signal+0x90/0x1eb0 arch/x86/kernel/signal.c:809
 exit_to_usermode_loop+0x214/0x310 arch/x86/entry/common.c:158
 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline]
 syscall_return_slowpath+0x490/0x550 arch/x86/entry/common.c:264
 entry_SYSCALL_64_fastpath+0x98/0x9a
RIP: 0033:0x44b539
RSP: 002b:00007f60c24f4cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000000 RBX: 00000000006ddc3c RCX: 000000000044b539
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000006ddc3c
RBP: 00000000006ddc38 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd67893a4f R14: 00007f60c24f59c0 R15: 0000000000000004
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2905):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/01/07 18:37 upstream 3219e264b984 19c05fff .config console log report syz C ci-upstream-kasan-gce
2018/01/05 15:16 upstream e1915c8195b3 00193447 .config console log report syz C ci-upstream-kasan-gce
2018/01/05 02:21 upstream e1915c8195b3 00193447 .config console log report syz C ci-upstream-kasan-gce
2018/01/03 11:14 upstream 30a7acd57389 00193447 .config console log report syz C ci-upstream-kasan-gce
2017/12/31 21:18 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce
2017/12/31 20:44 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce
2018/01/05 15:14 upstream e1915c8195b3 00193447 .config console log report syz C ci-upstream-kasan-gce-386
2018/01/05 00:01 upstream e1915c8195b3 00193447 .config console log report syz C ci-upstream-kasan-gce-386
2018/01/03 11:15 upstream 30a7acd57389 00193447 .config console log report syz C ci-upstream-kasan-gce-386
2017/12/31 17:14 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce-386
2017/12/31 14:18 upstream 71ee203389f7 00193447 .config console log report syz C ci-upstream-kasan-gce-386
2018/01/05 14:52 mmots ad036b63ee57 00193447 .config console log report syz C ci-upstream-mmots-kasan-gce
2018/01/05 00:41 mmots ad036b63ee57 00193447 .config console log report syz C ci-upstream-mmots-kasan-gce
2018/01/03 11:03 mmots ad036b63ee57 00193447 .config console log report syz C ci-upstream-mmots-kasan-gce
2018/01/02 17:16 upstream 30a7acd57389 00193447 .config console log report syz ci-upstream-kasan-gce
2018/01/01 07:42 upstream 30a7acd57389 00193447 .config console log report syz ci-upstream-kasan-gce
2018/01/07 18:25 upstream 3219e264b984 19c05fff .config console log report syz ci-upstream-kasan-gce-386
2018/01/01 02:33 upstream 30a7acd57389 00193447 .config console log report syz ci-upstream-kasan-gce-386
2018/01/05 08:26 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 08:25 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 08:22 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 08:22 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 08:19 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 08:17 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 08:12 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 08:12 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 08:12 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 08:06 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 08:05 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 08:04 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 07:58 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 07:56 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 07:54 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 07:54 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 07:52 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 07:48 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 07:47 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 07:35 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 07:25 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 07:23 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 07:15 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 06:57 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 06:40 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 06:38 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 06:34 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 06:24 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 06:21 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/09 21:27 upstream d476c5334f1d 1f60c828 .config console log report ci-upstream-kasan-gce-386
2018/01/05 07:44 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 07:42 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 07:25 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 07:09 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 06:35 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 06:32 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce-386
2018/01/05 08:15 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/05 07:45 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/05 06:24 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/05 06:22 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
* Struck through repros no longer work on HEAD.