INFO: rcu detected stall in finish_swait

Status: upstream: reported on 2026/11/17 14:56
Reported-by: syzbot+f954e1324b62089abf1f@syzkaller.appspotmail.com
First crash: 3d13h, last: 3d13h
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in finish_swait (2) prio:high kernel 1 1 91d 91d 0/29 auto-obsoleted due to no activity on 2026/11/19 06:49
upstream INFO: rcu detected stall in finish_swait prio:high kernel 1 1 264d 264d 0/29 auto-obsoleted due to no activity on 2026/05/30 04:38

Sample crash report:
net_ratelimit: 6 callbacks suppressed
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P3549/1:b..l
	(detected by 0, t=10503 jiffies, g=18869, q=113)
task:klogd           state:R  running task     stack:22224 pid: 3549 ppid:     1 flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11c3/0x4350 kernel/sched/core.c:6395
 preempt_schedule_common+0x82/0xd0 kernel/sched/core.c:6571
 preempt_schedule+0xbc/0xd0 kernel/sched/core.c:6596
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
 _raw_spin_unlock_irqrestore+0x10d/0x120 kernel/locking/spinlock.c:194
 spin_unlock_irqrestore include/linux/spinlock.h:419 [inline]
 __wake_up_common_lock kernel/sched/wait.c:140 [inline]
 __wake_up_sync_key+0x128/0x190 kernel/sched/wait.c:205
 sock_def_readable+0x136/0x250 net/core/sock.c:3100
 unix_dgram_sendmsg+0x12e5/0x19c0 net/unix/af_unix.c:1946
 sock_sendmsg_nosec net/socket.c:706 [inline]
 __sock_sendmsg net/socket.c:718 [inline]
 __sys_sendto+0x46d/0x620 net/socket.c:2073
 __do_sys_sendto net/socket.c:2085 [inline]
 __se_sys_sendto net/socket.c:2081 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2081
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f53a30df407
RSP: 002b:00007ffc6d43f0f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f53a2f8fc80 RCX: 00007f53a30df407
RDX: 0000000000000077 RSI: 00007ffc6d43f230 RDI: 0000000000000003
RBP: 00007ffc6d43f660 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffc6d43f678
R13: 00007ffc6d43f230 R14: 000000000000005c R15: 00007ffc6d43f230
 </TASK>
rcu: rcu_preempt kthread starved for 10527 jiffies! g18869 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:27840 pid:   15 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11c3/0x4350 kernel/sched/core.c:6395
 preempt_schedule_irq+0xbb/0x160 kernel/sched/core.c:6799
 irqentry_exit+0x63/0x70 kernel/entry/common.c:435
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:list_empty_careful include/linux/list.h:333 [inline]
RIP: 0010:finish_swait+0x84/0x1c0 kernel/sched/swait.c:139
Code: 30 84 c0 0f 85 3a 01 00 00 41 c7 07 00 00 00 00 4c 8d 7b 08 4d 89 fc 49 c1 ec 03 43 80 3c 34 00 74 08 4c 89 ff e8 8c 2a 64 00 <49> 8b 07 4c 39 f8 75 24 4c 8d 6b 10 4c 89 e8 48 c1 e8 03 42 80 3c
RSP: 0018:ffffc90000d47c78 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc90000d47d80 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffc90000d47d80 RDI: ffff88813fead320
RBP: ffffffff8d123860 R08: ffffffff8d123863 R09: 1ffffffff1a2470c
R10: dffffc0000000000 R11: fffffbfff1a2470d R12: 1ffff920001a8fb1
R13: 1ffffffff19c1e30 R14: dffffc0000000000 R15: ffffc90000d47d88
 rcu_gp_fqs_loop+0x2d7/0x11f0 kernel/rcu/tree.c:1972
 rcu_gp_kthread+0x9a/0x370 kernel/rcu/tree.c:2145
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
NMI backtrace for cpu 0
CPU: 0 PID: 6457 Comm: syz.4.594 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
 <IRQ>
 dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3a2/0x3d0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
 rcu_check_gp_kthread_starvation+0x1cd/0x250 kernel/rcu/tree_stall.h:487
 print_other_cpu_stall+0x1110/0x1270 kernel/rcu/tree_stall.h:592
 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline]
 rcu_pending kernel/rcu/tree.c:3936 [inline]
 rcu_sched_clock_irq+0x845/0x1120 kernel/rcu/tree.c:2619
 update_process_times+0x193/0x200 kernel/time/timer.c:2021
 tick_sched_handle kernel/time/tick-sched.c:254 [inline]
 tick_sched_timer+0x37d/0x560 kernel/time/tick-sched.c:1473
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4b0/0xb60 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x397/0x8b0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
 __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 00 00 00 66 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ae 73 8a f7 48 89 df e8 b6 55 8b f7 e8 81 56 ac f7 fb bf 01 00 00 00 <e8> f6 5b 7f f7 65 8b 05 c7 6c 2f 76 85 c0 74 02 5b c3 e8 04 7a 2d
RSP: 0018:ffffc900033e7cd0 EFLAGS: 00000286
RAX: 2950d6cec01af000 RBX: ffff88805ac12e40 RCX: 2950d6cec01af000
RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: 0000000000000001
RBP: ffffc900033e7f10 R08: ffff88805ac12e43 R09: 1ffff1100b5825c8
R10: dffffc0000000000 R11: ffffed100b5825c9 R12: 1ffff9200067cfa8
R13: dffffc0000000000 R14: 00007f61ce637a78 R15: ffff888024141dc0
 __ia32_sys_rt_sigreturn+0x1ac/0x750 arch/x86/kernel/signal.c:672
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f61d0383719
Code: a3 06 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 c7 c0 0f 00 00 00 0f 05 <0f> 1f 80 00 00 00 00 48 81 ec 48 01 00 00 49 89 d0 64 48 8b 0c 25
RSP: 002b:00007f61ce637a80 EFLAGS: 00000202
 ORIG_RAX: 000000000000000f
RAX: ffffffffffffffda RBX: 00007f61d0667fa0 RCX: 00007f61d0383719
RDX: 00007f61ce637a80 RSI: 00007f61ce637bb0 RDI: 0000000000000021
RBP: 00007f61d047a136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 00007f61d0668038 R14: 00007f61d0667fa0 R15: 00007fff40e914b8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/17 14:56 linux-5.15.y 29c6cdaac04a 43af6cac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in finish_swait
* Struck through repros no longer work on HEAD.