syzbot


INFO: rcu detected stall in mulaw_decode

Status: closed as dup on 2018/01/07 11:33
Subsystems: sound
[Documentation on labels]
Reported-by: syzbot+ebf0a29fce8f37153f57@syzkaller.appspotmail.com
First crash: 2252d, last: 2244d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: rcu detected stall in memcpy sound 12 2245d 2248d
Discussions (1)
Title Replies (including bot) Last reply
INFO: rcu detected stall in mulaw_decode 2 (3) 2018/01/08 13:16

Sample crash report:
QAT: Invalid ioctl
QAT: Invalid ioctl
INFO: rcu_sched detected stalls on CPUs/tasks:
	(detected by 0, t=125002 jiffies, g=12405, c=12404, q=76)
All QSes seen, last rcu_sched kthread activity 125002 (4294853972-4294728970), jiffies_till_next_fqs=3, root ->qsmask 0x0
syz-executor6   R  running task    25448  9732   3707 0x0000000c
Call Trace:
 <IRQ>
 sched_show_task+0x4a3/0x5e0 kernel/sched/core.c:5198
 print_other_cpu_stall+0x996/0x1090 kernel/rcu/tree.c:1564
 check_cpu_stall.isra.61+0x6e6/0x15b0 kernel/rcu/tree.c:1682
 __rcu_pending kernel/rcu/tree.c:3440 [inline]
 rcu_pending kernel/rcu/tree.c:3502 [inline]
 rcu_check_callbacks+0x256/0xd00 kernel/rcu/tree.c:2842
 update_process_times+0x30/0x60 kernel/time/timer.c:1628
 tick_sched_handle+0x85/0x160 kernel/time/tick-sched.c:162
 tick_sched_timer+0x42/0x120 kernel/time/tick-sched.c:1194
 __run_hrtimer kernel/time/hrtimer.c:1211 [inline]
 __hrtimer_run_queues+0x358/0xe20 kernel/time/hrtimer.c:1275
 hrtimer_interrupt+0x1c2/0x5e0 kernel/time/hrtimer.c:1309
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1025 [inline]
 smp_apic_timer_interrupt+0x14a/0x700 arch/x86/kernel/apic/apic.c:1050
 apic_timer_interrupt+0xa9/0xb0 arch/x86/entry/entry_64.S:920
 </IRQ>
RIP: 0010:memcpy_erms+0x8/0x10 arch/x86/lib/memcpy_64.S:54
RSP: 0018:ffff8801cfcb7880 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff11
RAX: ffffc900013569a4 RBX: 0000000000000002 RCX: 0000000000000000
RDX: 0000000000000002 RSI: ffff8801cfcb7972 RDI: ffffc900013569a6
RBP: ffff8801cfcb78a0 R08: fffff5200026ad35 R09: fffff5200026ad35
R10: 0000000000000001 R11: fffff5200026ad34 R12: ffffc900013569a4
R13: ffff8801cfcb7970 R14: dffffc0000000000 R15: ffffc900013569a4
 memcpy include/linux/string.h:344 [inline]
 cvt_s16_to_native sound/core/oss/mulaw.c:164 [inline]
 mulaw_decode+0x52f/0x770 sound/core/oss/mulaw.c:195
 mulaw_transfer+0x222/0x270 sound/core/oss/mulaw.c:273
 snd_pcm_plug_write_transfer+0x22d/0x420 sound/core/oss/pcm_plugin.c:611
 snd_pcm_oss_write2+0x260/0x420 sound/core/oss/pcm_oss.c:1311
 snd_pcm_oss_write1 sound/core/oss/pcm_oss.c:1372 [inline]
 snd_pcm_oss_write+0x5fe/0x830 sound/core/oss/pcm_oss.c:2646
 __vfs_write+0xef/0x970 fs/read_write.c:480
 vfs_write+0x189/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+0x23/0x9a
