syzbot


INFO: rcu detected stall in mousedev_write

Status: fixed on 2018/10/18 14:43
Subsystems: input
[Documentation on labels]
Reported-by: syzbot+9436b02171ac0894d33e@syzkaller.appspotmail.com
Fix commit: f74c371fe72a Input: mousedev - add a schedule point in mousedev_write()
First crash: 2067d, last: 2051d
Discussions (7)
Title Replies (including bot) Last reply
[PATCH AUTOSEL 4.14 01/15] ARM: dts: imx53-qsb: disable 1.2GHz OPP 22 (22) 2018/10/26 12:18
[PATCH AUTOSEL 4.18 01/27] ARM: dts: imx53-qsb: disable 1.2GHz OPP 31 (31) 2018/10/23 15:49
[PATCH AUTOSEL 3.18 1/4] Input: mousedev - add a schedule point in mousedev_write() 4 (4) 2018/10/22 10:22
[PATCH AUTOSEL 4.4 1/5] ARM: dts: imx53-qsb: disable 1.2GHz OPP 5 (5) 2018/10/22 10:22
[PATCH AUTOSEL 4.9 1/9] ARM: dts: imx53-qsb: disable 1.2GHz OPP 9 (9) 2018/10/22 10:21
[PATCH] Input: mousedev - add a schedule point in mousedev_write() 9 (9) 2018/10/04 23:01
INFO: rcu detected stall in mousedev_write 0 (1) 2018/08/23 14:35
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in mousedev_write (2) input 1 1891d 1891d 0/26 auto-closed as invalid on 2019/08/13 11:47

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
rcu: INFO: rcu_sched self-detected stall on CPU
rcu: 	0-....: (104994 ticks this GP) idle=e7a/1/0x4000000000000002 softirq=69262/69262 fqs=19236 
rcu: 	 (t=105007 jiffies g=152753 q=2329)
NMI backtrace for cpu 0
CPU: 0 PID: 14399 Comm: syz-executor2 Not tainted 4.19.0-rc2+ #220
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold.3+0x48/0x88 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x151/0x192 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:162 [inline]
 rcu_dump_cpu_stacks+0x175/0x1c2 kernel/rcu/tree.c:1340
 print_cpu_stall.cold.78+0x2fb/0x59c kernel/rcu/tree.c:1478
 check_cpu_stall kernel/rcu/tree.c:1550 [inline]
 __rcu_pending kernel/rcu/tree.c:3276 [inline]
 rcu_pending kernel/rcu/tree.c:3319 [inline]
 rcu_check_callbacks+0xd4a/0x15a0 kernel/rcu/tree.c:2665
 update_process_times+0x2d/0x70 kernel/time/timer.c:1636
 tick_sched_handle+0x9f/0x180 kernel/time/tick-sched.c:164
 tick_sched_timer+0x45/0x130 kernel/time/tick-sched.c:1274
 __run_hrtimer kernel/time/hrtimer.c:1398 [inline]
 __hrtimer_run_queues+0x3eb/0xff0 kernel/time/hrtimer.c:1460
 hrtimer_interrupt+0x2f3/0x750 kernel/time/hrtimer.c:1518
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1029 [inline]
 smp_apic_timer_interrupt+0x16d/0x6a0 arch/x86/kernel/apic/apic.c:1054
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:864
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:788 [inline]
RIP: 0010:lock_acquire+0x25f/0x4f0 kernel/locking/lockdep.c:3904
Code: 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 41 02 00 00 48 83 3d d8 05 b2 06 00 0f 84 a6 01 00 00 48 8b bd 20 ff ff ff 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00
RSP: 0018:ffff8801868679e0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 1ffff10030d0cf41 RCX: 0000000000000000
RDX: 1ffffffff10237c5 RSI: 0000000000000000 RDI: 0000000000000286
RBP: ffff880186867ad0 R08: 000000000000210f R09: 0000000000000000
R10: ffff8801d7596d80 R11: 3e99c3f4787b1055 R12: ffff8801d7596540
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001
 __might_fault+0x155/0x1e0 mm/memory.c:4578
 mousedev_write+0x1cb/0x840 drivers/input/mousedev.c:686
 __vfs_write+0x117/0x9d0 fs/read_write.c:485
 vfs_write+0x1fc/0x560 fs/read_write.c:549
 ksys_write+0x101/0x260 fs/read_write.c:598
 __do_sys_write fs/read_write.c:610 [inline]
 __se_sys_write fs/read_write.c:607 [inline]
 __x64_sys_write+0x73/0xb0 fs/read_write.c:607
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457099
Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f501b674c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f501b6756d4 RCX: 0000000000457099
RDX: 00000000ffffffcc RSI: 0000000020000380 RDI: 0000000000000005
RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004d7d40 R14: 00000000004c1a60 R15: 0000000000000000

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/09/04 07:18 upstream 60c1f89241d4 a4718693 .config console log report ci-upstream-kasan-gce
2018/08/29 10:54 upstream 3f16503b7d22 53ff8784 .config console log report ci-upstream-kasan-gce-root
2018/08/28 09:26 upstream 050cdc6c9501 7ef1de9e .config console log report ci-upstream-kasan-gce
2018/08/27 17:33 upstream 5b394b2ddf03 758cd203 .config console log report ci-upstream-kasan-gce-root
2018/08/25 15:50 upstream 051935978432 9be5aa1d .config console log report ci-upstream-kasan-gce-root
2018/08/25 05:52 upstream aa5b1054badb 9b0f5c75 .config console log report ci-upstream-kasan-gce
2018/08/23 08:07 upstream 899fbc33fd77 95b5c82b .config console log report ci-upstream-kasan-gce
2018/09/06 21:45 upstream b36fdc6853a3 0bb7a7eb .config console log report ci-upstream-kasan-gce-386
2018/09/04 23:19 upstream 28619527b8a7 a4718693 .config console log report ci-upstream-kasan-gce-386
2018/09/01 07:48 upstream 420f51f4ab6b a4718693 .config console log report ci-upstream-kasan-gce-386
2018/08/29 16:01 upstream 3f16503b7d22 53ff8784 .config console log report ci-upstream-kasan-gce-386
2018/08/29 03:16 upstream 3f16503b7d22 b771b17e .config console log report ci-upstream-kasan-gce-386
2018/08/27 01:07 upstream aba16dc5cf93 758cd203 .config console log report ci-upstream-kasan-gce-386
2018/08/26 16:43 upstream 2923b27e5424 758cd203 .config console log report ci-upstream-kasan-gce-386
2018/08/23 22:57 upstream 815f0ddb346c 95b5c82b .config console log report ci-upstream-kasan-gce-386
2018/08/23 04:06 upstream 899fbc33fd77 95b5c82b .config console log report ci-upstream-kasan-gce-386
2018/08/22 09:57 upstream 0214f46b3a03 95b5c82b .config console log report ci-upstream-kasan-gce-386
2018/09/07 01:38 linux-next f2b6e66e9885 e30d3b52 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.