rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10499 ticks this GP) idle=91d/1/0x4000000000000000 softirq=143558/143558 fqs=7 (t=10501 jiffies g=197105 q=159) rcu: rcu_preempt kthread starved for 10488 jiffies! g197105 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:26200 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2af/0xf70 kernel/rcu/tree.c:1959 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2132 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2186 Comm: syz-executor.1 Not tainted 5.15.138-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:212 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:156 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:263 [inline] RIP: 0010:native_apic_msr_write+0x35/0x50 arch/x86/include/asm/apic.h:207 Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 89 f6 31 d2 e9 3f fd f1 02 66 2e 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc900121878c0 EFLAGS: 00000046 RAX: 000000000000003e RBX: ffffffff8c34c9a8 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 000000000000003e RDI: 0000000000000838 RBP: 0000000000000020 R08: ffffffff81724178 R09: fffffbfff1bc7266 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000003e R13: dffffc0000000000 R14: 000000000000003e R15: dffffc0000000000 FS: 00007f0a9e8a76c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0a9e8a6d80 CR3: 000000005a80a000 CR4: 00000000003506e0 Call Trace: apic_write arch/x86/include/asm/apic.h:394 [inline] lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:468 clockevents_program_min_delta+0x1ae/0x410 kernel/time/clockevents.c:248 hrtimer_start_range_ns+0xabd/0xc50 kernel/time/hrtimer.c:1299 posixtimer_rearm+0x1ad/0x3f0 kernel/time/posix-timers.c:323 dequeue_signal+0x1ed/0x520 kernel/signal.c:696 get_signal+0x52e/0x14e0 kernel/signal.c:2770 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f0aa0325ae7 Code: 14 25 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 RSP: 002b:00007f0a9e8a7178 EFLAGS: 00000246 RAX: 00000000000000ca RBX: 00007f0aa0444f88 RCX: 00007f0aa0325ae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f0aa0444f88 RBP: 00007f0aa0444f80 R08: 00007f0a9e8a76c0 R09: 00007f0a9e8a76c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0aa0444f8c R13: 000000000000000b R14: 00007ffeb9b59ba0 R15: 00007ffeb9b59c88 NMI backtrace for cpu 0 CPU: 0 PID: 2176 Comm: syz-executor.5 Not tainted 5.15.138-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb 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:343 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline] check_cpu_stall kernel/rcu/tree_stall.h:711 [inline] rcu_pending kernel/rcu/tree.c:3911 [inline] rcu_sched_clock_irq+0xf26/0x1770 kernel/rcu/tree.c:2606 update_process_times+0x196/0x200 kernel/time/timer.c:1788 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:1685 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: b1 7e f6 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ae 98 3d f7 48 89 df e8 06 ec 3e f7 e8 91 99 61 f7 fb bf 01 00 00 00 26 2a 32 f7 65 8b 05 b7 65 dd 75 85 c0 74 02 5b c3 e8 44 7d db RSP: 0018:ffffc90013077bc0 EFLAGS: 00000282 RAX: 00d0d783be340f00 RBX: ffff888074041bc0 RCX: ffffffff913c6003 RDX: dffffc0000000000 RSI: ffffffff8a8b0be0 RDI: 0000000000000001 RBP: 0000000000000000 R08: ffffffff8186a3c0 R09: ffffed100e808379 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000021 R13: dffffc0000000000 R14: ffff888074042058 R15: ffff888074041bc0 spin_unlock_irq include/linux/spinlock.h:413 [inline] get_signal+0x13ee/0x14e0 kernel/signal.c:2892 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fe6e2b08ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff9be17b08 EFLAGS: 00000246 RAX: fffffffffffffffc RBX: 000000000028824c RCX: 00007fe6e2b08ae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fe6e2c2805c RBP: 0000000000000032 R08: 0000000000000010 R09: 00007fe6e2c2805c R10: 00007fff9be17c40 R11: 0000000000000246 R12: 00007fe6e2c2805c R13: 000000000028827e R14: 00007fff9be17c60 R15: 00007fff9be17c40