rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P16675 rcu: (detected by 1, t=10502 jiffies, g=85657, q=820 ncpus=2) task:syz.5.3824 state:R running task stack:24824 pid:16675 tgid:16675 ppid:14137 task_flags:0x400040 flags:0x00080002 Call Trace: sched_show_task+0x4aa/0x5f0 kernel/sched/core.c:8148 rcu_print_detail_task_stall_rnp kernel/rcu/tree_stall.h:292 [inline] print_other_cpu_stall+0xfca/0x1380 kernel/rcu/tree_stall.h:681 check_cpu_stall kernel/rcu/tree_stall.h:856 [inline] rcu_pending kernel/rcu/tree.c:3679 [inline] rcu_sched_clock_irq+0x939/0x1050 kernel/rcu/tree.c:2716 update_process_times+0x234/0x2d0 kernel/time/timer.c:2475 tick_sched_handle kernel/time/tick-sched.c:298 [inline] tick_nohz_handler+0x42b/0x770 kernel/time/tick-sched.c:319 __run_hrtimer kernel/time/hrtimer.c:2032 [inline] __hrtimer_run_queues+0x3bc/0xb10 kernel/time/hrtimer.c:2096 hrtimer_interrupt+0x455/0x950 kernel/time/hrtimer.c:2215 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1051 [inline] __sysvec_apic_timer_interrupt+0x102/0x430 arch/x86/kernel/apic/apic.c:1068 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:179 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80 kernel/locking/spinlock.c:198 Code: f7 e8 4d 42 6a f6 f7 c3 00 02 00 00 74 05 e8 90 1d 96 f6 9c 58 a9 00 02 00 00 75 27 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 a4 cf 5c f6 65 8b 05 cd 5f 5e 07 85 c0 74 18 5b 41 5e c3 cc cc RSP: 0018:ffffc900055bfc08 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000246 RCX: 0000000080000002 RDX: 0000000000000006 RSI: ffffffff8d747b0a RDI: 0000000000000001 RBP: ffffc900055bfce0 R08: ffffffff8facd3f7 R09: 1ffffffff1f59a7e R10: dffffc0000000000 R11: fffffbfff1f59a7f R12: 1ffff92000ab7f8d R13: 0000000000000246 R14: ffffffff8e9e23e0 R15: ffffc900055bfc60 raw_spin_unlock_irqrestore_wake include/linux/sched/wake_q.h:97 [inline] rtlock_slowlock kernel/locking/rtmutex.c:1920 [inline] rtlock_lock kernel/locking/spinlock_rt.c:43 [inline] __rt_spin_lock kernel/locking/spinlock_rt.c:49 [inline] rt_spin_lock+0x17a/0x400 kernel/locking/spinlock_rt.c:57 spin_lock include/linux/spinlock_rt.h:45 [inline] vga_put drivers/pci/vgaarb.c:556 [inline] vga_arb_release+0x1fb/0x5c0 drivers/pci/vgaarb.c:1439 __fput+0x461/0xa70 fs/file_table.c:510 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:67 [inline] exit_to_user_mode_loop+0xf3/0x4d0 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:238 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x33e/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6c59d1ce59 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:00007ffc67753ee8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f6c59f97da0 RCX: 00007f6c59d1ce59 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f6c59f97da0 R08: 0000000000000006 R09: 0000000000000000 R10: 000000000003fcc0 R11: 0000000000000246 R12: 0000000000099f28 R13: 00007f6c59f9618c R14: 00000000000993a1 R15: 00007f6c59f96180 rcu: rcu_preempt kthread timer wakeup didn't happen for 9690 jiffies! g85657 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=39264 rcu: rcu_preempt kthread starved for 9691 jiffies! g85657 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:27640 pid:18 tgid:18 ppid:2 task_flags:0x208040 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16f9/0x5500 kernel/sched/core.c:7197 __schedule_loop kernel/sched/core.c:7276 [inline] schedule+0x164/0x360 kernel/sched/core.c:7291 schedule_timeout+0x158/0x2c0 kernel/time/sleep_timeout.c:99