syzbot


INFO: rcu detected stall in do_raw_spin_unlock

Status: closed as dup on 2018/04/14 07:02
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+1218790c9dd8ec245b16@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 do_raw_spin_unlock 1 (2) 2018/04/14 07:02

Sample crash report:
INFO: rcu_sched detected stalls on CPUs/tasks:
	(detected by 1, t=125007 jiffies, g=14396, c=14395, q=145)
All QSes seen, last rcu_sched kthread activity 125014 (4294913083-4294788069), jiffies_till_next_fqs=3, root ->qsmask 0x0
syz-executor2   R  running task    21320  4506   4498 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:memory_is_poisoned_n mm/kasan/kasan.c:213 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline]
RIP: 0010:check_memory_region+0xbd/0x1b0 mm/kasan/kasan.c:267
RSP: 0018:ffff88018240f910 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffffed002f2966c1 RBX: 1ffff1002f2966c0 RCX: ffffffff815e1a5e
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8801794b3600
RBP: ffff88018240f928 R08: ffffed002f2966c1 R09: ffffed002f2966c0
R10: ffffed002f2966c0 R11: ffff8801794b3603 R12: ffffed002f2966c1
R13: dffffc0000000000 R14: ffff88018240f9a8 R15: ffff88018240fb50
 kasan_check_read+0x11/0x20 mm/kasan/kasan.c:272
 atomic_read include/asm-generic/atomic-instrumented.h:21 [inline]
 queued_spin_is_locked include/asm-generic/qspinlock.h:36 [inline]
 debug_spin_unlock kernel/locking/spinlock_debug.c:98 [inline]
 do_raw_spin_unlock+0x9e/0x2e0 kernel/locking/spinlock_debug.c:134
 __raw_spin_unlock include/linux/spinlock_api_smp.h:151 [inline]
 _raw_spin_unlock+0x22/0x30 kernel/locking/spinlock.c:176
 spin_unlock include/linux/spinlock.h:350 [inline]
 d_walk+0x75f/0xc80 fs/dcache.c:1332
 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:0x455777
RSP: 002b:00007ffc1e1cf228 EFLAGS: 00000206 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 0000000000455777
RDX: 0000000000000000 RSI: 00007ffc1e1d0fd0 RDI: 00007ffc1e1d0fd0
RBP: 00007ffc1e1d0fd0 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000006 R11: 0000000000000206 R12: 0000000001dbc940
R13: 0000000000000000 R14: 0000000000000180 R15: 000000000001d76a
rcu_sched kthread starved for 125608 jiffies! g14396 c14395 f0x2 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=0
RCU grace-period kthread stack dump:
rcu_sched       R  running task    23768     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 (271):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/06/03 18:25 upstream 918fe1b31579 2f93b54f .config console log report ci-upstream-kasan-gce-root
2018/06/02 17:41 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce-root
2018/06/02 13:29 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce-root
2018/06/02 09:44 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce-root
2018/06/02 05:49 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce-root
2018/05/27 20:29 upstream 861d9dd37526 f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/27 12:46 upstream 7fbb6157630f f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/26 17:19 upstream bc2dbc5420e8 f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/04/12 22:11 upstream c17b0aadb7d8 eb2295de .config console log report ci-upstream-kasan-gce-root
2018/06/13 20:24 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 09:30 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 00:38 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 19:56 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 08:55 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 06:05 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/11 10:19 bpf-next 75d4e704fa8d ae8bdb50 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/11 04:25 bpf-next 75d4e704fa8d 866118af .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/08 13:05 bpf-next 75d4e704fa8d f7b27b7a .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/07 22:20 bpf-next 75d4e704fa8d 645e75f8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/06 21:12 bpf-next 75d4e704fa8d e0e534c6 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/06 15:19 bpf-next 75d4e704fa8d 41f9540d .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/06 05:54 bpf-next 9fa06104a235 863a24bb .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/04 10:40 bpf-next bd3a08aaa9a3 6cbe7c26 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/03 15:27 bpf-next 25c1013e0464 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/03 14:23 bpf-next 25c1013e0464 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/02 02:07 bpf-next bcece5dc40b9 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/02 01:04 bpf-next bcece5dc40b9 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/31 16:56 bpf-next bcece5dc40b9 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/31 10:13 bpf-next bcece5dc40b9 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/31 06:54 bpf-next bcece5dc40b9 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/31 00:25 bpf-next 13a370b9d275 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/30 16:51 bpf-next 13a370b9d275 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/30 03:43 bpf-next 9ce64f192d16 2f93b54f .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/29 09:08 bpf-next f198222f0567 f48c20b8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/29 03:40 bpf-next f198222f0567 f48c20b8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/28 19:41 bpf-next 7a1a98c171ea f48c20b8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/28 11:47 bpf-next a493f5f9d8c2 f48c20b8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/28 09:49 bpf-next a493f5f9d8c2 f48c20b8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/28 00:01 bpf-next a493f5f9d8c2 f48c20b8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/27 19:14 bpf-next 9c5904904b88 f48c20b8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/27 16:53 bpf-next 9c5904904b88 f48c20b8 .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.