syzbot


INFO: rcu detected stall in mousedev_write (2)

Status: auto-closed as invalid on 2019/08/13 11:47
Subsystems: input
[Documentation on labels]
First crash: 1897d, last: 1897d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in mousedev_write input 18 2058d 2072d 11/26 fixed on 2018/10/18 14:43

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (1 GPs behind) idle=7a2/1/0x4000000000000002 softirq=13937/13938 fqs=4471 
rcu: 	 (t=10502 jiffies g=12417 q=969)
NMI backtrace for cpu 0
CPU: 0 PID: 10206 Comm: syz-executor.5 Not tainted 5.0.0-rc6+ #71
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+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1be/0x236 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:164 [inline]
 rcu_dump_cpu_stacks+0x183/0x1cf kernel/rcu/tree.c:1211
 print_cpu_stall kernel/rcu/tree.c:1348 [inline]
 check_cpu_stall kernel/rcu/tree.c:1422 [inline]
 rcu_pending kernel/rcu/tree.c:3018 [inline]
 rcu_check_callbacks.cold+0x500/0xa4a kernel/rcu/tree.c:2521
 update_process_times+0x32/0x80 kernel/time/timer.c:1635
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:161
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1271
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x33e/0xde0 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline]
 smp_apic_timer_interrupt+0x120/0x570 arch/x86/kernel/apic/apic.c:1060
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
RIP: 0010:preempt_count_sub+0x12/0x160 kernel/sched/core.c:3230
Code: 00 8b 4d d0 e9 65 fe ff ff 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 c7 c0 a0 6a 55 8a 55 48 ba 00 00 00 00 00 fc ff df <48> 89 c1 48 89 e5 53 83 e0 07 48 c1 e9 03 83 c0 03 89 fb 0f b6 14
RSP: 0018:ffff888052a3fc08 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: ffffffff8a556aa0 RBX: ffff8880916c1800 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff888052a3fc20 R08: ffff888094184680 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880916c19a8
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880916c19a8
 spin_unlock_irq include/linux/spinlock.h:379 [inline]
 mousedev_write+0x116/0x850 drivers/input/mousedev.c:709
 __vfs_write+0x116/0x8e0 fs/read_write.c:485
 vfs_write+0x20c/0x580 fs/read_write.c:549
 ksys_write+0xea/0x1f0 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+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457e29
Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f2bf0ee1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457e29
RDX: 00000000ffffff76 RSI: 0000000020000000 RDI: 0000000000000005
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2bf0ee26d4
R13: 00000000004c736d R14: 00000000004dcec8 R15: 00000000ffffffff

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/02/14 09:09 upstream 1f947a7a011f 6a46f448 .config console log report ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.