rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P8088/1:b..l rcu: (detected by 0, t=10502 jiffies, g=33057, q=507 ncpus=2) task:syz-executor.3 state:R running task stack:24672 pid:8088 tgid:8088 ppid:5123 flags:0x00004002 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:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5821 Code: 2b 00 74 08 4c 89 f7 e8 3a 18 8a 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90003057d60 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200060afb8 RCX: ca0e1f761874dd00 RDX: dffffc0000000000 RSI: ffffffff8bcad360 RDI: ffffffff8c200e00 RBP: ffffc90003057eb8 R08: ffffffff92fc96c7 R09: 1ffffffff25f92d8 R10: dffffc0000000000 R11: fffffbfff25f92d9 R12: 1ffff9200060afb4 R13: dffffc0000000000 R14: ffffc90003057dc0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:326 [inline] rcu_read_lock include/linux/rcupdate.h:838 [inline] __task_pid_nr_ns+0x45/0x450 kernel/pid.c:510 task_tgid_vnr include/linux/pid.h:294 [inline] __do_sys_getpid+0x1e/0x30 kernel/sys.c:969 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:0x7f0ef727a6e7 RSP: 002b:00007fff157f75c8 EFLAGS: 00000202 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 00007fff157f7730 RCX: 00007f0ef727a6e7 RDX: 00007fff157f7600 RSI: 00007fff157f7730 RDI: 0000000000000021 RBP: 0000000000000000 R08: 7fffffffffffffff R09: 0000000500000000 R10: 00007fff157f7c70 R11: 0000000000000202 R12: 00007fff157f7c70 R13: 00007f0ef73b3f8c R14: 0000000000000032 R15: 00007fff157f7c90 rcu: rcu_preempt kthread starved for 10529 jiffies! g33057 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:24912 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:144 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: 8087 Comm: syz-executor.1 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:x64_setup_rt_frame+0x219/0xcc0 arch/x86/kernel/signal_64.c:183 Code: e7 00 00 00 04 41 0f 94 c4 31 ff 4c 89 fe e8 ee 15 64 00 83 fb 33 0f 85 65 07 00 00 49 83 f4 07 0f 01 cb 0f ae e8 4d 89 66 08 <49> c7 46 10 00 00 00 00 4d 8d 7e 18 48 8b 44 24 38 48 8d 98 50 09 RSP: 0018:ffffc90002f17c40 EFLAGS: 00040202 RAX: 0000000000000002 RBX: 0000000000000033 RCX: ffff8880281f5a00 RDX: ffff8880281f5a00 RSI: 0000000004000000 RDI: 0000000000000000 RBP: ffffc90002f17db0 R08: ffffffff813251f2 R09: 1ffff920005e2f41 R10: dffffc0000000000 R11: fffff520005e2f42 R12: 0000000000000007 R13: 1ffff920005e2fa8 R14: 00007f343b1d0bb8 R15: 0000000004000000 FS: 00007f343b1d16c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fe56000 CR3: 0000000059704000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: setup_rt_frame arch/x86/kernel/signal.c:223 [inline] handle_signal arch/x86/kernel/signal.c:267 [inline] arch_do_signal_or_restart+0x435/0x830 arch/x86/kernel/signal.c:312 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:0x7f343a47cf67 Code: 14 25 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 RSP: 002b:00007f343b1d1178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 00000000000000ca RBX: 00007f343a5b4128 RCX: 00007f343a47cf69 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f343a5b4128 RBP: 00007f343a5b4120 R08: 00007f343b1d16c0 R09: 00007f343b1d16c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f343a5b412c R13: 000000000000006e R14: 00007ffe35ba87a0 R15: 00007ffe35ba8888