rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=77161, q=145 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10501 (4294994752-4294984251), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g77161 f0x2 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:27032 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8671 Comm: syz-executor.0 Not tainted 6.1.90-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x0/0x80 kernel/kcov.c:305 Code: 39 c8 77 22 89 f8 89 f6 49 ff c2 4c 89 11 48 c7 44 0a 08 03 00 00 00 48 89 44 0a 10 48 89 74 0a 18 4c 89 44 0a 20 c3 0f 1f 00 <4c> 8b 04 24 65 48 8b 15 84 de 77 7e 65 8b 05 85 de 77 7e a9 00 01 RSP: 0018:ffffc900001e0db8 EFLAGS: 00000046 RAX: 0000000080010001 RBX: 0000000000000001 RCX: ffffc900001e0d03 RDX: ffff888013f69dc0 RSI: 0000000000000021 RDI: 0000000000000000 RBP: ffffc900001e0e80 R08: ffffffff8156426d R09: fffffbfff1ce7046 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200003c1bc R13: 0000000000000021 R14: 0000000000000000 R15: ffffffff81564122 FS: 0000555556bf5480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe7245a8000 CR3: 00000000581b3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: group_send_sig_info+0x225/0x300 kernel/signal.c:1447 do_bpf_send_signal+0x81/0x150 kernel/trace/bpf_trace.c:839 irq_work_single+0xd5/0x230 kernel/irq_work.c:211 irq_work_run_list kernel/irq_work.c:242 [inline] irq_work_run+0x187/0x350 kernel/irq_work.c:251 __sysvec_irq_work+0xbb/0x360 arch/x86/kernel/irq_work.c:22 sysvec_irq_work+0x89/0xb0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:679 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 0f 1f 44 00 00 4c 89 f7 e8 7b d0 35 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:ffffc9000313f008 EFLAGS: 00000286 RAX: 7476890eed4c3d00 RBX: ffff888056ae8034 RCX: ffffffff816acf0a RDX: dffffc0000000000 RSI: ffffffff8aec01c0 RDI: ffff888013f6b3b8 RBP: ffffc9000313f050 R08: dffffc0000000000 R09: fffffbfff2093659 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888013f69dc0 R13: 1ffff110173276eb R14: ffff8880b993aa00 R15: ffff8880b993b758 context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1435/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:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:need_resched include/linux/sched.h:2231 [inline] RIP: 0010:preempt_schedule_common+0x91/0xd0 kernel/sched/core.c:6735 Code: 42 80 3c 38 00 74 08 48 89 df e8 3a c9 4e f7 4c 89 33 bf 01 00 00 00 e8 1d b7 ff ff 65 8b 05 5e 33 6f 75 65 ff 0d 57 33 6f 75 <65> 48 8b 1d 47 33 6f 75 48 89 df be 08 00 00 00 e8 1a ca 4e f7 48 RSP: 0018:ffffc9000313f3a0 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff888013f6b298 RCX: 1ffff92000627e5c RDX: dffffc0000000000 RSI: ffffffff8aec01c0 RDI: ffff888013f6b3b8 RBP: ffffc9000313f448 R08: dffffc0000000000 R09: fffffbfff2093659 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000627e7c R13: 0000000000000000 R14: ffffffff8a933b59 R15: dffffc0000000000 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] copy_pte_range mm/memory.c:1116 [inline] copy_pmd_range mm/memory.c:1177 [inline] copy_pud_range mm/memory.c:1214 [inline] copy_p4d_range mm/memory.c:1238 [inline] copy_page_range+0x3ca3/0x4660 mm/memory.c:1336 dup_mmap kernel/fork.c:699 [inline] dup_mm kernel/fork.c:1540 [inline] copy_mm+0x12af/0x19c0 kernel/fork.c:1589 copy_process+0x19d5/0x4060 kernel/fork.c:2267 kernel_clone+0x222/0x920 kernel/fork.c:2682 __do_sys_clone kernel/fork.c:2823 [inline] __se_sys_clone kernel/fork.c:2807 [inline] __x64_sys_clone+0x231/0x280 kernel/fork.c:2807 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:0x7ff1e0a7ad53 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007ffd5472d5c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff1e0a7ad53 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000555556bf5750 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001