rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=a5d/1/0x4000000000000000 softirq=31361/31363 fqs=0 (t=10501 jiffies g=41369 q=137) rcu: rcu_preempt kthread starved for 10502 jiffies! g41369 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:27000 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: 11266 Comm: syz-executor.4 Not tainted 5.15.138-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:kasan_check_range+0x1/0x290 mm/kasan/generic.c:188 Code: 01 c6 48 89 c7 e8 0f 53 52 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 <41> 57 41 56 53 b0 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 RSP: 0018:ffffc90002f0fec8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81a6dbb5 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8de39328 RBP: 0000000000000001 R08: ffffffff81a6db94 R09: fffffbfff1bc7266 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88801b321dc0 R15: 0000000000000000 FS: 00007f2d55de76c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30130000 CR3: 00000000232d5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] cpumask_test_cpu include/linux/cpumask.h:344 [inline] cpu_online include/linux/cpumask.h:895 [inline] trace_user_enter+0x45/0x1b0 include/trace/events/context_tracking.h:34 __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:130 [inline] syscall_exit_to_user_mode+0x1da/0x250 kernel/entry/common.c:303 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f2d578c6267 Code: 0b e9 68 fe ff ff 48 83 c4 18 48 8d 3d f2 05 c5 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 b3 68 fd 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:00007f2d55de6b08 EFLAGS: 00000202 ORIG_RAX: 0000000000000027 RAX: 000000000000042b RBX: 00007f2d55de6c70 RCX: 00007f2d578c6267 RDX: 00007f2d55de6b40 RSI: 00007f2d55de6c70 RDI: 0000000000000021 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000000cc R11: 0000000000000202 R12: 0000000000000000 R13: 000000000000006e R14: 00007f2d579e81f0 R15: 00007ffed3b50af8 NMI backtrace for cpu 0 CPU: 0 PID: 11265 Comm: syz-executor.4 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:ffffc90002cbfd70 EFLAGS: 00000282 RAX: dfa30ca7f4377000 RBX: ffff8880258ec0c0 RCX: ffffffff913c6003 RDX: dffffc0000000000 RSI: ffffffff8a8b0be0 RDI: 0000000000000001 RBP: ffffc90002cbfe50 R08: ffffffff8186a3c0 R09: ffffed1004b1d819 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11003664126 R13: ffff88801b320000 R14: 0000000000000000 R15: 1ffff11003664125 spin_unlock_irq include/linux/spinlock.h:413 [inline] __set_current_blocked+0x2a5/0x2f0 kernel/signal.c:3077 __do_sys_rt_sigreturn+0x181/0x250 arch/x86/kernel/signal.c:672 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f2d5788bf39 Code: 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 c7 c0 0f 00 00 00 0f 05 <0f> 1f 80 00 00 00 00 48 81 ec 48 01 00 00 49 89 d0 64 48 8b 04 25 RSP: 002b:00007f2d55e06480 EFLAGS: 00000202 ORIG_RAX: 000000000000000f RAX: ffffffffffffffda RBX: 00007f2d55e070b4 RCX: 00007f2d5788bf39 RDX: 00007f2d55e06480 RSI: 00007f2d55e065b0 RDI: 0000000000000021 RBP: 00007f2d55e07050 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000005 R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffed3b50af8