INFO: rcu detected stall in perf_release (3)

Status: upstream: reported C repro on 2026/06/17 21:48
Reported-by: syzbot+979a4989b13b8f2ee852@syzkaller.appspotmail.com
First crash: 56d, last: 28d
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 INFO: rcu detected stall in perf_release (2) origin:lts-only 1 syz, C error 2 113d 221d 0/2 upstream: reported C repro on 2026/01/03 14:19
linux-5.15 INFO: rcu detected stall in perf_release origin:lts-only 1 syz error 5 42d 284d 0/3 upstream: reported syz repro on 2025/11/02 03:41
linux-6.1 INFO: rcu detected stall in perf_release 1 2 695d 695d 0/3 auto-obsoleted due to no activity on 2024/12/25 21:00
linux-6.1 INFO: rcu detected stall in perf_release (2) 1 syz, C inconclusive 3 258d 308d 0/3 auto-obsoleted due to no activity on 2026/03/07 13:59
linux-6.6 INFO: rcu detected stall in perf_release 1 syz, C done 1 350d 350d 2/2 fixed on 2025/10/06 10:09
upstream INFO: rcu detected stall in perf_release mm cgroups 1 19 2443d 2464d 0/29 auto-closed as invalid on 2020/03/03 09:44
android-5-15 BUG: soft lockup in perf_release (2) 1 1 501d 501d 0/2 auto-obsoleted due to no activity on 2025/06/27 12:18
android-5-15 BUG: soft lockup in perf_release 1 3 782d 845d 0/2 auto-obsoleted due to no activity on 2024/09/19 17:30

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-.... } 2686 jiffies s: 2989 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4485 Comm: syz.1.18 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
RIP: 0010:trace_irq_enable_rcuidle+0xa6/0x140 include/trace/events/preemptirq.h:40
Code: 79 7e a9 00 00 f0 00 75 7f 65 ff 05 cc e7 79 7e 48 c7 c7 00 49 b7 8c e8 b8 35 e3 ff 89 c5 e8 c1 e1 21 00 4c 8b 3d 2a 71 84 0c <4d> 85 ff 74 28 49 83 c7 08 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74
RSP: 0018:ffffc900001e0918 EFLAGS: 00000046
RAX: 8db6b25ea66c9500 RBX: 0000000000000000 RCX: ffff888027110000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff8880b8f3580b R09: 1ffff110171e6b01
R10: dffffc0000000000 R11: ffffed10171e6b02 R12: dffffc0000000000
R13: 0000000000000001 R14: ffffffff8a400e86 R15: ffff888073265210
FS:  0000555561a50500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000000195fd CR3: 000000002ff3e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 trace_hardirqs_on+0x24/0x40 kernel/trace/trace_preemptirq.c:44
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:728
RIP: 0010:rcu_read_unlock_special+0x7f/0x510 kernel/rcu/tree_plugin.h:685
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 52 82 95 7e 41 f7 c6 00 00 f0 00 74 40 <48> c7 44 24 40 0e 36 e0 45 4a c7 04 2b 00 00 00 00 42 c7 44 2b 08
RSP: 0018:ffffc900001e0a00 EFLAGS: 00000206
RAX: 8db6b25ea66c9500 RBX: 1ffff9200003c148 RCX: 8db6b25ea66c9500
RDX: dffffc0000000000 RSI: ffffffff8a8c17a0 RDI: ffffffff8adf42e0
RBP: ffffc900001e0b00 R08: ffffffff90b10327 R09: 1ffffffff2162064
R10: dffffc0000000000 R11: fffffbfff2162065 R12: 0000000000000246
R13: dffffc0000000000 R14: ffff8880b8f3bb00 R15: 0000000000000002
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:426
 rcu_read_unlock include/linux/rcupdate.h:823 [inline]
 br_forward_delay_timer_expired+0x348/0x420 net/bridge/br_stp_timer.c:99
 call_timer_fn+0x1ac/0x670 kernel/time/timer.c:1701
 expire_timers kernel/time/timer.c:1752 [inline]
 __run_timers+0x56c/0x810 kernel/time/timer.c:2023
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:2036
 handle_softirqs+0x291/0x910 kernel/softirq.c:596
 __do_softirq kernel/softirq.c:630 [inline]
 invoke_softirq kernel/softirq.c:470 [inline]
 __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:lock_is_held_type+0x13a/0x190 kernel/locking/lockdep.c:5724
Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c5 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f
RSP: 0018:ffffc900034b7978 EFLAGS: 00000206
RAX: 8db6b25ea66c9500 RBX: ffff888027110000 RCX: 8db6b25ea66c9500
RDX: 0000000000000000 RSI: ffffffff8a8c2920 RDI: ffffffff8adf42e0
RBP: 0000000000000000 R08: ffffffff81a43134 R09: 1ffffffff1c42435
R10: dffffc0000000000 R11: fffffbfff1c42436 R12: dffffc0000000000
R13: 0000000000000246 R14: ffffffff8cb2dbc0 R15: 00000000ffffffff
 lock_is_held include/linux/lockdep.h:283 [inline]
 __might_resched+0x9b/0x5f0 kernel/sched/core.c:9931
 __mutex_lock_common kernel/locking/mutex.c:580 [inline]
 __mutex_lock+0xb7/0xae0 kernel/locking/mutex.c:747
 perf_remove_from_owner+0x244/0x4c0 kernel/events/core.c:5140
 perf_event_release_kernel+0x127/0x850 kernel/events/core.c:5187
 perf_release+0x37/0x40 kernel/events/core.c:5297
 __fput+0x20a/0x8b0 fs/file_table.c:320
 task_work_run+0x1d0/0x260 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f2d0ad9de59
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:00007ffd375b4bc8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffd375b4cb0 RCX: 00007f2d0ad9de59
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00000000000195fd R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b2e220000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2d0b025fac R14: 00007f2d0b025fa8 R15: 00007f2d0b025fa0
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/15 14:25 linux-6.1.y 090666d3cc90 a4ed0f4f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in perf_release
2026/06/27 16:56 linux-6.1.y fdb6fcb41cc7 fb92f11c .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in perf_release
2026/06/17 21:47 linux-6.1.y 228da13e907e b62b3ded .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in perf_release
2026/06/29 18:28 linux-6.1.y fdb6fcb41cc7 6a0c72dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in perf_release
* Struck through repros no longer work on HEAD.