syzbot


INFO: rcu detected stall in select_collect

Status: closed as dup on 2018/04/16 09:11
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+5c73ae1814a4a5f3f31b@syzkaller.appspotmail.com
First crash: 2443d, last: 2382d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: rcu detected stall in d_walk fs C 25680 2382d 2444d
Discussions (1)
Title Replies (including bot) Last reply
INFO: rcu detected stall in select_collect 1 (2) 2018/04/16 09:11

Sample crash report:
INFO: rcu_sched detected stalls on CPUs/tasks:
	(detected by 0, t=125002 jiffies, g=9558, c=9557, q=398)
All QSes seen, last rcu_sched kthread activity 125002 (4294886160-4294761158), jiffies_till_next_fqs=3, root ->qsmask 0x0
syz-executor7   R  running task    21816  4563   4555 0x00000008
Call Trace:
 <IRQ>
 sched_show_task.cold.86+0x27a/0x301 kernel/sched/core.c:5338
 print_other_cpu_stall.cold.79+0x92f/0x9d2 kernel/rcu/tree.c:1481
 check_cpu_stall.isra.61+0x706/0xf50 kernel/rcu/tree.c:1599
 __rcu_pending kernel/rcu/tree.c:3356 [inline]
 rcu_pending kernel/rcu/tree.c:3401 [inline]
 rcu_check_callbacks+0x21b/0xad0 kernel/rcu/tree.c:2763
 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+0x3e3/0x10a0 kernel/time/hrtimer.c:1460
 hrtimer_interrupt+0x2f3/0x750 kernel/time/hrtimer.c:1518
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1025 [inline]
 smp_apic_timer_interrupt+0x15d/0x710 arch/x86/kernel/apic/apic.c:1050
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:863
 </IRQ>
RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:69 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x26/0x50 kernel/kcov.c:101
RSP: 0018:ffff880182e7f8f8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff8801aeabc440 RBX: 1ffff100305cff24 RCX: ffffffff81c5c3b4
RDX: 0000000000000000 RSI: ffffffff81c5c4fa RDI: ffff880182e7fc28
RBP: ffff880182e7f8f8 R08: ffff8801aeabc440 R09: ffffed003658d518
R10: ffffed003658d518 R11: ffff8801b2c6a8c3 R12: 0000000000000000
R13: 1ffff100305cff28 R14: ffff880182e7fc18 R15: dffffc0000000000
 select_collect+0x22a/0x5f0 fs/dcache.c:1468
 d_walk+0x3c3/0xc80 fs/dcache.c:1276
 shrink_dcache_parent+0x179/0x230 fs/dcache.c:1486
 vfs_rmdir+0x202/0x470 fs/namei.c:3855
 do_rmdir+0x523/0x610 fs/namei.c:3916
 __do_sys_rmdir fs/namei.c:3934 [inline]
 __se_sys_rmdir fs/namei.c:3932 [inline]
 __x64_sys_rmdir+0x36/0x40 fs/namei.c:3932
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455777
RSP: 002b:00007ffcbc3ce268 EFLAGS: 00000202 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 0000000000455777
RDX: 0000000000000000 RSI: 00007ffcbc3d0010 RDI: 00007ffcbc3d0010
RBP: 00007ffcbc3d0010 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000006 R11: 0000000000000202 R12: 0000000000b80940
R13: 0000000000000000 R14: 000000000000010a R15: 0000000000016d8d
rcu_sched kthread starved for 125002 jiffies! g9558 c9557 f0x2 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=0
RCU grace-period kthread stack dump:
rcu_sched       R  running task    23896     9      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2876 [inline]
 __schedule+0x801/0x1e30 kernel/sched/core.c:3518
 schedule+0xef/0x430 kernel/sched/core.c:3562
 schedule_timeout+0x138/0x240 kernel/time/timer.c:1801
 rcu_gp_kthread+0x6b5/0x1940 kernel/rcu/tree.c:2231
 kthread+0x345/0x410 kernel/kthread.c:240
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412

Crashes (435):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/06/04 17:44 upstream 29dcea88779c 6cbe7c26 .config console log report ci-upstream-kasan-gce-root
2018/06/03 04:19 upstream 4277e6b9fd44 2f93b54f .config console log report ci-upstream-kasan-gce-root
2018/06/01 14:42 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce-root
2018/04/14 13:21 upstream 48023102b707 7a67784c .config console log report ci-upstream-kasan-gce-root
2018/06/13 16:52 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 07:25 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 02:23 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 00:15 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 19:07 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 12:27 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 08:25 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/11 21:16 bpf-next 75d4e704fa8d ae8bdb50 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/11 13:28 bpf-next 75d4e704fa8d ae8bdb50 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/11 07:33 bpf-next 75d4e704fa8d 866118af .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/11 06:04 bpf-next 75d4e704fa8d 866118af .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/11 05:28 bpf-next 75d4e704fa8d 866118af .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/10 23:01 bpf-next 75d4e704fa8d 866118af .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/10 18:15 bpf-next 75d4e704fa8d 866118af .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/10 13:19 bpf-next 75d4e704fa8d 866118af .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/10 03:42 bpf-next 75d4e704fa8d 866118af .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/09 21:38 bpf-next 75d4e704fa8d 866118af .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/09 18:59 bpf-next 75d4e704fa8d 866118af .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/09 13:14 bpf-next 75d4e704fa8d 866118af .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/08 17:43 bpf-next 75d4e704fa8d 83f945db .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/08 12:04 bpf-next 75d4e704fa8d f7b27b7a .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/08 08:23 bpf-next 75d4e704fa8d f7b27b7a .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/08 02:45 bpf-next 75d4e704fa8d 645e75f8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/06 14:01 bpf-next 75d4e704fa8d 41f9540d .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/06 12:46 bpf-next 75d4e704fa8d 41f9540d .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/05 23:39 bpf-next 9fa06104a235 863a24bb .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/05 05:52 bpf-next 34ea38ca2799 a50d873b .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/04 19:34 bpf-next bd3a08aaa9a3 6cbe7c26 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/04 08:38 bpf-next bd3a08aaa9a3 6cbe7c26 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/04 04:16 bpf-next 69b450789136 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/03 15:15 bpf-next 25c1013e0464 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/03 13:46 bpf-next 25c1013e0464 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/03 11:47 bpf-next 25c1013e0464 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/03 02:17 bpf-next 25c1013e0464 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/02 21:24 bpf-next 25c1013e0464 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/02 17:20 bpf-next b4b21a05b8fe 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/02 12:45 bpf-next b4b21a05b8fe 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/01 22:05 bpf-next bcece5dc40b9 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/01 16:33 bpf-next bcece5dc40b9 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.