rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=6681, q=6 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4294968506-4294958003), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10504 jiffies! g6681 f0x2 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:26256 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 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: 5131 Comm: syz-executor388 Not tainted 6.9.0-syzkaller-00967-gcd97950cbcab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:kasan_check_range+0x9/0x290 mm/kasan/generic.c:188 Code: e4 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 41 57 41 56 <41> 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39 f8 0f RSP: 0018:ffffc90000007ca0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81728534 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fa8fc28 RBP: ffffc90000007e08 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff81838740 R12: 1ffff92000000fa0 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 000055556d6ad3c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f65bc3de4c0 CR3: 000000007c4f2000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:505 [inline] cpu_online include/linux/cpumask.h:1120 [inline] trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xd4/0x550 kernel/locking/lockdep.c:5725 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 hrtimer_interrupt+0xfb/0x990 kernel/time/hrtimer.c:1799 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:instrument_write include/linux/instrumented.h:40 [inline] RIP: 0010:___set_bit include/asm-generic/bitops/instrumented-non-atomic.h:28 [inline] RIP: 0010:rseq_signal_deliver include/linux/rseq.h:45 [inline] RIP: 0010:setup_rt_frame arch/x86/kernel/signal.c:212 [inline] RIP: 0010:handle_signal arch/x86/kernel/signal.c:267 [inline] RIP: 0010:arch_do_signal_or_restart+0x33f/0x860 arch/x86/kernel/signal.c:312 Code: 00 e9 cc 00 00 00 e8 90 5b 63 00 4c 89 e7 e8 68 14 05 00 bf 01 00 00 00 e8 de f5 32 00 49 8d bc 24 60 15 00 00 be 08 00 00 00 4c 0b c8 00 49 0f ba ac 24 60 15 00 00 01 bf 01 00 00 00 e8 58 RSP: 0018:ffffc90004727dc0 EFLAGS: 00000246 RAX: 1ffff11004585298 RBX: 0000000000000000 RCX: ffffffff8b8b4f00 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888022c29560 RBP: ffffc90004727ec8 R08: ffffffff8132b77d R09: 1ffff11004585000 R10: dffffc0000000000 R11: ffffed1004585001 R12: ffff888022c28000 R13: ffffc90004727e00 R14: 1ffff920008e4fbc R15: dffffc0000000000 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f65bc3c6e79 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 18 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:00007ffeb86af088 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f65bc3c6e79 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000055556d6ad370 R13: 0000000000000003 R14: 00007ffeb86af100 R15: 00007ffeb86af0f0 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.225 msecs