rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=58237, q=325 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10495 (4294990513-4294980018), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10496 jiffies! g58237 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:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_count_add+0x6/0x190 kernel/sched/core.c:5860 Code: 48 8b 3c 24 e8 8b ef 92 00 eb 8c e9 ee fe ff ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 <41> 56 53 89 fb 48 c7 c0 e0 96 76 94 48 c1 e8 03 49 bf 00 00 00 00 RSP: 0018:ffffc90000167b58 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 1ffff11002e51000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: 0000000000000001 RBP: ffff888017288000 R08: ffffffff8fac1bef R09: 1ffffffff1f5837d R10: dffffc0000000000 R11: fffffbfff1f5837e R12: dffffc0000000000 R13: 1ffff9200002cf74 R14: ffffffff8b8644b0 R15: ffff888017289278 __schedule_loop kernel/sched/core.c:6821 [inline] schedule+0x144/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 11227 Comm: syz-executor.0 Not tainted 6.10.0-rc4-syzkaller-00217-g35bb670d65fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:kasan_check_range+0x1b8/0x290 mm/kasan/generic.c:189 Code: 4d 01 fb 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 3b 00 0f 85 a6 00 00 00 49 ff c3 48 ff cd 75 ee 5b <41> 5c 41 5e 41 5f 5d c3 cc cc cc cc 40 84 ed 75 5f f7 c5 00 ff 00 RSP: 0018:ffffc900097df968 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 00000000000000aa RCX: ffffffff8172771d RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92f71590 RBP: 0000000000000000 R08: ffffffff92f71597 R09: 1ffffffff25ee2b2 R10: dffffc0000000000 R11: fffffbfff25ee2b3 R12: 0000000000000001 R13: ffff888023395a00 R14: dffffc0000000001 R15: fffffbfff25ee2b3 FS: 00007f69a63756c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32426000 CR3: 000000007c9d4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] __lock_acquire+0xc5d/0x1fd0 kernel/locking/lockdep.c:5107 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170 spin_lock_irq include/linux/spinlock.h:376 [inline] get_signal+0x258/0x1740 kernel/signal.c:2697 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 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+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f69a567d0a9 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:00007f69a6375178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f69a57b4058 RCX: 00007f69a567d0a9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f69a57b4058 RBP: 00007f69a57b4050 R08: 00007f69a63756c0 R09: 00007f69a63756c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f69a57b405c R13: 000000000000006e R14: 00007ffcaca75a30 R15: 00007ffcaca75b18