syzbot


INFO: rcu detected stall in worker_thread

Status: upstream: reported on 2024/05/20 10:24
Reported-by: syzbot+d3a4308cd2ba5cfd5b8c@syzkaller.appspotmail.com
First crash: 25d, last: 1d10h
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in worker_thread (3) cgroups mm 1 1619d 1619d 0/27 closed as invalid on 2020/01/08 05:33
upstream INFO: rcu detected stall in worker_thread (4) cgroups mm 28 1619d 1619d 0/27 closed as invalid on 2020/01/09 08:13
linux-5.15 INFO: rcu detected stall in worker_thread 1 259d 259d 0/3 auto-obsoleted due to no activity on 2024/01/09 18:17
upstream INFO: rcu detected stall in worker_thread (8) kernel 1 402d 402d 0/27 auto-obsoleted due to no activity on 2023/08/07 05:14
upstream INFO: rcu detected stall in worker_thread (5) kernel 2 743d 780d 0/27 auto-closed as invalid on 2022/08/31 00:50
upstream INFO: rcu detected stall in worker_thread (9) mm C done 668 6h08m 251d 0/27 upstream: reported C repro on 2023/10/07 18:33
upstream INFO: rcu detected stall in worker_thread (2) cgroups mm 12 1619d 1619d 0/27 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in worker_thread cgroups mm 150 1654d 1655d 0/27 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in worker_thread (6) kernel 1 619d 619d 0/27 auto-obsoleted due to no activity on 2023/01/12 15:50
linux-5.15 INFO: rcu detected stall in worker_thread (2) 3 1d04h 3d21h 0/3 upstream: reported on 2024/06/10 22:16
upstream INFO: rcu detected stall in worker_thread (7) kernel 1 512d 512d 0/27 auto-obsoleted due to no activity on 2023/04/27 16:37

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-....: (1 GPs behind) idle=bd94/1/0x4000000000000000 softirq=21427/21430 fqs=4485
	(t=10500 jiffies g=28029 q=1190 ncpus=2)
CPU: 1 PID: 3616 Comm: kworker/1:5 Not tainted 6.1.93-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue:  0x0 (events)
RIP: 0010:finish_task_switch+0x1d3/0x810 kernel/sched/core.c:5124
Code: 2e 0b 00 48 83 c4 08 4c 89 f7 e8 98 30 00 00 e9 8f 04 00 00 4c 89 f7 e8 0b 32 36 09 e8 06 1e 32 00 fb 49 8d bc 24 f8 15 00 00 <48> 89 f8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28
RSP: 0018:ffffc900042cfa28 EFLAGS: 00000282
RAX: d85517e1ece85500 RBX: ffff8880b993b748 RCX: ffffffff91c95103
RDX: dffffc0000000000 RSI: ffffffff8aec0240 RDI: ffff8880210233b8
RBP: ffffc900042cfa70 R08: dffffc0000000000 R09: ffffed1017307541
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888021021dc0
R13: 1ffff110173276eb R14: ffff8880b983aa00 R15: ffff8880b993b758
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b14cbad030 CR3: 000000007282a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 context_switch kernel/sched/core.c:5248 [inline]
 __schedule+0x1435/0x4550 kernel/sched/core.c:6558
 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870
 irqentry_exit+0x53/0x80 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:schedule+0xac/0x180 kernel/sched/core.c:6636
Code: 89 f7 e8 37 6a 4e f7 49 8b 3e 48 85 ff 74 0a be 01 00 00 00 e8 c5 92 87 f9 4c 89 e3 48 c1 eb 03 eb 0a 49 f7 04 24 08 00 00 00 <74> 39 bf 01 00 00 00 e8 b8 b7 ca f6 31 ff e8 f1 b9 ff ff bf 01 00
RSP: 0018:ffffc900042cfdc8 EFLAGS: 00000202
RAX: 0000000000000001 RBX: 1ffff110042043b8 RCX: ffffffff8a93a8f6
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888021021dc0
RBP: ffff888021e96868 R08: dffffc0000000000 R09: ffffed10042043b9
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888021021dc0
R13: dffffc0000000000 R14: ffff888021023038 R15: dffffc0000000000
 worker_thread+0xe9d/0x1200 kernel/workqueue.c:2460
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/13 09:23 linux-6.1.y ae9f2a70d69e 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in worker_thread
2024/06/11 01:28 linux-6.1.y 88690811da69 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in worker_thread
2024/06/06 22:15 linux-6.1.y 88690811da69 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in worker_thread
2024/05/20 10:23 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in worker_thread
* Struck through repros no longer work on HEAD.