sched: DL replenish lagged too much rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10499 ticks this GP) idle=4c5c/1/0x4000000000000000 softirq=54826/1101599 fqs=29 rcu: (t=10501 jiffies g=60965 q=273 ncpus=2) rcu: rcu_preempt kthread starved for 10444 jiffies! g60965 f0x0 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:25376 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 13075 Comm: syz.1.1905 Not tainted 6.12.0-syzkaller-g27802ca14cae #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:kvm_wait+0x250/0x2c0 arch/x86/kernel/kvm.c:1064 Code: 3b 45 0f b6 f6 44 89 ff 44 89 f6 e8 3a 77 54 00 e8 c5 3e 5c 00 45 38 f7 75 15 66 90 e8 a9 76 54 00 0f 00 2d 92 d6 c6 0a fb f4 50 fe ff ff e8 96 76 54 00 fb e9 45 fe ff ff 89 d9 80 e1 07 38 RSP: 0018:ffffc9000448f8e0 EFLAGS: 000002d3 RAX: ffffffff81416967 RBX: ffff88807d57b820 RCX: ffff8880329c3c00 RDX: 0000000000000000 RSI: ffffffff8c0ad880 RDI: ffffffff8c615460 RBP: ffffc9000448f9b0 R08: ffffffff9431f937 R09: 1ffffffff2863f26 R10: dffffc0000000000 R11: fffffbfff2863f27 R12: 1ffff92000891f20 R13: dffffc0000000000 R14: 0000000000000003 R15: 0000000000000003 FS: 000055558deb0500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3161eff8 CR3: 0000000051c40000 CR4: 00000000003526f0 DR0: 0000000000008000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:596 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:466 [inline] __pv_queued_spin_lock_slowpath+0x8d0/0xdb0 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:584 [inline] queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x272/0x370 kernel/locking/spinlock_debug.c:116 spin_lock include/linux/spinlock.h:351 [inline] unix_release_sock+0x63e/0xd00 net/unix/af_unix.c:703 unix_release+0x91/0xc0 net/unix/af_unix.c:1109 __sock_release net/socket.c:640 [inline] sock_close+0xbc/0x240 net/socket.c:1408 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 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:0x7f4f2dd7e819 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe36903838 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f4f2df37ba0 RCX: 00007f4f2dd7e819 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f4f2df37ba0 R08: 0000000000000ab4 R09: 00007ffe36903b2f R10: 00007f4f2df37ac0 R11: 0000000000000246 R12: 000000000006bd4b R13: 00007ffe36903940 R14: 0000000000000032 R15: ffffffffffffffff CPU: 0 UID: 0 PID: 13077 Comm: syz.1.1905 Not tainted 6.12.0-syzkaller-g27802ca14cae #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:variable_ffs arch/x86/include/asm/bitops.h:321 [inline] RIP: 0010:handle_softirqs+0x1e3/0x980 kernel/softirq.c:542 Code: 7c 24 70 45 0f b7 e4 48 c7 c7 c0 c8 09 8c e8 a4 19 7a 0a 65 66 c7 05 f2 9c ab 7e 00 00 e8 25 70 45 00 fb 49 c7 c6 c0 b0 60 8e ff ff ff ff 41 0f bc c4 41 89 c7 41 ff c7 0f 84 eb 03 00 00 44 RSP: 0018:ffffc90000007e40 EFLAGS: 00000286 RAX: 8b55f4b4cd0f5c00 RBX: ffffc90000007ee0 RCX: ffffffff81718eba RDX: dffffc0000000000 RSI: ffffffff8c0ad880 RDI: ffffffff8c615460 RBP: ffffc90000007f50 R08: ffffffff9431f937 R09: 1ffffffff2863f26 R10: dffffc0000000000 R11: fffffbfff2863f27 R12: 0000000000000200 R13: 0000000000000000 R14: ffffffff8e60b0c0 R15: 1ffff11006538000 FS: 00007f4f2eb086c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000004 CR3: 0000000051c40000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:655 irq_exit_rcu+0x9/0x30 kernel/softirq.c:671 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 RIP: 0010:rcu_read_unlock_special+0x88/0x570 kernel/rcu/tree_plugin.h:693 Code: f1 f1 f1 00 f2 f2 f2 49 89 04 14 66 41 c7 44 14 09 f3 f3 41 c6 44 14 0b f3 65 44 8b 3d 19 7b 87 7e 41 f7 c7 00 00 f0 00 74 49 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 22 00 00 00 00 66 42 c7 44 22 RSP: 0018:ffffc9000426f260 EFLAGS: 00000206 RAX: 8b55f4b4cd0f5c00 RBX: 1ffff9200084de54 RCX: ffffffff81718eba RDX: dffffc0000000000 RSI: ffffffff8c0ad880 RDI: ffffffff8c615460 RBP: ffffc9000426f338 R08: ffffffff9431f937 R09: 1ffffffff2863f26 R10: dffffc0000000000 R11: fffffbfff2863f27 R12: 1ffff9200084de50 R13: ffff8880329c0460 R14: ffffc9000426f2a0 R15: ffffffff8e941300 __rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:437 rcu_read_unlock include/linux/rcupdate.h:882 [inline] trace_call_bpf+0x607/0x8a0 kernel/trace/bpf_trace.c:148 perf_trace_run_bpf_submit+0x82/0x180 kernel/events/core.c:10473 do_perf_trace_lock include/trace/events/lock.h:50 [inline] perf_trace_lock+0x388/0x490 include/trace/events/lock.h:50 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x9cc/0xa30 kernel/locking/lockdep.c:5860 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] manage_oob net/unix/af_unix.c:2698 [inline] unix_stream_read_generic+0x107f/0x26b0 net/unix/af_unix.c:2812 unix_stream_recvmsg+0x22b/0x2c0 net/unix/af_unix.c:2997 sock_recvmsg_nosec net/socket.c:1033 [inline] sock_recvmsg+0x22f/0x280 net/socket.c:1055 ____sys_recvmsg+0x1c6/0x480 net/socket.c:2803 ___sys_recvmsg net/socket.c:2845 [inline] __sys_recvmsg+0x291/0x390 net/socket.c:2878 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:0x7f4f2dd7e819 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4f2eb08038 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00007f4f2df35fa0 RCX: 00007f4f2dd7e819 RDX: 0000000000000002 RSI: 0000000020000140 RDI: 000000000000000a RBP: 00007f4f2ddf175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4f2df35fa0 R15: 00007ffe369036d8