rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (1 GPs behind) idle=37f/1/0x4000000000000000 softirq=23649/23651 fqs=3 (t=10501 jiffies g=29369 q=308) rcu: rcu_preempt kthread starved for 10496 jiffies! g29369 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:26816 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7213 Comm: syz.4.885 Not tainted 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:trace_user_enter+0x2/0x1b0 include/trace/events/context_tracking.h:34 Code: ed 8c 08 0f 1f 44 00 00 41 56 53 89 f3 49 89 fe e8 73 2a d9 ff 89 de 4c 89 f7 5b 41 5e e9 76 45 e3 ff 66 0f 1f 44 00 00 55 53 59 2a d9 ff 0f 1f 44 00 00 e8 4f 2a d9 ff 65 8b 1d a0 e5 5a 7e RSP: 0018:ffffc90002df7ed8 EFLAGS: 00000002 RAX: 0000000000000001 RBX: ffff888027473b80 RCX: ffffffff96867f03 RDX: dffffc0000000000 RSI: ffffffff8a92fa60 RDI: ffffffff8ad90100 RBP: 0000000000000001 R08: ffffffff8186d93a R09: fffffbfff1bd2b66 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888027473b80 R15: 0000000000000000 FS: 0000555563939500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 000000006234f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __context_tracking_enter+0x57/0x90 kernel/context_tracking.c:81 user_enter_irqoff include/linux/context_tracking.h:41 [inline] __exit_to_user_mode kernel/entry/common.c:136 [inline] syscall_exit_to_user_mode+0x1d1/0x240 kernel/entry/common.c:309 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f08a3eb6ea7 Code: 0b e9 68 fe ff ff 48 83 c4 18 48 8d 3d f2 79 cf 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 33 f5 fb ff 0f 1f 00 b8 27 00 00 00 0f 05 0f 1f 84 00 00 00 00 00 b8 66 00 00 00 0f 05 c3 0f 1f 84 00 00 RSP: 002b:00007ffec33a3648 EFLAGS: 00000206 ORIG_RAX: 0000000000000027 RAX: 0000000000000235 RBX: 00007ffec33a37b0 RCX: 00007f08a3eb6ea7 RDX: 00007ffec33a3680 RSI: 00007ffec33a37b0 RDI: 0000000000000021 RBP: 0000000000000000 R08: 00007f08a4062000 R09: 00007f08a4064000 R10: 0000000081a73a11 R11: 0000000000000206 R12: ffffffff81a73367 R13: 00007f08a40780f0 R14: 0000000000000008 R15: 0000000000000000 NMI backtrace for cpu 1 CPU: 1 PID: 7216 Comm: syz.0.886 Not tainted 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:349 print_cpu_stall+0x320/0x600 kernel/rcu/tree_stall.h:633 check_cpu_stall kernel/rcu/tree_stall.h:727 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0x8d9/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_is_held_type+0x137/0x180 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 c4 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:ffffc90002db7eb0 EFLAGS: 00000206 RAX: 1dfa1f9bdcfe8200 RBX: 0000000000000000 RCX: 0000000080000000 RDX: ffff888024520000 RSI: ffffffff8a8b3cc0 RDI: ffffffff8ad90100 RBP: 0000000000000001 R08: ffffffff815492bb R09: fffffbfff20e2219 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000246 R13: ffff888024520000 R14: 00000000ffffffff R15: ffffffff8c91fbe0 __task_pid_nr_ns+0x1c4/0x420 kernel/pid.c:500 task_tgid_vnr include/linux/sched.h:1587 [inline] __do_sys_getpid+0x19/0x20 kernel/sys.c:945 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7efcd2706ea7 Code: 0b e9 68 fe ff ff 48 83 c4 18 48 8d 3d f2 79 cf 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 33 f5 fb ff 0f 1f 00 b8 27 00 00 00 0f 05 0f 1f 84 00 00 00 00 00 b8 66 00 00 00 0f 05 c3 0f 1f 84 00 00 RSP: 002b:00007efcd0b66b08 EFLAGS: 00000202 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 00007efcd0b66c70 RCX: 00007efcd2706ea7 RDX: 00007efcd0b66b40 RSI: 00007efcd0b66c70 RDI: 0000000000000021 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007efcd28c8064 R13: 0000000000000000 R14: 00007fff5dc41d20 R15: 00007fff5dc41e08