syzbot


INFO: rcu detected stall in worker_thread (7)

Status: auto-obsoleted due to no activity on 2023/04/27 16:37
Subsystems: kernel
[Documentation on labels]
First crash: 470d, last: 470d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in worker_thread (3) cgroups mm 1 1577d 1577d 0/26 closed as invalid on 2020/01/08 05:33
upstream INFO: rcu detected stall in worker_thread (4) cgroups mm 28 1577d 1577d 0/26 closed as invalid on 2020/01/09 08:13
linux-5.15 INFO: rcu detected stall in worker_thread 1 218d 218d 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 360d 360d 0/26 auto-obsoleted due to no activity on 2023/08/07 05:14
upstream INFO: rcu detected stall in worker_thread (5) kernel 2 702d 738d 0/26 auto-closed as invalid on 2022/08/31 00:50
upstream INFO: rcu detected stall in worker_thread (9) netfilter serial C done 151 1h50m 209d 0/26 upstream: reported C repro on 2023/10/07 18:33
upstream INFO: rcu detected stall in worker_thread (2) cgroups mm 12 1577d 1578d 0/26 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in worker_thread cgroups mm 150 1612d 1614d 0/26 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in worker_thread (6) kernel 1 577d 577d 0/26 auto-obsoleted due to no activity on 2023/01/12 15:50

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...!: (1 GPs behind) idle=3954/1/0x4000000000000000 softirq=74648/74649 fqs=15
	(detected by 0, t=10505 jiffies, g=125181, q=184 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5457 Comm: kworker/u4:8 Not tainted 6.2.0-rc4-syzkaller-00067-g7287904c8771 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue:  0x0 (events_unbound)
RIP: 0010:__lock_acquire+0x9c/0x1f60
Code: 89 ef e8 27 ee 77 00 48 ba 00 00 00 00 00 fc ff df 48 c7 c0 80 30 83 90 49 39 45 00 75 03 45 31 e4 89 6c 24 44 44 89 74 24 60 <44> 89 7c 24 28 83 fb 01 77 2f 89 d8 49 8d 6c c5 08 48 89 e8 48 c1
RSP: 0018:ffffc900001e0a48 EFLAGS: 00000083
RAX: ffffffff90833080 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8880b992a6d8
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: fffffbfff1d60956 R11: 1ffffffff1d60955 R12: 0000000000000001
R13: ffff8880b992a6d8 R14: 0000000000000001 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32122000 CR3: 0000000033489000 CR4: 00000000003506e0
DR0: 00000000b71d070c DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5668
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline]
 _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170
 __run_hrtimer kernel/time/hrtimer.c:1689 [inline]
 __hrtimer_run_queues+0x546/0xa60 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
 __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1113
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:finish_lock_switch+0x90/0x100 kernel/sched/core.c:5053
Code: 45 31 c9 68 06 a2 62 81 e8 ad ee 09 00 48 83 c4 08 4c 89 ff e8 b1 b8 fe ff 66 90 4c 89 ff e8 e7 c7 6c 09 e8 22 ec 31 00 fb 5b <41> 5c 41 5d 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 87
RSP: 0018:ffffc9000554fbb8 EFLAGS: 00000282
RAX: 99277bc5f474dc00 RBX: ffff88804cd79d74 RCX: ffffffff9216b003
RDX: dffffc0000000000 RSI: ffffffff8b0d99e0 RDI: ffffffff8b697840
RBP: ffffc9000554fc30 R08: dffffc0000000000 R09: ffffed1017327439
R10: ffffed1017327439 R11: 1ffff11017327438 R12: dffffc0000000000
R13: 1ffff110173275e3 R14: ffff8880b993af18 R15: ffff8880b993a1c0
 finish_task_switch+0x140/0x610 kernel/sched/core.c:5170
 context_switch kernel/sched/core.c:5296 [inline]
 __schedule+0x9d9/0xe40 kernel/sched/core.c:6606
 schedule+0xcb/0x190 kernel/sched/core.c:6682
 worker_thread+0xfbf/0x1330 kernel/workqueue.c:2457
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10429 jiffies! g125181 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=131160
rcu: rcu_preempt kthread starved for 10430 jiffies! g125181 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
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:I stack:26488 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5293 [inline]
 __schedule+0x9d1/0xe40 kernel/sched/core.c:6606
 schedule+0xcb/0x190 kernel/sched/core.c:6682
 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:2167
 rcu_gp_fqs_loop+0x309/0x1070 kernel/rcu/tree.c:1656
 rcu_gp_kthread+0xa5/0x390 kernel/rcu/tree.c:1855
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 PID: 23021 Comm: syz-executor.2 Not tainted 6.2.0-rc4-syzkaller-00067-g7287904c8771 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline]
RIP: 0010:smp_call_function_many_cond+0xea0/0x1420 kernel/smp.c:987
Code: ff e8 d4 54 0b 00 41 83 e4 01 75 0e e8 a9 50 0b 00 eb 4c 0f 1f 80 00 00 00 00 f3 90 48 b8 00 00 00 00 00 fc ff df 0f b6 04 03 <84> c0 75 10 41 f7 06 01 00 00 00 74 23 e8 7e 50 0b 00 eb dc 44 89
RSP: 0018:ffffc9000ce2f580 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 1ffff11017328139 RCX: 0000000000040000
RDX: ffffc9001517b000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc9000ce2f720 R08: ffffffff818277ec R09: fffffbfff212e631
R10: fffffbfff212e631 R11: 1ffffffff212e630 R12: 0000000000000001
R13: 0000000000000001 R14: ffff8880b99409c8 R15: ffff8880b983b280
FS:  00007faae9974700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32124000 CR3: 0000000033489000 CR4: 00000000003506f0
DR0: 00000000b71d070c DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1155
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:1772 [inline]
 text_poke_bp_batch+0x2b4/0x850 arch/x86/kernel/alternative.c:1963
 text_poke_bp+0xa7/0xf0 arch/x86/kernel/alternative.c:2167
 arch_static_call_transform+0x8c/0x1c0 arch/x86/kernel/static_call.c:119
 __static_call_update+0xd4/0x610 kernel/static_call_inline.c:147
 tracepoint_update_call kernel/tracepoint.c:317 [inline]
 tracepoint_add_func+0x797/0x9f0 kernel/tracepoint.c:365
 tracepoint_probe_register_prio_may_exist+0x11d/0x190 kernel/tracepoint.c:482
 bpf_raw_tp_link_attach+0x451/0x6b0 kernel/bpf/syscall.c:3351
 bpf_raw_tracepoint_open+0x195/0x200 kernel/bpf/syscall.c:3378
 __sys_bpf+0x4b6/0x6d0 kernel/bpf/syscall.c:5021
 __do_sys_bpf kernel/bpf/syscall.c:5083 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5081 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5081
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7faae8c8c0c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007faae9974168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007faae8dabf80 RCX: 00007faae8c8c0c9
RDX: 000000000000000e RSI: 0000000020000040 RDI: 0000000000000011
RBP: 00007faae8ce7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff82da812f R14: 00007faae9974300 R15: 0000000000022000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/19 15:26 upstream 7287904c8771 1b826a2f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in worker_thread
* Struck through repros no longer work on HEAD.