syzbot


INFO: rcu detected stall in waitid

Status: auto-obsoleted due to no activity on 2024/09/20 17:00
Subsystems: kernel
[Documentation on labels]
First crash: 220d, last: 220d

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	(detected by 1, t=10502 jiffies, g=176725, q=337 ncpus=2)
rcu: All QSes seen, last rcu_preempt kthread activity 10496 (4295129709-4295119213), jiffies_till_next_fqs=1, root ->qsmask 0x0
rcu: rcu_preempt kthread starved for 10496 jiffies! g176725 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:R  running task     stack:26064 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5408 [inline]
 __schedule+0xf15/0x5d00 kernel/sched/core.c:6745
 __schedule_loop kernel/sched/core.c:6822 [inline]
 schedule+0xe7/0x350 kernel/sched/core.c:6837
 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581
 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000
 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202
 kthread+0x2c1/0x3a0 kernel/kthread.c:389
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 1 PID: 5099 Comm: syz-fuzzer Not tainted 6.10.0-rc4-syzkaller-00217-g35bb670d65fc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:finish_task_switch.isra.0+0x220/0xcc0 kernel/sched/core.c:5282
Code: a9 0a 00 00 44 8b 0d 77 20 86 0e 45 85 c9 0f 85 c0 01 00 00 48 89 df e8 ae f8 ff ff e8 69 db 36 00 fb 65 48 8b 1d 40 89 a5 7e <48> 8d bb f8 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffffc900032bf970 EFLAGS: 00000202
RAX: 0000000000060bbf RBX: ffff8880265c0000 RCX: 1ffffffff1fc7f59
RDX: 0000000000000000 RSI: ffffffff8b2caf60 RDI: ffffffff8b8ff400
RBP: ffffc900032bf9b8 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8fe43d57 R11: 0000000000000000 R12: ffff8880b933f938
R13: ffff88802a693c00 R14: 0000000000000000 R15: ffff8880b933ebc0
FS:  000000c000753c90(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f42d000 CR3: 000000007886c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 context_switch kernel/sched/core.c:5411 [inline]
 __schedule+0xf1d/0x5d00 kernel/sched/core.c:6745
 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7067
 irqentry_exit+0x36/0x90 kernel/entry/common.c:354
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:preempt_count_add+0x4/0x150 kernel/sched/core.c:5873
Code: cc cc e8 af 47 89 09 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <48> c7 c0 e0 4b b4 94 55 48 ba 00 00 00 00 00 fc ff df 48 89 c1 53
RSP: 0018:ffffc900032bfc30 EFLAGS: 00000202
RAX: 000000000000400e RBX: ffff8880265c0000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff8b2caf60 RDI: 0000000000000001
RBP: ffffed1004cb8000 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff8fe43d57 R11: 0000000000000000 R12: ffff8880265c002c
R13: ffff8880265c0000 R14: ffffc900032bfcf0 R15: 0000000000000000
 __schedule_loop kernel/sched/core.c:6821 [inline]
 schedule+0xe0/0x350 kernel/sched/core.c:6837
 do_wait+0x1dd/0x570 kernel/exit.c:1632
 kernel_waitid+0x116/0x180 kernel/exit.c:1710
 __do_sys_waitid+0x212/0x250 kernel/exit.c:1723
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x40720e
Code: 48 83 ec 38 e8 13 00 00 00 48 83 c4 38 5d c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 01 f0 ff ff 76 15 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff 48
RSP: 002b:000000c0019f8508 EFLAGS: 00000202 ORIG_RAX: 00000000000000f7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 000000000040720e
RDX: 000000c0019f8618 RSI: 00000000000046b8 RDI: 0000000000000001
RBP: 000000c0019f8548 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000001000004 R11: 0000000000000202 R12: 000000c0019f8660
R13: 000000c000753c00 R14: 000000c001fec9c0 R15: 0000000000000003
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/22 16:55 upstream 35bb670d65fc edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in waitid
* Struck through repros no longer work on HEAD.