syzbot


INFO: rcu detected stall in shrink_dentry_list

Status: closed as dup on 2018/04/14 09:45
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+9275da3e0f734e102b61@syzkaller.appspotmail.com
First crash: 2443d, last: 2385d
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_dentry_list 1 (2) 2018/04/14 09:45

Sample crash report:
INFO: rcu_sched detected stalls on CPUs/tasks:
	(detected by 1, t=125002 jiffies, g=21150, c=21149, q=125)
All QSes seen, last rcu_sched kthread activity 125002 (4294950745-4294825743), jiffies_till_next_fqs=3, root ->qsmask 0x0
syz-executor6   R  running task    21496  4544   4539 0x00000008
Call Trace:
 <IRQ>
 sched_show_task.cold.86+0x27a/0x301 kernel/sched/core.c:5321
 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:__sanitizer_cov_trace_pc+0x14/0x50 kernel/kcov.c:94
RSP: 0018:ffff8801859f7aa0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff8801b4154780 RBX: ffff8801859f7c18 RCX: ffffffff81c672d9
RDX: 0000000000000000 RSI: ffffffff81c62cf3 RDI: ffff8801859f7c18
RBP: ffff8801859f7aa0 R08: ffff8801b4154780 R09: ffffed002ff047ac
R10: ffffed002ff047ac R11: ffff88017f823d63 R12: ffff8801859f7c50
R13: dffffc0000000000 R14: 1ffff10030b3ef82 R15: ffffed0030b3ef85
 shrink_dentry_list+0x5a8/0x7c0 fs/dcache.c:1087
 shrink_dcache_parent+0xba/0x230 fs/dcache.c:1490
 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:0x455777
RSP: 002b:00007fff92297708 EFLAGS: 00000202 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 0000000000455777
RDX: 0000000000000000 RSI: 00007fff922994b0 RDI: 00007fff922994b0
RBP: 00007fff922994b0 R08: 0000000000000000 R09: 0000000000000001
R10: 000000000000000a R11: 0000000000000202 R12: 0000000000e96940
R13: 0000000000000000 R14: 0000000000000225 R15: 0000000000026a95
rcu_sched kthread starved for 125002 jiffies! g21150 c21149 f0x2 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

Crashes (29):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/24 05:04 upstream bee797529d7c f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/23 00:25 upstream a048a07d7f45 f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/04 16:21 upstream 150426981426 9ce14f4b .config console log report ci-upstream-kasan-gce-root
2018/04/17 15:22 upstream a27fc14219f2 b80fd3b5 .config console log report ci-upstream-kasan-gce-root
2018/04/13 17:57 upstream 16e205cf42da 0a0c5db6 .config console log report ci-upstream-kasan-gce-root
2018/06/11 10:04 bpf-next 75d4e704fa8d ae8bdb50 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/02 17:57 bpf-next b4b21a05b8fe 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/01 19:06 bpf-next bcece5dc40b9 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/30 04:20 bpf-next 9ce64f192d16 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/29 01:09 bpf-next 7a1a98c171ea f48c20b8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/24 12:11 bpf-next a1c818109cc8 f48c20b8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/24 02:13 bpf-next a1c818109cc8 f48c20b8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/21 20:45 bpf-next d849f9f9768c f48c20b8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/18 03:03 bpf-next eeacb7166df6 738d58ad .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/14 04:44 bpf-next a84880ef4352 481f030c .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/11 13:50 bpf-next 96112e936350 12c7428a .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/09 19:20 bpf-next 53a7bdfb2a27 12c7428a .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/06 23:50 bpf-next e94fa1d93117 a211da1a .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/30 22:39 bpf-next c0dd967818a2 d5b114b4 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/29 08:00 bpf-next 2c25fc9a503a d5a5d045 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/29 06:56 bpf-next 2c25fc9a503a d5a5d045 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/28 20:13 bpf-next 2c25fc9a503a d5a5d045 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/26 21:51 bpf-next 9b984a20ca84 73417389 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/26 21:16 bpf-next 9b984a20ca84 73417389 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/22 23:27 bpf-next 878a4d328104 d23fcf6c .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/22 09:07 bpf-next 878a4d328104 d23fcf6c .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/21 15:33 bpf-next 878a4d328104 d23fcf6c .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/20 10:54 bpf-next 34df9d37abe0 eae05cb0 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/17 03:28 bpf-next 5d1365940a68 b80fd3b5 .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.