syzbot


INFO: rcu detected stall in task_work_run (3)

Status: upstream: reported syz repro on 2025/09/13 23:38
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+746695ac27c8f3020623@syzkaller.appspotmail.com
First crash: 51d, last: 15d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2025/09/16 linux-5.15.y (ToT) 43bb85222e53 syz [report] INFO: rcu detected stall in corrupted
2025/09/16 upstream (ToT) 46a51f4f5eda syz Didn't crash
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in task_work_run origin:lts-only 1 syz inconclusive 1 61d 61d 0/3 upstream: reported syz repro on 2025/09/04 00:43
linux-5.15 INFO: rcu detected stall in task_work_run (2) origin:lts-only 1 syz error 1 337d 337d 0/3 auto-obsoleted due to no activity on 2025/03/24 21:44
linux-5.15 INFO: rcu detected stall in task_work_run 1 1 588d 588d 0/3 auto-obsoleted due to no activity on 2024/07/04 00:01
upstream INFO: rcu detected stall in task_work_run kernel 1 2 817d 867d 0/29 auto-obsoleted due to no activity on 2023/11/07 12:15
Last patch testing requests (1)
Created Duration User Patch Repo Result
2025/11/03 05:03 16m retest repro linux-5.15.y report log

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-....: (1 GPs behind) idle=53f/1/0x4000000000000002 softirq=23541/23542 fqs=5185 
	(detected by 1, t=10502 jiffies, g=34893, q=205622)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 7603 Comm: syz.0.3109 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:rcu_read_unlock_special+0x95/0x480 kernel/rcu/tree_plugin.h:674
Code: f3 f3 42 c6 44 2b 0b f3 65 44 8b 35 ad 13 9e 7e 41 f7 c6 00 00 f0 00 74 45 48 c7 44 24 20 0e 36 e0 45 4a c7 04 2b 00 00 00 00 <66> 42 c7 44 2b 09 00 00 42 c6 44 2b 0b 00 65 48 8b 04 25 28 00 00
RSP: 0018:ffffc90000006fc0 EFLAGS: 00000046
RAX: ffffffff81839101 RBX: 1ffff92000000dfc RCX: ffff88807d8a0000
RDX: 0000000000000100 RSI: 0000000000000102 RDI: 0000000000000000
RBP: ffffc900000070a0 R08: dffffc0000000000 R09: ffffed10172067af
R10: ffffed10172067af R11: 1ffff110172067ae R12: ffff8880b903b208
R13: dffffc0000000000 R14: ffff8880b903b200 R15: 1ffff11017207641
FS:  00005555804bf500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30e63fff CR3: 0000000059944000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:771 [inline]
 __perf_event_output kernel/events/core.c:7813 [inline]
 perf_event_output_forward+0x216/0x280 kernel/events/core.c:7822
 __perf_event_overflow+0x364/0x530 kernel/events/core.c:9515
 perf_swevent_overflow kernel/events/core.c:9591 [inline]
 perf_swevent_event+0x4ad/0x530 kernel/events/core.c:9629
 perf_tp_event+0x32c/0xb50 kernel/events/core.c:10047
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10021
 perf_trace_preemptirq_template+0x2be/0x380 include/trace/events/preemptirq.h:14
 trace_irq_enable_rcuidle+0x108/0x180 include/trace/events/preemptirq.h:40
 trace_hardirqs_on+0x57/0x80 kernel/trace/trace_preemptirq.c:44
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:713
RIP: 0010:rcu_read_unlock_special+0x84/0x480 kernel/rcu/tree_plugin.h:674
Code: f1 f1 f1 00 f2 f2 f2 4a 89 04 2b 66 42 c7 44 2b 09 f3 f3 42 c6 44 2b 0b f3 65 44 8b 35 ad 13 9e 7e 41 f7 c6 00 00 f0 00 74 45 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 2b 00 00 00 00 66 42 c7 44 2b
RSP: 0018:ffffc900000077a0 EFLAGS: 00000206
RAX: a83292765a8de400 RBX: 1ffff92000000ef8 RCX: a83292765a8de400
RDX: dffffc0000000000 RSI: ffffffff8a0b1820 RDI: ffffffff8a59a4c0
RBP: ffffc90000007880 R08: dffffc0000000000 R09: fffffbfff1ff7a3d
R10: fffffbfff1ff7a3d R11: 1ffffffff1ff7a3c R12: ffffffff8c120b00
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:771 [inline]
 ndisc_send_skb+0xdc4/0x14a0 net/ipv6/ndisc.c:521
 addrconf_rs_timer+0x2b8/0x600 net/ipv6/addrconf.c:3956
 call_timer_fn+0x16c/0x530 kernel/time/timer.c:1451
 expire_timers kernel/time/timer.c:1496 [inline]
 __run_timers+0x525/0x7c0 kernel/time/timer.c:1767
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780
 handle_softirqs+0x328/0x820 kernel/softirq.c:576
 __do_softirq kernel/softirq.c:610 [inline]
 invoke_softirq kernel/softirq.c:450 [inline]
 __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0xa0/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_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa5/0x100 kernel/locking/spinlock.c:194
Code: 74 05 e8 ae 4b cb f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 36 d5 9e f7 65 8b 05 17 d3 4f 76 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc9000d37fca0 EFLAGS: 00000206
RAX: a83292765a8de400 RBX: 0000000000000a06 RCX: a83292765a8de400
RDX: dffffc0000000000 RSI: ffffffff8a0b1820 RDI: 0000000000000001
RBP: ffffc9000d37fd30 R08: dffffc0000000000 R09: ffffed1017207662
R10: ffffed1017207662 R11: 1ffff11017207661 R12: dffffc0000000000
R13: 1ffff92001a6ffb8 R14: ffffffff96322bb0 R15: 1ffff92001a6ff94
 debug_rcu_head_queue kernel/rcu/rcu.h:177 [inline]
 __call_rcu kernel/rcu/tree.c:2995 [inline]
 call_rcu+0xc0/0x930 kernel/rcu/tree.c:3091
 task_work_run+0x125/0x1a0 kernel/task_work.c:188
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f14b0a12fc9
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:00007fffb91bd638 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 000000000003bd88 RCX: 00007f14b0a12fc9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000001 R09: 00000002b91bd92f
R10: 0000001b30220000 R11: 0000000000000246 R12: 00007f14b0c69fac
R13: 00007f14b0c69fa0 R14: ffffffffffffffff R15: 0000000000000003
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/19 13:41 linux-5.15.y 29e53a5b1c4f 1c8c8cd8 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in task_work_run
2025/09/13 23:37 linux-5.15.y 43bb85222e53 e2beed91 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in task_work_run
* Struck through repros no longer work on HEAD.