syzbot


INFO: rcu detected stall in shrink_dcache_parent

Status: closed as dup on 2018/04/14 07:02
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+8e4a81166025b5b7fa66@syzkaller.appspotmail.com
First crash: 2444d, 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 shrink_dcache_parent 1 (3) 2018/04/14 07:02

Sample crash report:
EXT4-fs (sda1): re-mounted. Opts: 
EXT4-fs (sda1): re-mounted. Opts: 
EXT4-fs (sda1): re-mounted. Opts: 
EXT4-fs (sda1): re-mounted. Opts: 
EXT4-fs (sda1): re-mounted. Opts: 
INFO: rcu_sched self-detected stall on CPU
	0-...!: (124998 ticks this GP) idle=59a/1/4611686018427387906 softirq=99006/99006 fqs=0 
	 (t=125000 jiffies g=50394 c=50393 q=32)
rcu_sched kthread starved for 125000 jiffies! g50394 c50393 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=1
RCU grace-period kthread stack dump:
rcu_sched       R  running task    23896     9      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2859 [inline]
 __schedule+0x801/0x1e30 kernel/sched/core.c:3501
 schedule+0xef/0x430 kernel/sched/core.c:3545
 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
NMI backtrace for cpu 0
CPU: 0 PID: 4536 Comm: syz-executor904 Not tainted 4.17.0-rc6+ #70
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+0x1b9/0x294 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103
 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:156 [inline]
 rcu_dump_cpu_stacks+0x175/0x1c2 kernel/rcu/tree.c:1376
 print_cpu_stall kernel/rcu/tree.c:1525 [inline]
 check_cpu_stall.isra.61.cold.80+0x36c/0x59a kernel/rcu/tree.c:1593
 __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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:783 [inline]
RIP: 0010:seqcount_lockdep_reader_access include/linux/seqlock.h:83 [inline]
RIP: 0010:read_seqcount_begin include/linux/seqlock.h:164 [inline]
RIP: 0010:read_seqbegin include/linux/seqlock.h:433 [inline]
RIP: 0010:read_seqbegin_or_lock include/linux/seqlock.h:529 [inline]
RIP: 0010:d_walk+0x840/0xc80 fs/dcache.c:1248
RSP: 0018:ffff8801ae0ff9f8 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffff8801acfb6340 RBX: 0000000000000293 RCX: 1ffff100359f6d7d
RDX: 0000000000000000 RSI: ffffffff81c6691b RDI: 0000000000000293
RBP: ffff8801ae0ffb78 R08: ffff8801acfb6b78 R09: 0000000000000006
R10: ffff8801acfb6340 R11: 0000000000000000 R12: 0000000000000200
R13: dffffc0000000000 R14: 1ffff10035c1ff82 R15: ffff8801ae0ffb50
 shrink_dcache_parent+0x179/0x230 fs/dcache.c:1486
 vfs_rmdir+0x202/0x470 fs/namei.c:3850
 do_rmdir+0x523/0x610 fs/namei.c:3911
 __do_sys_rmdir fs/namei.c:3929 [inline]
 __se_sys_rmdir fs/namei.c:3927 [inline]
 __x64_sys_rmdir+0x36/0x40 fs/namei.c:3927
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x441837
RSP: 002b:00007ffc2d96b798 EFLAGS: 00000207 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 0000000000441837
RDX: 0000000000000000 RSI: 00000000006cd858 RDI: 00007ffc2d96c880
RBP: 00007ffc2d96c880 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000006 R11: 0000000000000207 R12: 00000000016928a0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000

Crashes (11660):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/28 03:57 upstream 861d9dd37526 f48c20b8 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/13 16:40 upstream 16e205cf42da 0a0c5db6 .config console log report syz C ci-upstream-kasan-gce-root
2018/05/28 16:05 upstream b04e217704b7 f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/04/12 22:56 upstream c17b0aadb7d8 eb2295de .config console log report ci-upstream-kasan-gce-root
2018/06/13 22:58 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 21:35 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 20:23 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 20:00 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 18:29 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 17:09 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 16:08 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 14:57 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 13:15 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 12:11 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 11:11 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 09:40 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 08:51 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 07:45 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 06:36 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 05:36 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 04:08 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 03:06 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 03:01 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 02:00 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 00:43 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 23:42 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 23:17 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 22:08 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 20:47 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 19:40 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 19:12 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 18:04 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 16:22 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 14:33 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 13:16 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 12:14 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 11:11 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 09:41 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/12 07:24 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 07:06 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 05:46 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 04:44 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 03:12 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 01:48 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.