rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P10836/1:b..l (detected by 1, t=10502 jiffies, g=38641, q=68) task:syz.1.1326 state:R running task stack:25208 pid:10836 ppid: 8263 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6777 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x60 kernel/kcov.c:209 Code: 8b 15 25 ea 81 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 34 16 00 00 00 74 2c 8b 91 10 16 00 00 83 fa 02 75 21 <48> 8b 91 18 16 00 00 48 8b 32 48 8d 7e 01 8b 89 14 16 00 00 48 39 RSP: 0018:ffffc9000490fef0 EFLAGS: 00000246 RAX: ffffffff8154b1dc RBX: 0000000000000001 RCX: ffff88801f3f8000 RDX: 0000000000000002 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88802b233400 R08: ffffffff8154b1cf R09: fffffbfff2131821 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888064401528 R15: ffff888063150000 __task_pid_nr_ns+0x1dc/0x420 kernel/pid.c:500 task_tgid_vnr include/linux/sched.h:1587 [inline] __do_sys_getpid+0x19/0x20 kernel/sys.c:945 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fdd066adce7 RSP: 002b:00007fdd0451ec48 EFLAGS: 00000206 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 00007fdd0451edb0 RCX: 00007fdd066adce7 RDX: 00007fdd0451ec80 RSI: 00007fdd0451edb0 RDI: 0000000000000021 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000206 R12: 0000000000000073 R13: 00007fdd0451feb0 R14: 9999999999999999 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10514 jiffies! g38641 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:25272 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 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: 10837 Comm: syz.2.1327 Not tainted 5.15.177-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:trace_lock_acquire include/trace/events/lock.h:13 [inline] RIP: 0010:lock_acquire+0xd6/0x4f0 kernel/locking/lockdep.c:5594 Code: 83 fb 08 0f 83 e2 02 00 00 89 d8 c1 e8 06 48 8d 3c c5 e8 86 0a 8e be 08 00 00 00 e8 94 a1 67 00 89 d8 48 0f a3 05 f2 b8 a7 0c <73> 0d e8 83 6b 08 00 84 c0 0f 84 b9 02 00 00 48 c7 c0 94 ba 0a 8e RSP: 0018:ffffc9000314f860 EFLAGS: 00000057 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8162cdec RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e0a86e8 RBP: ffffc9000314f9a8 R08: dffffc0000000000 R09: fffffbfff1c150de R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000629f14 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 000055558f70b500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4973694000 CR3: 000000007c892000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 spin_lock_irq include/linux/spinlock.h:388 [inline] __set_current_blocked+0x11b/0x2f0 kernel/signal.c:3086 set_current_blocked kernel/signal.c:3072 [inline] signal_delivered kernel/signal.c:2936 [inline] signal_setup_done+0x397/0x5f0 kernel/signal.c:2947 handle_signal arch/x86/kernel/signal.c:842 [inline] arch_do_signal_or_restart+0x14a1/0x1890 arch/x86/kernel/signal.c:869 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f4975cb6460 Code: 83 c0 16 83 e0 f7 74 12 50 48 8d 3d aa 15 08 00 e8 25 90 f8 ff 0f 1f 44 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <83> ff 21 74 0b c3 66 2e 0f 1f 84 00 00 00 00 00 55 53 48 89 f3 48 RSP: 002b:00007ffe2acbb738 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007f4975ea72d8 RCX: 00007f4975c45347 RDX: 00007ffe2acbb740 RSI: 00007ffe2acbb870 RDI: 0000000000000021 RBP: 00007f4975ea724c R08: 00007f4975ea6fa0 R09: 00007ffe2acbc157 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000003 R13: 00007f4975ea7240 R14: 0000000000000003 R15: 00000000000014ae