syzbot


INFO: rcu detected stall in perf_ioctl

Status: upstream: reported on 2026/07/10 12:15
Reported-by: syzbot+8a90fa76e0477ee15612@syzkaller.appspotmail.com
First crash: 7d10h, last: 7d10h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 INFO: rcu detected stall in perf_ioctl (2) 1 2 17d 65d 0/2 upstream: reported on 2026/05/13 17:31
linux-6.6 INFO: rcu detected stall in perf_ioctl 1 1 245d 245d 0/2 auto-obsoleted due to no activity on 2026/02/21 23:49
android-5-15 BUG: soft lockup in perf_ioctl 1 3 728d 799d 0/2 auto-obsoleted due to no activity on 2024/10/17 06:20

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (1 GPs behind) idle=86d/1/0x4000000000000002 softirq=76285/76289 fqs=7 
	(detected by 1, t=10502 jiffies, g=90405, q=365)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 24937 Comm: syz.3.6791 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:irqtime_account_delta kernel/sched/cputime.c:42 [inline]
RIP: 0010:irqtime_account_irq+0x143/0x1b0 kernel/sched/cputime.c:-1
Code: 3c 20 00 74 08 48 89 df e8 8a 7c 69 00 4c 01 2b 48 83 c3 08 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 6d 7c 69 00 <4c> 01 2b eb 49 a9 00 01 00 00 49 bc 00 00 00 00 00 fc ff df 74 38
RSP: 0018:ffffc90000007668 EFLAGS: 00000046
RAX: 1ffff11017204ef1 RBX: ffff8880b9027788 RCX: 228f80a6c5e24700
RDX: 1ffffffff1e1fc00 RSI: ffffffff8a7a2a20 RDI: ffffffff8a7a29e0
RBP: 0000000000010000 R08: ffffffff8f0fe008 R09: ffffffff8f0fe018
R10: ffffffff8f0fe010 R11: ffffffff8f0fe003 R12: dffffc0000000000
R13: 0000000000000f94 R14: ffff8880b9027708 R15: 0000000000000018
FS:  00007fcf9d0f96c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1455146540 CR3: 000000007766a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
 sysvec_irq_work+0x45/0xc0 arch/x86/kernel/irq_work.c:17
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:713
RIP: 0010:rcu_read_unlock_special+0x7f/0x4a0 kernel/rcu/tree_plugin.h:674
Code: eb 03 48 b8 f1 f1 f1 f1 f8 f2 f2 f2 4a 89 04 2b 42 c7 44 2b 08 f8 f3 f3 f3 65 44 8b 35 c2 22 9d 7e 41 f7 c6 00 00 f0 00 74 40 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 2b 00 00 00 00 42 c7 44 2b 08
RSP: 0018:ffffc90000007760 EFLAGS: 00000206
RAX: 228f80a6c5e24700 RBX: 1ffff92000000ef0 RCX: 228f80a6c5e24700
RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: ffffffff8a7a2a40
RBP: ffffc90000007840 R08: ffffffff901e918f R09: 1ffffffff203d231
R10: dffffc0000000000 R11: fffffbfff203d232 R12: ffffffff8c323400
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]
 __ip_queue_xmit+0x1288/0x1ce0 net/ipv4/ip_output.c:539
 __tcp_transmit_skb+0x1ca3/0x31e0 net/ipv4/tcp_output.c:1404
 tcp_delack_timer_handler+0x2f8/0x700 net/ipv4/tcp_timer.c:314
 tcp_delack_timer+0x18d/0x2f0 net/ipv4/tcp_timer.c:341
 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
 expire_timers kernel/time/timer.c:1699 [inline]
 __run_timers+0x56c/0x810 kernel/time/timer.c:1970
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
 handle_softirqs+0x336/0x830 kernel/softirq.c:576
 __do_softirq kernel/softirq.c:610 [inline]
 invoke_softirq kernel/softirq.c:450 [inline]
 __irq_exit_rcu+0x13b/0x230 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_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 6e cf 94 f7 48 89 df e8 a6 a6 95 f7 e8 91 8f b6 f7 fb bf 01 00 00 00 <e8> 66 bf 89 f7 65 8b 05 77 e6 39 76 85 c0 74 02 5b c3 e8 b4 f3 37
