syzbot


INFO: rcu detected stall in _raw_spin_unlock

Status: closed as dup on 2018/04/14 07:02
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+de49a4f1661f0fa54bc3@syzkaller.appspotmail.com
First crash: 2453d, last: 2391d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: rcu detected stall in d_walk fs C 25680 2391d 2453d
Discussions (1)
Title Replies (including bot) Last reply
INFO: rcu detected stall in _raw_spin_unlock 1 (2) 2018/04/14 07:02

Sample crash report:
EXT4-fs (sda1): re-mounted. Opts: noblock_validity,
EXT4-fs (sda1): re-mounted. Opts: noblock_validity,
EXT4-fs (sda1): re-mounted. Opts: noblock_validity,
EXT4-fs (sda1): re-mounted. Opts: noblock_validity,
EXT4-fs (sda1): re-mounted. Opts: noblock_validity,
INFO: rcu_sched detected stalls on CPUs/tasks:
	(detected by 0, t=125007 jiffies, g=33716, c=33715, q=60)
All QSes seen, last rcu_sched kthread activity 125014 (4295675265-4295550251), jiffies_till_next_fqs=3, root ->qsmask 0x0
syz-executor662 R  running task    21224  4498   4488 0x00000008
Call Trace:
 <IRQ>
 sched_show_task.cold.86+0x27a/0x301 kernel/sched/core.c:5325
 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:173
 tick_sched_timer+0x45/0x130 kernel/time/tick-sched.c:1283
 __run_hrtimer kernel/time/hrtimer.c:1386 [inline]
 __hrtimer_run_queues+0x3e3/0x10a0 kernel/time/hrtimer.c:1448
 hrtimer_interrupt+0x286/0x650 kernel/time/hrtimer.c:1506
 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:lock_release+0x4d4/0xa10 kernel/locking/lockdep.c:3942
RSP: 0018:ffff8801b03d78a0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 1ffff1003607af19 RCX: 1ffff10035faa155
RDX: 1ffffffff11a315d RSI: 0000000000000005 RDI: 0000000000000286
RBP: ffff8801b03d79d0 R08: 1ffff1003607af1d R09: ffffed00354cbc78
R10: 0000000000000003 R11: 0000000000000004 R12: ffff8801afd50280
R13: ffff8801aa65e3d8 R14: ffff8801afd50280 R15: ffff8801b03d78e8
 __raw_spin_unlock include/linux/spinlock_api_smp.h:150 [inline]
 _raw_spin_unlock+0x1a/0x30 kernel/locking/spinlock.c:176
 spin_unlock include/linux/spinlock.h:350 [inline]
 d_walk+0x451/0xc80 fs/dcache.c:1298
 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:0x442d77
RSP: 002b:00007ffe646cb5a8 EFLAGS: 00000207 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 0000000000442d77
RDX: 0000000000000000 RSI: 00000000006d5618 RDI: 00007ffe646ccdc0
RBP: 00007ffe646ccdc0 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000006 R11: 0000000000000207 R12: 0000000000d73960
R13: 0000000000000000 R14: 00000000000d78b2 R15: 00007ffe646cc7b8
rcu_sched kthread starved for 125597 jiffies! g33716 c33715 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:2848 [inline]
 __schedule+0x801/0x1e30 kernel/sched/core.c:3490
 schedule+0xef/0x430 kernel/sched/core.c:3549
 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:238
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412

Crashes (8720):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/27 13:53 upstream 0644f186fc9d 73417389 .config console log report syz C ci-upstream-kasan-gce-root
2018/06/04 16:07 upstream 29dcea88779c 6cbe7c26 .config console log report ci-upstream-kasan-gce-root
2018/04/12 18:30 upstream c17b0aadb7d8 eb2295de .config console log report ci-upstream-kasan-gce-root
2018/06/13 22:28 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 20:57 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 19:50 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 18:39 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 17:34 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 16:28 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 15:36 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 14:14 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 12:47 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 11:39 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 10:25 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 09:12 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 08:16 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 06:51 bpf-next 75d4e704fa8d 27c5f59f .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 05:40 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 04:20 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 03:17 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 02:16 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 01:56 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/13 00:50 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 23:49 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 22:41 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 21:36 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 21:02 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 19:59 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 18:32 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 18:30 bpf-next 75d4e704fa8d 6dcbc435 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 17:22 bpf-next 75d4e704fa8d 598eb192 .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 13:07 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 11:31 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 10:26 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 09:25 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 08:09 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 06:59 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 05:27 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 04:03 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 02:48 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 01:40 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/12 00:26 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/11 23:01 bpf-next 75d4e704fa8d 112eec79 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/11 21:23 bpf-next 75d4e704fa8d ae8bdb50 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/11 20:58 bpf-next 75d4e704fa8d ae8bdb50 .config console log report ci-upstream-bpf-next-kasan-gce
2018/06/11 19:35 bpf-next 75d4e704fa8d ae8bdb50 .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.