syzbot


INFO: rcu detected stall in preempt_schedule_thunk (2)

Status: upstream: reported on 2025/12/31 03:12
Reported-by: syzbot+deaaf23b57fee59873ec@syzkaller.appspotmail.com
First crash: 40d, last: 40d
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in preempt_schedule_thunk 1 1 632d 632d 0/3 auto-obsoleted due to no activity on 2024/08/25 23:34
linux-6.6 INFO: rcu detected stall in preempt_schedule_thunk 1 1 149d 149d 0/2 auto-obsoleted due to no activity on 2025/12/21 20:33
upstream INFO: rcu detected stall in preempt_schedule_thunk kernel 1 4 554d 595d 0/29 auto-obsoleted due to no activity on 2024/11/01 23:14
upstream INFO: rcu detected stall in preempt_schedule_thunk (2) kernel 1 2 417d 462d 0/29 auto-obsoleted due to no activity on 2025/03/18 05:25

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (10435 ticks this GP) idle=57fc/1/0x4000000000000000 softirq=29263/29302 fqs=5244
rcu: 	         hardirqs   softirqs   csw/system
rcu: 	 number:  1545195        153            0
rcu: 	cputime:    17571      34928           31   ==> 52510(ms)
rcu: 	(t=10502 jiffies g=33849 q=1807 ncpus=2)
CPU: 0 PID: 9736 Comm: syz.0.987 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:stack_trace_consume_entry+0x0/0x270 kernel/stacktrace.c:83
Code: 00 00 00 65 48 8b 0c 25 28 00 00 00 48 3b 4c 24 78 75 09 48 8d 65 f0 5b 41 5e 5d c3 e8 39 09 f3 08 66 0f 1f 84 00 00 00 00 00 <f3> 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 ba 00 00
RSP: 0018:ffffc90000007540 EFLAGS: 00000286
RAX: ffffffff81321d9a RBX: ffffc90000007600 RCX: ffff88805ab50000
RDX: 0000000000000100 RSI: ffffffff8a6f846a RDI: ffffc90000007600
RBP: ffffc900000075d0 R08: ffff88805ab50000 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000100 R12: ffffffff8a6f846a
R13: 00000000000002c0 R14: ffffffff81746d20 R15: ffffc90000007548
FS:  00007ff91a5f36c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100000000 CR3: 00000000652aa000 CR4: 00000000003506f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 arch_stack_walk+0x138/0x190 arch/x86/kernel/stacktrace.c:27
 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4e/0x70 mm/kasan/common.c:52
 __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:328
 kasan_slab_alloc include/linux/kasan.h:188 [inline]
 slab_post_alloc_hook+0x6e/0x4d0 mm/slab.h:767
 slab_alloc_node mm/slub.c:3495 [inline]
 kmem_cache_alloc_node+0x150/0x330 mm/slub.c:3540
 kmalloc_reserve+0x95/0x240 net/core/skbuff.c:562
 __alloc_skb+0x138/0x2c0 net/core/skbuff.c:653
 alloc_skb include/linux/skbuff.h:1284 [inline]
 ndisc_alloc_skb+0xa6/0x450 net/ipv6/ndisc.c:423
 ndisc_send_rs+0x2a6/0x610 net/ipv6/ndisc.c:707
 addrconf_rs_timer+0x2bc/0x600 net/ipv6/addrconf.c:4006
 call_timer_fn+0x16e/0x530 kernel/time/timer.c:1701
 expire_timers kernel/time/timer.c:1752 [inline]
 __run_timers+0x52d/0x7d0 kernel/time/timer.c:2023
 run_timer_softirq+0x67/0xf0 kernel/time/timer.c:2036
 handle_softirqs+0x280/0x820 kernel/softirq.c:578
 __do_softirq kernel/softirq.c:612 [inline]
 invoke_softirq kernel/softirq.c:452 [inline]
 __irq_exit_rcu+0xc7/0x190 kernel/softirq.c:661
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
 sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:finish_task_switch+0x26a/0x920 kernel/sched/core.c:5254
Code: 0f 84 37 01 00 00 48 85 db 0f 85 56 01 00 00 0f 1f 44 00 00 4c 8b 75 d0 4c 89 e7 e8 80 ca 14 09 e8 4b a4 2f 00 fb 4c 8b 65 c0 <49> 8d bc 24 f8 15 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0
RSP: 0018:ffffc90019727838 EFLAGS: 00000282
RAX: f91997f13e33ad00 RBX: 0000000000000000 RCX: f91997f13e33ad00
RDX: dffffc0000000000 RSI: ffffffff8aaabce0 RDI: ffffffff8afc6f80
RBP: ffffc90019727890 R08: ffffffff8e4a212f R09: 1ffffffff1c94425
R10: dffffc0000000000 R11: fffffbfff1c94426 R12: ffff88805ab50000
R13: dffffc0000000000 R14: ffff888076c10000 R15: ffff8880b8e3cac8
 context_switch kernel/sched/core.c:5383 [inline]
 __schedule+0x14da/0x44d0 kernel/sched/core.c:6699
 preempt_schedule_common+0x82/0xc0 kernel/sched/core.c:6866
 preempt_schedule+0xab/0xc0 kernel/sched/core.c:6890
 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45
 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
 _raw_spin_unlock_irq+0x40/0x50 kernel/locking/spinlock.c:202
 task_work_run+0x191/0x250 kernel/task_work.c:235
 get_signal+0x1235/0x1400 kernel/signal.c:2678
 arch_do_signal_or_restart+0x9c/0x7b0 arch/x86/kernel/signal.c:310
 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0xf6/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7ff91978f749
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:00007ff91a5f30e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000000 RBX: 00007ff9199e5fa8 RCX: 00007ff91978f749
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007ff9199e5fac
RBP: 00007ff9199e5fa0 R08: 0000000000745aed R09: 0000000000000000
R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff9199e6038 R14: 00007ffde9f9eb70 R15: 00007ffde9f9ec58
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/31 03:11 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in preempt_schedule_thunk
* Struck through repros no longer work on HEAD.