syzbot


INFO: rcu detected stall in perf_event_open (2)

Status: upstream: reported C repro on 2025/11/10 01:14
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+87408f570c7f21d4f57d@syzkaller.appspotmail.com
First crash: 11d, last: 6d15h
Bug presence (2)
Date Name Commit Repro Result
2025/11/14 linux-6.6.y (ToT) 0a805b6ea8cd C [report] INFO: rcu detected stall in perf_event_open
2025/11/14 upstream (ToT) d4f8cccc6230 C Didn't crash
Similar bugs (16)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in sys_perf_event_open (2) origin:lts-only 1 C error 35 4d23h 681d 0/3 upstream: reported C repro on 2024/01/09 18:19
upstream INFO: rcu detected stall in perf_event_open (2) perf 1 1 1515d 1515d 0/29 auto-closed as invalid on 2021/11/26 20:49
upstream INFO: rcu detected stall in perf_event_open kernel 1 1 1612d 1612d 0/29 auto-closed as invalid on 2021/09/21 01:14
linux-6.1 INFO: rcu detected stall in sys_perf_event_open (2) origin:lts-only 1 C done 24 3d21h 424d 0/3 upstream: reported C repro on 2024/09/23 05:55
linux-6.6 INFO: rcu detected stall in perf_event_open 1 C done 4 85d 99d 2/2 fixed on 2025/10/06 10:09
upstream BUG: soft lockup in perf_event_open trace bpf 1 2 149d 145d 0/29 auto-obsoleted due to no activity on 2025/09/23 09:29
upstream INFO: rcu detected stall in __se_sys_perf_event_open perf 1 1 1966d 1966d 0/29 auto-closed as invalid on 2020/10/02 02:08
upstream INFO: rcu detected stall in sys_perf_event_open (3) perf 1 1 2144d 2144d 0/29 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in sys_perf_event_open (4) perf 1 1 2144d 2143d 0/29 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_perf_event_open (2) perf 1 8 2179d 2180d 0/29 closed as invalid on 2019/12/04 14:14
linux-6.1 INFO: rcu detected stall in sys_perf_event_open 1 1 528d 528d 0/3 auto-obsoleted due to no activity on 2024/09/19 01:45
linux-5.15 INFO: rcu detected stall in sys_perf_event_open 1 1 947d 947d 0/3 auto-obsoleted due to no activity on 2023/08/17 04:33
upstream INFO: rcu detected stall in sys_perf_event_open perf 1 1 2623d 2621d 0/29 auto-closed as invalid on 2019/03/14 17:19
android-5-15 BUG: soft lockup in sys_perf_event_open 1 1 564d 564d 0/2 auto-obsoleted due to no activity on 2024/08/04 07:07
upstream BUG: soft lockup in sys_perf_event_open perf 1 1 539d 535d 0/29 auto-obsoleted due to no activity on 2024/08/29 01:52
upstream BUG: soft lockup in sys_perf_event_open (2) kvm fs 1 6 307d 414d 0/29 auto-obsoleted due to no activity on 2025/04/18 04:31

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (10499 ticks this GP) idle=8ffc/1/0x4000000000000000 softirq=12538/12539 fqs=5047
rcu: 	         hardirqs   softirqs   csw/system
rcu: 	 number:  1518152          0            0
rcu: 	cputime:    17214      35274           36   ==> 52490(ms)
rcu: 	(t=10500 jiffies g=11397 q=1236 ncpus=2)
CPU: 0 PID: 5960 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:kasan_quarantine_put+0x88/0x220 mm/kasan/quarantine.c:243
Code: e8 8d fc ae ff 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 0f 85 83 00 00 00 41 f7 c7 00 02 00 00 74 01 fb 31 c0 <48> 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f c3 48 8d 80 80 7a 03 00 45
RSP: 0018:ffffc90000007300 EFLAGS: 00000206
RAX: bb1d5deea0779b01 RBX: ffff8880603e7900 RCX: bb1d5deea0779b00
RDX: dffffc0000000000 RSI: ffffffff8aaabce0 RDI: ffffffff8afc6b00
RBP: ffff8880603e7900 R08: ffffffff90da85c7 R09: 1ffffffff21b50b8
R10: dffffc0000000000 R11: fffffbfff21b50b9 R12: 0000000000000000
R13: ffffc90000007398 R14: 0000000000080128 R15: 0000000000000286
FS:  00007f7d12c196c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100000000 CR3: 000000007847e000 CR4: 00000000003506f0
Call Trace:
 <IRQ>
 kasan_slab_free include/linux/kasan.h:164 [inline]
 slab_free_hook mm/slub.c:1811 [inline]
 slab_free_freelist_hook+0x130/0x1b0 mm/slub.c:1837
 slab_free mm/slub.c:3830 [inline]
 kmem_cache_free+0xf8/0x280 mm/slub.c:3852
 skb_kfree_head net/core/skbuff.c:943 [inline]
 skb_free_head net/core/skbuff.c:957 [inline]
 skb_release_data+0x60a/0x800 net/core/skbuff.c:987
 skb_release_all net/core/skbuff.c:1053 [inline]
 __kfree_skb net/core/skbuff.c:1067 [inline]
 kfree_skb_reason+0x10e/0x170 net/core/skbuff.c:1103
 dev_kfree_skb_any_reason+0x10c/0x120 net/core/dev.c:3228
 free_old_xmit_skbs+0x114/0x3c0 drivers/net/virtio_net.c:791
 start_xmit+0x161/0x1420 drivers/net/virtio_net.c:2415
 __netdev_start_xmit include/linux/netdevice.h:4943 [inline]
 netdev_start_xmit include/linux/netdevice.h:4957 [inline]
 xmit_one net/core/dev.c:3619 [inline]
 dev_hard_start_xmit+0x246/0x740 net/core/dev.c:3635
 sch_direct_xmit+0x252/0x4a0 net/sched/sch_generic.c:342
 __dev_xmit_skb net/core/dev.c:3856 [inline]
 __dev_queue_xmit+0x173e/0x35a0 net/core/dev.c:4391
 lapb_data_transmit+0x8a/0xa0 net/lapb/lapb_iface.c:447
 lapb_transmit_buffer+0x163/0x200 net/lapb/lapb_out.c:149
 lapb_t1timer_expiry+0x699/0xab0 net/lapb/lapb_timer.c:-1
 call_timer_fn+0x16e/0x530 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x52d/0x7d0 kernel/time/timer.c:2022
 run_timer_softirq+0x67/0xf0 kernel/time/timer.c:2035
 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa9/0x110 kernel/locking/spinlock.c:194
