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: 97d, last: 8d04h
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 107d 107d 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 383d 383d 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 634d 634d 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 863d 913d 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
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2025/11/14 04:11 58m fix candidate upstream error job log
2025/10/18 02:26 32m bisect fix linux-5.15.y error job log

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-....: (1 GPs behind) idle=cd5/1/0x4000000000000002 softirq=18911/18912 fqs=2100 
	(detected by 1, t=10506 jiffies, g=30917, q=273313)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 7127 Comm: syz.1.2681 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:div64_u64 include/linux/math64.h:69 [inline]
RIP: 0010:perf_swevent_set_period kernel/events/core.c:9568 [inline]
RIP: 0010:perf_swevent_overflow kernel/events/core.c:9585 [inline]
RIP: 0010:perf_swevent_event+0x3f4/0x530 kernel/events/core.c:9629
Code: 01 00 74 08 4c 89 f7 e8 ca 43 25 00 49 8b 1e 31 ff 48 89 de e8 fd de e0 ff 48 85 db 78 39 4c 8d 2c 2b 4c 89 e8 31 d2 48 f7 f5 <49> 89 c4 48 0f af c5 49 89 df 49 29 c7 4c 89 f7 be 08 00 00 00 e8
RSP: 0018:ffffc900000075a8 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff8880224a3b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000005 R08: dffffc0000000000 R09: ffffed100ef8527d
R10: ffffed100ef8527d R11: 1ffff1100ef8527c R12: 0000000000000001
R13: 0000000000000005 R14: ffff888077c293e0 R15: 0000000000000005
FS:  0000555588391500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000057525000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 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 ed 11 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:ffffc90000007ae0 EFLAGS: 00000206
RAX: c9d5c333d7f5fd00 RBX: 1ffff92000000f60 RCX: c9d5c333d7f5fd00
RDX: dffffc0000000000 RSI: ffffffff8a0b1be0 RDI: ffffffff8a59e800
RBP: ffffc90000007bb8 R08: dffffc0000000000 R09: ffffed1017207662
R10: ffffed1017207662 R11: 1ffff11017207661 R12: ffffffff8c120c00
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:772 [inline]
 ieee80211_iterate_active_interfaces_atomic+0x132/0x140 net/mac80211/util.c:831
 mac80211_hwsim_beacon+0x9b/0x180 drivers/net/wireless/mac80211_hwsim.c:1865
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x53d/0xc40 kernel/time/hrtimer.c:1749
 hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
 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:call_rcu+0x6bf/0x930 kernel/rcu/tree.c:3092
Code: 84 24 a1 00 00 00 02 75 5e f7 44 24 58 00 02 00 00 49 bc 00 00 00 00 00 fc ff df 74 01 fb 48 c7 84 24 80 00 00 00 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 66 43 c7 44 25 09 00 00 43 c6 44 25 0b
RSP: 0018:ffffc90004707d40 EFLAGS: 00000206
RAX: c9d5c333d7f5fd00 RBX: ffff888076c4f400 RCX: c9d5c333d7f5fd00
RDX: dffffc0000000000 RSI: ffffffff8a0b1be0 RDI: ffffffff8a59e800
RBP: ffffc90004707e78 R08: dffffc0000000000 R09: ffffed1017207662
R10: ffffed1017207662 R11: 1ffff11017207661 R12: dffffc0000000000
R13: 1ffff920008e0fb8 R14: 1ffff11017207654 R15: 0000000000000006
 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:0x7f4cb71fe749
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:00007ffd5d2aeaf8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 000000000004f989 RCX: 00007f4cb71fe749
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000001 R09: 000000025d2aedef
R10: 0000001b31f20000 R11: 0000000000000246 R12: 00007f4cb7454fac
R13: 00007f4cb7454fa0 R14: ffffffffffffffff R15: 0000000000000003
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/12 00:06 linux-5.15.y 68efe5a6c16a d6526ea3 .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/12/10 23:06 linux-5.15.y 68efe5a6c16a d6526ea3 .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/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.