rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 2-....: (1 GPs behind) idle=69e/1/0x4000000000000004 softirq=12257/12347 fqs=5176 (t=10500 jiffies g=5581 q=872) NMI backtrace for cpu 2 CPU: 2 PID: 8616 Comm: syz-executor.1 Not tainted 5.4.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x23b/0x28b lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x183/0x1cf kernel/rcu/tree_stall.h:254 print_cpu_stall kernel/rcu/tree_stall.h:455 [inline] check_cpu_stall kernel/rcu/tree_stall.h:529 [inline] rcu_pending kernel/rcu/tree.c:2827 [inline] rcu_sched_clock_irq.cold+0x509/0xc02 kernel/rcu/tree.c:2271 update_process_times+0x2d/0x70 kernel/time/timer.c:1726 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:167 tick_sched_timer+0x53/0x140 kernel/time/tick-sched.c:1310 __run_hrtimer kernel/time/hrtimer.c:1514 [inline] __hrtimer_run_queues+0x364/0xe40 kernel/time/hrtimer.c:1576 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1638 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline] smp_apic_timer_interrupt+0x160/0x610 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x54/0x80 kernel/locking/spinlock.c:199 Code: 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 33 48 83 3d 12 6a 96 01 00 74 20 fb 66 0f 1f 44 00 00 bf 01 00 00 00 e7 ab d3 f9 65 8b 05 18 54 85 78 85 c0 74 06 41 5c 5d c3 0f 0b RSP: 0018:ffff88802d409dd0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff122668d RBX: ffffffff8544d1a0 RCX: 0000000000000002 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: 0000000000000001 RBP: ffff88802d409dd8 R08: 1ffffffff15377ba R09: fffffbfff15377bb R10: fffffbfff15377ba R11: ffffffff8a9bbdd7 R12: ffff88802d427240 R13: ffffffff8b8094c8 R14: ffff88802d427240 R15: dffffc0000000000 expire_timers kernel/time/timer.c:1448 [inline] __run_timers kernel/time/timer.c:1773 [inline] __run_timers kernel/time/timer.c:1740 [inline] run_timer_softirq+0x6b1/0x1790 kernel/time/timer.c:1786 __do_softirq+0x262/0x98c kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x19b/0x1e0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x1a3/0x610 arch/x86/kernel/apic/apic.c:1137 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x4f/0x80 kernel/locking/spinlock.c:199 Code: c0 68 34 13 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 33 48 83 3d 12 6a 96 01 00 74 20 fb 66 0f 1f 44 00 00 01 00 00 00 e8 e7 ab d3 f9 65 8b 05 18 54 85 78 85 c0 74 06 41 RSP: 0018:ffff88806b9378d8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff122668d RBX: ffff88806d5f8b80 RCX: 0000000000000006 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff88806d5f9414 RBP: ffff88806b9378e0 R08: 1ffffffff15377ba R09: fffffbfff15377bb R10: fffffbfff15377ba R11: ffffffff8a9bbdd7 R12: ffff88802d437380 R13: ffff88802c4b43c0 R14: ffff888027e9b580 R15: 0000000000000000 finish_lock_switch kernel/sched/core.c:3124 [inline] finish_task_switch+0x147/0x750 kernel/sched/core.c:3224 context_switch kernel/sched/core.c:3388 [inline] __schedule+0x8e9/0x1f30 kernel/sched/core.c:4081 preempt_schedule_common+0x4f/0xe0 kernel/sched/core.c:4236 preempt_schedule+0x4b/0x60 kernel/sched/core.c:4261 ___preempt_schedule+0x16/0x18 arch/x86/entry/thunk_64.S:50 smp_call_function_single+0x410/0x480 kernel/smp.c:313 task_function_call+0xe9/0x180 kernel/events/core.c:114 perf_install_in_context+0x308/0x5a0 kernel/events/core.c:2746 __do_sys_perf_event_open+0x1cbc/0x2c70 kernel/events/core.c:11543 __se_sys_perf_event_open kernel/events/core.c:11151 [inline] __x64_sys_perf_event_open+0xbe/0x150 kernel/events/core.c:11151 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a759 Code: bd b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 8b b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd663c77c88 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 000000000071bf00 RCX: 000000000045a759 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 00000000200003c0 RBP: 0000000000000005 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007fd663c786d4 R13: 00000000004aec17 R14: 00000000006f1cb0 R15: 00000000ffffffff