Code: 74 05 e8 ea 7c 13 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> f2 f8 e2 f6 65 8b 05 e3 41 8b 75 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc9000496fca0 EFLAGS: 00000206
RAX: bb1d5deea0779b00 RBX: 0000000000000a06 RCX: bb1d5deea0779b00
RDX: dffffc0000000000 RSI: ffffffff8aaabce0 RDI: 0000000000000001
RBP: ffffc9000496fd30 R08: ffffffff90da8617 R09: 1ffffffff21b50c2
R10: dffffc0000000000 R11: fffffbfff21b50c3 R12: dffffc0000000000
R13: 1ffff9200092dfb8 R14: ffff8880246ae800 R15: 1ffff9200092df94
 __do_sys_perf_event_open kernel/events/core.c:12916 [inline]
 __se_sys_perf_event_open+0x1802/0x1c20 kernel/events/core.c:12567
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7d11d8f6c9
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:00007f7d12c19038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f7d11fe5fa0 RCX: 00007f7d11d8f6c9
RDX: ffffbfffffffffff RSI: 0000000000000000 RDI: 0000200000000300
RBP: 00007f7d11e11f91 R08: 0000000000000002 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7d11fe6038 R14: 00007f7d11fe5fa0 R15: 00007ffd3df20858
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/11 19:51 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in perf_event_open
2025/11/11 15:21 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in perf_event_open
2025/11/10 01:14 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in perf_event_open
* Struck through repros no longer work on HEAD.