rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 0, t=10502 jiffies, g=16649, q=336 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294962164-4294951662), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g16649 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:24984 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 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/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:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 6871 Comm: syz-executor.2 Tainted: G W 6.10.0-rc2-next-20240604-syzkaller #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5066 Code: c9 50 e8 f9 b4 0b 00 48 83 c4 08 4c 89 f7 e8 7d 38 00 00 e9 de 04 00 00 4c 89 f7 e8 d0 05 31 0a e8 0b 28 37 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0018:ffffc90014a9f708 EFLAGS: 00000286 RAX: 2ea78550e5a85300 RBX: ffff88801fc2da00 RCX: ffffffff8172f95a RDX: dffffc0000000000 RSI: ffffffff8bcabee0 RDI: ffffffff8c2005c0 RBP: ffffc90014a9f750 R08: ffffffff92fc2767 R09: 1ffffffff25f84ec R10: dffffc0000000000 R11: fffffbfff25f84ed R12: 1ffff11017287ea7 R13: dffffc0000000000 R14: ffff8880b943e7c0 R15: ffff8880b943f538 FS: 00005555629b7480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8690c5cf80 CR3: 000000007d2e2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: context_switch kernel/sched/core.c:5195 [inline] __schedule+0x17f0/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:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] RIP: 0010:tif_need_resched include/linux/thread_info.h:184 [inline] RIP: 0010:need_resched include/linux/sched.h:2111 [inline] RIP: 0010:preempt_schedule_common+0xa7/0xd0 kernel/sched/core.c:6716 Code: 00 00 e8 3c b0 ff ff 65 8b 05 9d 90 6d 74 65 ff 0d 96 90 6d 74 65 48 8b 1c 25 00 d5 03 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <0f> 84 64 ff ff ff 48 89 df e8 4b 35 66 f6 e9 57 ff ff ff 5b 41 5e RSP: 0018:ffffc90014a9fae0 EFLAGS: 00000246 RAX: 1ffff11003f85b40 RBX: ffff88801fc2da00 RCX: 1ffff92002953f38 RDX: dffffc0000000000 RSI: ffffffff8bcabee0 RDI: ffff88801fc2eff8 RBP: ffffc90014a9fb98 R08: ffffffff92fc2767 R09: 1ffffffff25f84ec R10: dffffc0000000000 R11: fffffbfff25f84ed R12: 1ffff92002953f64 R13: 1ffff92002953f80 R14: ffffffff8b9643c1 R15: dffffc0000000000 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6732 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x130/0x140 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock+0x18c/0x1e0 kernel/sched/wait.c:108 unix_release_sock+0x5ef/0xcc0 net/unix/af_unix.c:634 unix_release+0x91/0xc0 net/unix/af_unix.c:1049 __sock_release net/socket.c:659 [inline] sock_close+0xbc/0x240 net/socket.c:1421 __fput+0x406/0x8b0 fs/file_table.c:422 __do_sys_close fs/open.c:1559 [inline] __se_sys_close fs/open.c:1544 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1544 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:0x7f868fe7be5a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007fff02695810 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f868fe7be5a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f868ffb59a0 R08: 0000001b33320000 R09: 7fffffffffffffff R10: 00000000000000dc R11: 0000000000000293 R12: 0000000000023a48 R13: 00007f868ffb407c R14: 0000000000000032 R15: 00007f868ffb59a0