RSP: 0018:ffffc900030bfc30 EFLAGS: 00000286
RAX: 228f80a6c5e24700 RBX: ffff8880b90402c8 RCX: 228f80a6c5e24700
RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: 0000000000000001
RBP: ffffc900030bfed8 R08: ffffffff901e91df R09: 1ffffffff203d23b
R10: dffffc0000000000 R11: fffffbfff203d23c R12: 0000000000002400
R13: dffffc0000000000 R14: ffff888073d885f8 R15: ffff888073d88838
 perf_event_for_each_child kernel/events/core.c:5705 [inline]
 perf_event_for_each kernel/events/core.c:5721 [inline]
 _perf_ioctl kernel/events/core.c:5937 [inline]
 perf_ioctl+0x6e9/0x2300 kernel/events/core.c:5956
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
 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:0x7fcf9eea0e59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcf9d0f9028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fcf9f128fa0 RCX: 00007fcf9eea0e59
RDX: 0000000000000005 RSI: 0000000000002400 RDI: 0000000000000008
RBP: 00007fcf9ef36e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcf9f129038 R14: 00007fcf9f128fa0 R15: 00007fff143f4778
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10487 jiffies! g90405 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=1 timer-softirq=75165
rcu: rcu_preempt kthread starved for 10488 jiffies! g90405 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1
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:I stack:27408 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
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_timeout+0x184/0x2d0 kernel/time/timer.c:2117
 rcu_gp_fqs_loop+0x2be/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 1
CPU: 1 PID: 4174 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
RIP: 0010:kvm_wait+0x159/0x1b0 arch/x86/kernel/kvm.c:918
Code: 89 df 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 4b 0f b6 1f e8 e7 7e 4a 00 44 38 e3 75 10 66 90 0f 00 2d c9 e9 f3 08 fb f4 <e9> 16 ff ff ff fb e9 10 ff ff ff e8 67 7c 8a 08 89 f9 80 e1 07 38
RSP: 0018:ffffc90002daf8a0 EFLAGS: 00000246
RAX: 327304600d441100 RBX: 0000000000000003 RCX: 327304600d441100
RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: ffffffff8a7a2a40
RBP: ffffc90002daf950 R08: ffffffff901e918f R09: 1ffffffff203d231
R10: dffffc0000000000 R11: fffffbfff203d232 R12: 0000000000000003
R13: dffffc0000000000 R14: dffffc0000000000 R15: 1ffff920005b5f14
 pv_wait arch/x86/include/asm/paravirt.h:597 [inline]
 pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
 __pv_queued_spin_lock_slowpath+0x605/0x9b0 kernel/locking/qspinlock.c:508
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline]
 queued_spin_lock_slowpath+0x43/0x50 arch/x86/include/asm/qspinlock.h:51
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock+0x265/0x2f0 kernel/locking/spinlock_debug.c:115
 spin_lock_bh include/linux/spinlock.h:369 [inline]
 lock_sock_nested+0x68/0x100 net/core/sock.c:3262
 lock_sock include/net/sock.h:1744 [inline]
 tcp_sendmsg+0x1d/0x40 net/ipv4/tcp.c:1459
 sock_sendmsg_nosec net/socket.c:706 [inline]
 __sock_sendmsg net/socket.c:718 [inline]
 sock_write_iter+0x2a6/0x3a0 net/socket.c:1090
 call_write_iter include/linux/fs.h:2173 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x748/0xd70 fs/read_write.c:594
 ksys_write+0x153/0x260 fs/read_write.c:647
 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:0x7f8906349fd7
Code: 48 89 fa 4c 89 df e8 a8 56 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffd76581900 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000055558e8da500 RCX: 00007f8906349fd7
RDX: 0000000000000590 RSI: 00007f89021f0a70 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000590
R13: 000055558e8f1d10 R14: 00007ffd76581ea0 R15: 00007f89021f0a70
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/10 12:15 linux-5.15.y c86c4726e7f0 4167ee25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in perf_ioctl
* Struck through repros no longer work on HEAD.