rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...!: (1 GPs behind) idle=3ccc/1/0x4000000000000000 softirq=16747/16748 fqs=0
rcu: 	(detected by 0, t=10505 jiffies, g=9589, q=264 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 6455 Comm: syz.1.147 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:perf_trace_buf_alloc+0x1e5/0x2a0
Code: 4d 03 37 48 63 c3 4a 8d 3c 30 48 83 c7 f8 ba 08 00 00 00 31 f6 e8 5b 66 5a 00 4c 89 f0 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f <5d> c3 cc cc cc cc cc e8 df 70 f6 ff c6 05 a9 46 c4 0d 01 90 48 c7
RSP: 0018:ffffc900001dfe10 EFLAGS: 00000086
RAX: 0000000000000000 RBX: ffffe8ffffc423e0 RCX: ffff888106e50000
RDX: 0000000000010000 RSI: 00000000ffffffff RDI: 0000000000000000
RBP: 00000000ffffffff R08: ffffc900001e0097 R09: 0000000000000000
R10: ffffc900001e0080 R11: fffff5200003c013 R12: 1ffff9200003bfcc
R13: 000000000000000d R14: 000000000000002c R15: dffffc0000000000
FS:  00007f5840c7d6c0(0000) GS:ffff8881a3c12000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000113fdc000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 perf_trace_lock+0x18d/0x3b0
 lock_release+0x3b2/0x3e0
 rcu_read_unlock+0x93/0xa0
 perf_output_begin_forward+0x9bc/0xa80
 perf_event_output_forward+0x2b2/0x430
 __perf_event_overflow+0x830/0xe40
 perf_swevent_event+0x2f4/0x5e0
 perf_tp_event+0x4f6/0x1380
 perf_trace_run_bpf_submit+0xee/0x170
 perf_trace_lock+0x2f8/0x3b0
 lock_release+0x3b2/0x3e0
 _raw_spin_unlock_irqrestore+0x70/0x110
 hrtimer_try_to_cancel+0x3be/0x420
 hrtimer_cancel+0x3b/0x50
 cpu_clock_event_stop+0xd9/0x130
 __perf_event_overflow+0x580/0xe40
 perf_swevent_hrtimer+0x3c5/0x550
 __hrtimer_run_queues+0x4e0/0xc60
 hrtimer_interrupt+0x45b/0xaa0
 __sysvec_apic_timer_interrupt+0x10b/0x410
 sysvec_apic_timer_interrupt+0xa1/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:_raw_spin_unlock_irqrestore+0xa8/0x110
Code: 74 05 e8 2b 0c 4a f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> e3 b0 12 f6 65 8b 05 6c 81 23 07 85 c0 74 40 48 c7 04 24 0e 36
RSP: 0018:ffffc90006c47700 EFLAGS: 00000206
RAX: 5be84dac8ffc3c00 RBX: 0000000000000a02 RCX: 5be84dac8ffc3c00
RDX: 0000000000000007 RSI: ffffffff8d9baa25 RDI: 0000000000000001
RBP: ffffc90006c47790 R08: ffffffff8fa3b237 R09: 1ffffffff1f47646
R10: dffffc0000000000 R11: fffffbfff1f47647 R12: dffffc0000000000
R13: ffff888111808108 R14: ffff8881118080c0 R15: 1ffff92000d88ee0
 task_dead_fair+0x324/0x400
 finish_task_switch+0x44c/0x950
 __schedule+0x17a0/0x4cc0
 preempt_schedule_common+0x83/0xd0
 preempt_schedule+0xae/0xc0
 preempt_schedule_thunk+0x16/0x30
 __mutex_unlock_slowpath+0x6ff/0x740
 __se_sys_perf_event_open+0x194c/0x1d70
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f583fd8ec29
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:00007f5840c7d038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f583ffd5fa0 RCX: 00007f583fd8ec29
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000200000000640
RBP: 00007f583fe11e41 R08: 0000000000000002 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007f583ffd6038 R14: 00007f583ffd5fa0 R15: 00007ffe4964df88
 </TASK>
rcu: rcu_preempt kthread starved for 10505 jiffies! g9589 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
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:R  running task     stack:27432 pid:16    tgid:16    ppid:2      task_flags:0x208040 flags:0x00004000
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_timeout+0x12b/0x270
 rcu_gp_fqs_loop+0x301/0x1540
 rcu_gp_kthread+0x99/0x390
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 UID: 0 PID: 53 Comm: kworker/u9:2 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:smp_call_function_many_cond+0xd33/0x12d0
Code: 45 8b 2c 24 44 89 ee 83 e6 01 31 ff e8 b6 63 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 61 5f 0b 00 eb 38 f3 90 <42> 0f b6 04 2b 84 c0 75 11 41 f7 04 24 01 00 00 00 74 1e e8 45 5f
RSP: 0018:ffffc900007bf660 EFLAGS: 00000293
RAX: ffffffff81b4621b RBX: 1ffff11026cc7f61 RCX: ffff88801bf80000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900007bf7e0 R08: ffffffff8fa3b237 R09: 1ffffffff1f47646
R10: dffffc0000000000 R11: fffffbfff1f47647 R12: ffff88813663fb08
R13: dffffc0000000000 R14: ffff88804b03b1c0 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b8612000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f432fa25fc8 CR3: 000000000df36000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <TASK>
 on_each_cpu_cond_mask+0x3f/0x80
 smp_text_poke_batch_finish+0x5f9/0x1130
 arch_jump_label_transform_apply+0x1c/0x30
 static_key_enable_cpuslocked+0x128/0x250
 static_key_enable+0x1a/0x20
 toggle_allocation_gate+0xad/0x240
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
