syzbot


INFO: rcu detected stall in pipe_read

Status: closed as dup on 2019/12/03 08:34
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+7047406d4ba783c8eb7b@syzkaller.appspotmail.com
First crash: 1662d, last: 1626d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: rcu detected stall in sys_kill cgroups mm 3 1625d 1661d
Discussions (1)
Title Replies (including bot) Last reply
INFO: rcu detected stall in pipe_read 1 (2) 2019/12/03 08:34
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in pipe_read (2) kasan mm 1 738d 738d 0/27 auto-closed as invalid on 2022/09/12 02:39
upstream BUG: soft lockup in pipe_read mm syz 4 8d05h 148d 0/27 upstream: reported syz repro on 2024/01/25 02:05

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-...!: (10499 ticks this GP) idle=ece/1/0x4000000000000002 softirq=11215/11215 fqs=3 
	(t=10501 jiffies g=7157 q=236)
rcu: rcu_preempt kthread starved for 10496 jiffies! g7157 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    28984    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: 8508 Comm: syz-executor.1 Not tainted 5.5.0-rc5-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:1517 [inline]
 __hrtimer_run_queues+0x403/0x840 kernel/time/hrtimer.c:1579
 hrtimer_interrupt+0x38c/0xda0 kernel/time/hrtimer.c:1641
 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:mod_memcg_page_state+0x123/0x190 include/linux/memcontrol.h:653
Code: e8 22 8f 6a 00 48 83 3d b2 fd e1 07 00 74 70 e8 c3 26 2e 00 4c 89 ff 57 9d 0f 1f 44 00 00 e8 44 cf 33 00 eb 43 e8 ad 26 2e 00 <eb> 3c e8 d6 cc 33 00 48 c7 c0 68 95 2a 89 48 c1 e8 03 42 80 3c 20
RSP: 0018:ffffc90001e27a40 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffffffff814897d3 RBX: 0000000000000000 RCX: ffff88808bbe6400
RDX: 0000000000000000 RSI: 00000000fffffffc RDI: ffffea0002910e80
RBP: ffffc90001e27a60 R08: 000000000003a728 R09: fffffbfff124248a
R10: fffffbfff124248a R11: 0000000000000000 R12: dffffc0000000000
R13: dffffc0000000000 R14: 00000000fffffffc R15: ffff8880975695b8
 free_thread_stack+0x168/0x590 kernel/fork.c:280
 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
 schedule+0x181/0x210 kernel/sched/core.c:4155
 pipe_read+0x951/0xeb0 fs/pipe.c:397
 call_read_iter include/linux/fs.h:1896 [inline]
 new_sync_read fs/read_write.c:414 [inline]
 __vfs_read+0x59e/0x730 fs/read_write.c:427
 vfs_read+0x1dd/0x420 fs/read_write.c:461
 ksys_read+0x117/0x220 fs/read_write.c:587
 __do_sys_read fs/read_write.c:597 [inline]
 __se_sys_read fs/read_write.c:595 [inline]
 __x64_sys_read+0x7b/0x90 fs/read_write.c:595
 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x414a60
Code: 01 f0 ff ff 0f 83 90 1b 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 0d 3a 66 00 00 75 14 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 64 1b 00 00 c3 48 83 ec 08 e8 6a fc ff ff
RSP: 002b:00007fff608d88f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000414a60
RDX: 0000000000000038 RSI: 0000000000758040 RDI: 00000000000000f9
RBP: 0000000000717460 R08: 0000000000006000 R09: 0000000000004000
R10: 00007fff608d8290 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff608d8930 R14: 0000000000000003 R15: 00007fff608d8940

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/08 06:18 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/04 01:50 upstream 76bb8b05960c ae13a849 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/04 01:46 upstream 76bb8b05960c ae13a849 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/03 08:49 upstream 596cf45cbf6e ab342da3 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/03 07:16 upstream 596cf45cbf6e ab342da3 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/03 05:43 upstream 596cf45cbf6e ab342da3 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.