rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=15849, q=396 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10464 (4294962029-4294951565), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10464 jiffies! g15849 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:23384 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 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:5644 Code: 48 8b 3c 24 e8 bb e5 96 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 20 18 7c 94 48 c1 e8 03 49 bf 00 00 00 00 RSP: 0018:ffffc90000167b58 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 1ffff11002ed3000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcac1e0 RDI: 0000000000000001 RBP: ffff888017698000 R08: ffffffff8fae026f R09: 1ffffffff1f5c04d R10: dffffc0000000000 R11: fffffbfff1f5c04e R12: dffffc0000000000 R13: 1ffff9200002cf74 R14: ffffffff8b971ed0 R15: ffff888017699278 __schedule_loop kernel/sched/core.c:6605 [inline] schedule+0x144/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2029 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2231 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 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: 5917 Comm: syz-executor.0 Not tainted 6.10.0-rc2-next-20240607-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x86/0x290 mm/kasan/generic.c:189 Code: 00 fc ff df 4f 8d 3c 31 4c 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 4c 89 cd 48 f7 d5 48 01 dd 41 80 3b 00 <0f> 85 c9 01 00 00 49 ff c3 48 ff c5 75 ee e9 1e 01 00 00 45 89 dc RSP: 0018:ffffc90014367530 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffffffff1f5c04d RCX: ffffffff81725864 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fae0268 RBP: ffffffffffffffff R08: ffffffff8fae026f R09: 1ffffffff1f5c04d R10: dffffc0000000000 R11: fffffbfff1f5c04d R12: 1ffff9200286ceb4 R13: dffffc0000000000 R14: dffffc0000000001 R15: fffffbfff1f5c04e FS: 00007fedebdff6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33452000 CR3: 000000005e994000 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] cpumask_test_cpu include/linux/cpumask.h:559 [inline] cpu_online include/linux/cpumask.h:1099 [inline] trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xd4/0x550 kernel/locking/lockdep.c:5788 do_write_seqcount_begin_nested include/linux/seqlock.h:469 [inline] do_write_seqcount_begin include/linux/seqlock.h:495 [inline] psi_group_change+0x113/0x12d0 kernel/sched/psi.c:787 psi_task_switch+0x3a7/0x770 kernel/sched/psi.c:976 psi_sched_switch kernel/sched/stats.h:185 [inline] __schedule+0x24ef/0x4a20 kernel/sched/core.c:6524 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 futex_wait_queue+0x14e/0x1d0 kernel/futex/waitwake.c:370 __futex_wait+0x17f/0x320 kernel/futex/waitwake.c:669 futex_wait+0x101/0x360 kernel/futex/waitwake.c:697 do_futex+0x33b/0x560 kernel/futex/syscalls.c:102 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex+0x3f9/0x480 kernel/futex/syscalls.c:160 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fedec27cf69 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:00007fedebdff178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007fedec3b41f8 RCX: 00007fedec27cf69 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fedec3b41f8 RBP: 00007fedec3b41f0 R08: 00007fedebdff6c0 R09: 00007fedebdff6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fedec3b41fc R13: 000000000000006e R14: 00007fff5849f970 R15: 00007fff5849fa58