syzbot


INFO: rcu detected stall in x64_sys_call

Status: upstream: reported on 2025/05/03 06:03
Reported-by: syzbot+64ee990e6d40cb3b4399@syzkaller.appspotmail.com
First crash: 66d, last: 66d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in x64_sys_call 1 375d 375d 0/3 auto-obsoleted due to no activity on 2024/10/06 02:18
android-6-12 BUG: soft lockup in x64_sys_call 2 11d 14d 0/1 premoderation: reported on 2025/06/23 18:09
upstream INFO: rcu detected stall in x64_sys_call mm syz error 315 17h49m 301d 0/29 upstream: reported syz repro on 2024/09/09 20:48
android-5-15 BUG: soft lockup in x64_sys_call origin:upstream C 26 67d 317d 0/2 upstream: reported C repro on 2024/08/25 04:51
android-6-1 BUG: soft lockup in x64_sys_call origin:upstream syz 2 16d 148d 0/2 premoderation: reported syz repro on 2025/02/10 08:39

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...!: (3 ticks this GP) idle=7e54/1/0x4000000000000000 softirq=10050/10050 fqs=10
	(detected by 0, t=10505 jiffies, g=10765, q=633 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4337 Comm: udevd Not tainted 6.1.136-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:__lock_acquire+0xda8/0x7c50 kernel/locking/lockdep.c:5019
Code: 48 c1 e8 03 49 b8 00 00 00 00 00 fc ff df 42 0f b6 04 00 84 c0 0f 85 a6 5b 00 00 83 3d 10 08 39 15 00 48 8b 84 24 a8 00 00 00 <75> 34 48 63 d8 48 89 d8 48 c1 e8 06 48 8d 3c c5 40 82 8b 90 be 08
RSP: 0018:ffffc900001e08c0 EFLAGS: 00000046
RAX: 00000000000009b5 RBX: ffff88802ad14644 RCX: ffffffff969bf103
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff908b8370
RBP: ffffc900001e0b10 R08: dffffc0000000000 R09: fffffbfff211706f
R10: fffffbfff211706f R11: 1ffffffff211706e R12: ffff88802ad13b80
R13: ffff88802ad14602 R14: ffff88802ad14660 R15: ffff88802ad14680
FS:  00007f7aa1700c80(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555576572808 CR3: 00000000283ba000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:351 [inline]
 advance_sched+0x47/0x970 net/sched/sch_taprio.c:700
 __run_hrtimer kernel/time/hrtimer.c:1691 [inline]
 __hrtimer_run_queues+0x522/0xc80 kernel/time/hrtimer.c:1755
 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1817
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
 __sysvec_apic_timer_interrupt+0x153/0x5a0 arch/x86/kernel/apic/apic.c:1124
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:x64_sys_call+0x614/0x6f0 arch/x86/include/generated/asm/syscalls_64.h:90
Code: f4 00 e9 af d0 51 00 e9 8a c2 51 00 e9 f5 df e8 00 e9 d0 9e 50 00 e9 fb 33 ad 00 e9 96 4d e8 00 e9 31 c0 51 00 e9 8c 86 51 00 <e9> 67 10 e1 00 e9 f2 7a 4c 00 e9 fd 08 11 07 e9 18 4f 73 00 e9 93
RSP: 0018:ffffc90004577f18 EFLAGS: 00000283
RAX: 0000000000000059 RBX: ffffc90004577f20 RCX: 22d6c27d8cf33900
RDX: dffffc0000000000 RSI: 0000000000000059 RDI: ffffc90004577f58
RBP: ffffc90004577f48 R08: dffffc0000000000 R09: fffffbfff1bfd03e
R10: fffffbfff1bfd03e R11: 1ffffffff1bfd03d R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90004577f58 R15: 0000000000000059
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7aa1317d47
Code: 73 01 c3 48 8b 0d e1 90 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b1 90 0d 00 f7 d8 64 89 01 48
RSP: 002b:00007ffd8ef338e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000059
RAX: ffffffffffffffda RBX: 00007ffd8ef33988 RCX: 00007f7aa1317d47
RDX: 0000000000000400 RSI: 00007ffd8ef33d88 RDI: 00007ffd8ef342a8
RBP: 00007ffd8ef342a8 R08: 0000000000000000 R09: 00007ffd8ef33b68
R10: 0000000000000100 R11: 0000000000000246 R12: 00007ffd8ef33d88
R13: 000055cf41c8e320 R14: 000055cf41c87f30 R15: 00007ffd8ef342b6
 </TASK>
rcu: rcu_preempt kthread starved for 9559 jiffies! g10765 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R  running task     stack:27432 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5244 [inline]
 __schedule+0x10e9/0x40d0 kernel/sched/core.c:6561
 schedule+0xb9/0x180 kernel/sched/core.c:6637
 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1965
 rcu_gp_fqs_loop+0x2f2/0x1310 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0x95/0x380 kernel/rcu/tree.c:1905
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 PID: 4507 Comm: syz.2.55 Not tainted 6.1.136-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline]
RIP: 0010:smp_call_function_many_cond+0xe7b/0x1270 kernel/smp.c:998
Code: 00 00 00 41 8b 1f 89 de 83 e6 01 31 ff e8 5d e9 0a 00 83 e3 01 48 bb 00 00 00 00 00 fc ff df 75 07 e8 e9 e5 0a 00 eb 37 f3 90 <41> 0f b6 04 1c 84 c0 75 10 41 f7 07 01 00 00 00 74 1e e8 ce e5 0a
RSP: 0018:ffffc900051ff9e0 EFLAGS: 00000246
RAX: ffffffff8175ddd2 RBX: dffffc0000000000 RCX: 0000000000080000
RDX: ffffc90010b7a000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: ffffc900051ffb40 R08: dffffc0000000000 R09: fffffbfff2117049
R10: fffffbfff2117049 R11: 1ffffffff2117048 R12: 1ffff110171e81b9
R13: ffff8880b8e3bb00 R14: 0000000000000001 R15: ffff8880b8f40dc8
FS:  00007f67ffbbd6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000c030 CR3: 000000007b171000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:1334 [inline]
 text_poke_bp_batch+0x2b0/0x7d0 arch/x86/kernel/alternative.c:1534
 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline]
 text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1732
 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
 static_key_enable_cpuslocked+0x11f/0x240 kernel/jump_label.c:207
 static_key_enable+0x16/0x20 kernel/jump_label.c:220
 __sched_core_enable kernel/sched/core.c:376 [inline]
 sched_core_get+0xa6/0x1c0 kernel/sched/core.c:400
 sched_core_alloc_cookie+0x71/0xa0 kernel/sched/core_sched.c:18
 sched_core_share_pid+0x32c/0x770 kernel/sched/core_sched.c:185
 __do_sys_prctl kernel/sys.c:2651 [inline]
 __se_sys_prctl+0x202/0x1080 kernel/sys.c:2377
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f67ffd8e969
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f67ffbbd038 EFLAGS: 00000246 ORIG_RAX: 000000000000009d
RAX: ffffffffffffffda RBX: 00007f67fffb6160 RCX: 00007f67ffd8e969
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 000000000000003e
RBP: 00007f67ffe10ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f67fffb6160 R15: 00007ffd3f831ec8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/03 06:02 linux-6.1.y b6736e03756f b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in x64_sys_call
* Struck through repros no longer work on HEAD.