rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (1 GPs behind) idle=23fc/1/0x4000000000000002 softirq=23331/23332 fqs=2 (t=10500 jiffies g=27701 q=115 ncpus=2) rcu: rcu_preempt kthread starved for 10495 jiffies! g27701 f0x0 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:25528 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x7b/0x290 mm/kasan/generic.c:189 Code: 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49 01 da 41 80 39 00 <0f> 85 c4 01 00 00 49 ff c1 49 ff c2 75 ee e9 1d 01 00 00 45 89 cf RSP: 0018:ffffc90000157b70 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff11027fddb28 RCX: ffffffff8a938926 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88813feed940 RBP: 0000000000000001 R08: dffffc0000000000 R09: ffffed1027fddb28 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff88813feed940 R13: 1ffff9200002af78 R14: ffffed1027fddb29 R15: dffffc0000000000 instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] test_ti_thread_flag include/linux/thread_info.h:118 [inline] need_resched include/linux/sched.h:2231 [inline] schedule+0xd6/0x180 kernel/sched/core.c:6636 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 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: 6494 Comm: syz-executor.1 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] RIP: 0010:rcu_is_watching+0xc/0xb0 kernel/rcu/tree.c:721 Code: e9 6c ff ff ff 48 c7 c7 e0 15 13 8d 4c 89 f6 e8 aa 42 f0 02 e9 2b ff ff ff e8 d0 c2 17 09 41 57 41 56 53 65 ff 05 fc 29 8f 7e 0f db 17 09 89 c3 83 f8 08 73 76 49 bf 00 00 00 00 00 fc ff df RSP: 0018:ffffc90005387800 EFLAGS: 00000087 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8166c6c4 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e738968 RBP: ffff88807a1ada00 R08: dffffc0000000000 R09: fffffbfff1ce712e R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b983aa00 R13: 0000000000005d8b R14: dffffc0000000000 R15: 0000004602183d56 FS: 00007f2684e866c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32621000 CR3: 000000007c285000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_sched_stat_runtime+0x63/0x1a0 include/trace/events/sched.h:520 update_curr_rt+0x15b/0x6f0 kernel/sched/rt.c:1067 dequeue_task_rt+0x26/0x880 kernel/sched/rt.c:1559 deactivate_task kernel/sched/core.c:2097 [inline] __schedule+0x5f9/0x4550 kernel/sched/core.c:6512 schedule+0xbf/0x180 kernel/sched/core.c:6634 futex_wait_queue+0x149/0x1d0 kernel/futex/waitwake.c:355 futex_wait+0x203/0x5c0 kernel/futex/waitwake.c:656 do_futex+0x3b5/0x490 kernel/futex/syscalls.c:106 __do_sys_futex kernel/futex/syscalls.c:183 [inline] __se_sys_futex+0x3d7/0x460 kernel/futex/syscalls.c:164 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f268407cf69 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:00007f2684e86178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f26841b3f88 RCX: 00007f268407cf69 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f26841b3f88 RBP: 00007f26841b3f80 R08: 00007f2684e866c0 R09: 00007f2684e866c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f26841b3f8c R13: 000000000000000b R14: 00007fff75972cb0 R15: 00007fff75972d98 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:finish_task_switch+0x1d3/0x810 kernel/sched/core.c:5124 Code: 37 0b 00 48 83 c4 08 4c 89 f7 e8 98 30 00 00 e9 8f 04 00 00 4c 89 f7 e8 7b 20 36 09 e8 36 26 32 00 fb 49 8d bc 24 f8 15 00 00 <48> 89 f8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28 RSP: 0018:ffffc90000177ba8 EFLAGS: 00000286 RAX: 97f0aedc7c962500 RBX: ffff8880b993b748 RCX: ffffffff91c94103 RDX: dffffc0000000000 RSI: ffffffff8aec01c0 RDI: ffff88801273b3b8 RBP: ffffc90000177bf0 R08: dffffc0000000000 R09: ffffed1017307541 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888012739dc0 R13: 1ffff110173276eb R14: ffff8880b983aa00 R15: ffff8880b993b758 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32926000 CR3: 0000000076329000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1435/0x4550 kernel/sched/core.c:6558 schedule_idle+0x4a/0x90 kernel/sched/core.c:6662 do_idle+0x62d/0x680 kernel/sched/idle.c:331 cpu_startup_entry+0x3d/0x60 kernel/sched/idle.c:401 start_secondary+0xe4/0xf0 arch/x86/kernel/smpboot.c:281 secondary_startup_64_no_verify+0xcf/0xdb