syzbot


INFO: rcu detected stall in syscall_return_slowpath

Status: closed as invalid on 2019/12/04 14:04
Subsystems: kernel
[Documentation on labels]
First crash: 1605d, last: 1605d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in syscall_return_slowpath (2) kernel 1 1569d 1569d 0/26 closed as invalid on 2020/01/09 08:13

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-...!: (10499 ticks this GP) idle=55e/1/0x4000000000000002 softirq=10727/10727 fqs=14 
	(t=10501 jiffies g=6249 q=579)
rcu: rcu_preempt kthread starved for 10474 jiffies! g6249 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1
rcu: RCU grace-period kthread stack dump:
rcu_preempt     I29032    10      2 0x80004000
Call Trace:
 context_switch kernel/sched/core.c:3385 [inline]
 __schedule+0x9a0/0xcc0 kernel/sched/core.c:4081
 schedule+0x181/0x210 kernel/sched/core.c:4155
 schedule_timeout+0x14f/0x240 kernel/time/timer.c:1895
 rcu_gp_fqs_loop kernel/rcu/tree.c:1661 [inline]
 rcu_gp_kthread+0xed8/0x1770 kernel/rcu/tree.c:1821
 kthread+0x332/0x350 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
NMI backtrace for cpu 0
CPU: 0 PID: 8129 Comm: syz-executor.0 Not tainted 5.4.0-syzkaller #0
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+0x1fb/0x318 lib/dump_stack.c:118
 nmi_cpu_backtrace+0xaf/0x1a0 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x174/0x290 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x15a/0x220 kernel/rcu/tree_stall.h:254
 print_cpu_stall kernel/rcu/tree_stall.h:455 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:529 [inline]
 rcu_pending kernel/rcu/tree.c:2827 [inline]
 rcu_sched_clock_irq+0xe25/0x1ad0 kernel/rcu/tree.c:2271
 update_process_times+0x12d/0x180 kernel/time/timer.c:1726
 tick_sched_handle kernel/time/tick-sched.c:167 [inline]
 tick_sched_timer+0x263/0x420 kernel/time/tick-sched.c:1310
 __run_hrtimer kernel/time/hrtimer.c:1514 [inline]
 __hrtimer_run_queues+0x403/0x840 kernel/time/hrtimer.c:1576
 hrtimer_interrupt+0x38c/0xda0 kernel/time/hrtimer.c:1638
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline]
 smp_apic_timer_interrupt+0x109/0x280 arch/x86/kernel/apic/apic.c:1135
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:free_thread_stack+0x195/0x590 kernel/fork.c:284
Code: 2e 00 74 08 4c 89 e7 e8 09 a4 69 00 49 8b 1c 24 48 83 c3 08 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 eb a3 69 00 <48> 8b 1b e9 82 ff ff ff e8 de 2c 2e 00 43 80 3c 2e 00 75 18 eb 1e
RSP: 0018:ffffc900024b7c18 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff110121655a1 RBX: ffff888090b2ad08 RCX: ffff8880a03e0300
RDX: 0000000000000000 RSI: 00000000fffffffc RDI: ffffea00024f5a80
RBP: ffffc900024b7c50 R08: 000000000003a768 R09: ffffed1014a6aeaf
R10: ffffed1014a6aeaf R11: 0000000000000000 R12: ffff888090b2ada0
R13: dffffc0000000000 R14: 1ffff110121655b4 R15: ffff8880a5357568
 release_task_stack kernel/fork.c:440 [inline]
 put_task_stack+0xa3/0x130 kernel/fork.c:451
 finish_task_switch+0x3f1/0x550 kernel/sched/core.c:3256
 context_switch kernel/sched/core.c:3388 [inline]
 __schedule+0x9a8/0xcc0 kernel/sched/core.c:4081
 preempt_schedule_irq+0xc1/0x140 kernel/sched/core.c:4338
 retint_kernel+0x1b/0x2b
RIP: 0010:exit_to_usermode_loop arch/x86/entry/common.c:149 [inline]
RIP: 0010:prepare_exit_to_usermode+0x2ae/0x5b0 arch/x86/entry/common.c:195
Code: 45 a0 42 80 3c 28 00 74 0c 48 c7 c7 38 96 0a 89 e8 57 a0 b1 00 48 83 3d 87 23 0a 08 00 0f 84 fa 02 00 00 fb 66 0f 1f 44 00 00 <44> 89 e6 83 e6 08 31 ff e8 d5 2c 76 00 44 89 e0 83 e0 08 75 07 e8
RSP: 0018:ffffc900024b7e60 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff02
RAX: 1ffffffff12152c7 RBX: ffff8880a03e0a70 RCX: ffff8880a03e0300
RDX: 0000000000000000 RSI: ffffffff810076d3 RDI: ffff8880a03e0b44
RBP: ffffc900024b7ec0 R08: ffff8880a03e0b58 R09: ffffed101407c061
R10: ffffed101407c061 R11: 0000000000000000 R12: 0000000000000008
R13: dffffc0000000000 R14: 1ffff1101407c060 R15: ffff8880a03e0300
 syscall_return_slowpath+0x113/0x4a0 arch/x86/entry/common.c:278
 do_syscall_64+0x11f/0x1c0 arch/x86/entry/common.c:304
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4144ba
Code: 0f 83 6a 18 00 00 c3 66 0f 1f 84 00 00 00 00 00 8b 05 be 3f 66 00 85 c0 75 36 45 31 d2 48 63 d2 48 63 ff b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 d4 ff ff ff f7
RSP: 002b:00007ffc26f11fb8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d
RAX: 0000000000000000 RBX: 000000000000e822 RCX: 00000000004144ba
RDX: 0000000040000001 RSI: 00007ffc26f11ff0 RDI: ffffffffffffffff
RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000ea5940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffc26f11ff0 R14: 000000000000e814 R15: 00007ffc26f12000

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/03 08:29 upstream 596cf45cbf6e ab342da3 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.