RIP: 0033:0x452ac9
RSP: 002b:00007ff11ad16c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452ac9
RDX: 00000000fffffffe RSI: 0000000020000ff0 RDI: 0000000000000013
RBP: 0000000000000551 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f6038
R13: 00000000ffffffff R14: 00007ff11ad176d4 R15: 0000000000000000
rcu_sched kthread starved for 125002 jiffies! g12405 c12404 f0x2 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=1
rcu_sched       R  running task    23456     8      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2799 [inline]
 __schedule+0x8eb/0x2060 kernel/sched/core.c:3375
 schedule+0xf5/0x430 kernel/sched/core.c:3434
 schedule_timeout+0x118/0x230 kernel/time/timer.c:1793
 rcu_gp_kthread+0x9e5/0x1930 kernel/rcu/tree.c:2314
 kthread+0x33c/0x400 kernel/kthread.c:238
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:524

Crashes (57):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/01/06 11:30 upstream 89876f275e8d 00193447 .config console log report ci-upstream-kasan-gce
2018/01/05 08:47 upstream e1915c8195b3 00193447 .config console log report ci-upstream-kasan-gce
2018/01/07 10:17 upstream 3219e264b984 19c05fff .config console log report ci-upstream-kasan-gce-386
2018/01/08 10:37 mmots 69eed2290e1d 19c05fff .config console log report ci-upstream-mmots-kasan-gce
2018/01/08 04:13 mmots 69eed2290e1d 19c05fff .config console log report ci-upstream-mmots-kasan-gce
2018/01/08 00:35 linux-next 990b6a07d18c 19c05fff .config console log report ci-upstream-next-kasan-gce
2018/01/08 00:20 mmots 69eed2290e1d 19c05fff .config console log report ci-upstream-mmots-kasan-gce
2018/01/07 19:27 mmots 69eed2290e1d 19c05fff .config console log report ci-upstream-mmots-kasan-gce
2018/01/07 17:21 mmots 69eed2290e1d 19c05fff .config console log report ci-upstream-mmots-kasan-gce
2018/01/07 16:35 mmots 69eed2290e1d 19c05fff .config console log report ci-upstream-mmots-kasan-gce
2018/01/07 13:10 mmots 69eed2290e1d 19c05fff .config console log report ci-upstream-mmots-kasan-gce
2018/01/07 10:17 linux-next 990b6a07d18c 19c05fff .config console log report ci-upstream-next-kasan-gce
2018/01/07 06:20 mmots 69eed2290e1d 19c05fff .config console log report ci-upstream-mmots-kasan-gce
2018/01/07 03:01 mmots 69eed2290e1d 19c05fff .config console log report ci-upstream-mmots-kasan-gce
2018/01/07 02:58 linux-next 990b6a07d18c 19c05fff .config console log report ci-upstream-next-kasan-gce
2018/01/07 02:22 linux-next 990b6a07d18c 053171ea .config console log report ci-upstream-next-kasan-gce
2018/01/06 21:33 linux-next 990b6a07d18c 053171ea .config console log report ci-upstream-next-kasan-gce
2018/01/06 20:14 mmots 69eed2290e1d 053171ea .config console log report ci-upstream-mmots-kasan-gce
2018/01/06 19:37 mmots 69eed2290e1d 053171ea .config console log report ci-upstream-mmots-kasan-gce
2018/01/06 16:51 mmots 69eed2290e1d 053171ea .config console log report ci-upstream-mmots-kasan-gce
2018/01/06 12:31 mmots 69eed2290e1d 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/06 11:53 mmots 69eed2290e1d 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/06 09:02 mmots 69eed2290e1d 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/06 07:11 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/06 05:33 mmots 69eed2290e1d 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/06 03:25 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/06 03:20 mmots 69eed2290e1d 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/06 02:53 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/06 01:53 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 16:20 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/05 15:19 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 10:39 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/05 10:28 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 07:22 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 06:30 linux-next 990b6a07d18c 00193447 .config console log report ci-upstream-next-kasan-gce
2018/01/05 05:04 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/05 02:27 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/04 20:32 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/04 19:08 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
2018/01/04 18:30 mmots ad036b63ee57 00193447 .config console log report ci-upstream-mmots-kasan-gce
* Struck through repros no longer work on HEAD.