sched: DL replenish lagged too much rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10500 ticks this GP) idle=39ac/1/0x4000000000000000 softirq=56848/1483984 fqs=8 rcu: (t=10500 jiffies g=70493 q=232 ncpus=2) rcu: rcu_preempt kthread starved for 10479 jiffies! g70493 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: 15560 Comm: syz.3.3033 Not tainted 6.12.0-syzkaller-09087-g3448ad23b34e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__sanitizer_cov_trace_switch+0x93/0x120 kernel/kcov.c:350 Code: 14 e9 9a 00 00 00 41 b8 05 00 00 00 4d 85 d2 0f 84 8b 00 00 00 4c 8b 4c 24 20 65 4c 8b 1c 25 c0 d4 03 00 31 d2 eb 08 48 ff c2 <49> 39 d2 74 71 4c 8b 74 d6 10 65 8b 05 94 ee 6d 7e 25 00 01 ff 00 RSP: 0018:ffffc90000a18348 EFLAGS: 00000202 RAX: 0000000000000100 RBX: 0000000000000004 RCX: ffff88807acc1e00 RDX: 0000000000000001 RSI: ffffffff8e9920e0 RDI: 0000000000000004 RBP: 000000000000004a R08: 0000000000000005 R09: ffffffff8197d395 R10: 0000000000000020 R11: ffff88807acc1e00 R12: dffffc0000000000 R13: 00000000000005b4 R14: 0000000000000000 R15: 0000000000104e64 FS: 000055557352f500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31220000 CR3: 0000000057252000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: rb_event_length+0x45/0x400 kernel/trace/ring_buffer.c:218 rb_read_data_buffer+0x3fd/0x520 kernel/trace/ring_buffer.c:1749 check_buffer+0x35e/0x850 kernel/trace/ring_buffer.c:4221 __rb_reserve_next kernel/trace/ring_buffer.c:4320 [inline] rb_reserve_next_event kernel/trace/ring_buffer.c:4452 [inline] ring_buffer_lock_reserve+0x12a9/0x21c0 kernel/trace/ring_buffer.c:4511 __trace_buffer_lock_reserve kernel/trace/trace.c:1020 [inline] trace_event_buffer_lock_reserve+0x2ab/0x6a0 kernel/trace/trace.c:2746 trace_event_buffer_reserve+0x2b7/0x3f0 kernel/trace/trace_events.c:515 do_trace_event_raw_event_bpf_trace_printk kernel/trace/bpf_trace.h:11 [inline] trace_event_raw_event_bpf_trace_printk+0x102/0x260 kernel/trace/bpf_trace.h:11 trace_bpf_trace_printk+0x186/0x1f0 kernel/trace/bpf_trace.h:11 ____bpf_trace_printk kernel/trace/bpf_trace.c:391 [inline] bpf_trace_printk+0x1bf/0x230 kernel/trace/bpf_trace.c:374 bpf_prog_0605f9f479290f07+0x38/0x3c bpf_dispatcher_nop_func include/linux/bpf.h:1290 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2351 [inline] bpf_trace_run1+0x2ca/0x520 kernel/trace/bpf_trace.c:2391 trace_rcu_utilization+0x1b4/0x1e0 include/trace/events/rcu.h:27 rcu_core+0x1161/0x17a0 kernel/rcu/tree.c:2831 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __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:ffffc900035f7c20 EFLAGS: 00000206 RAX: a11265674b953100 RBX: 1ffff920006bef8c RCX: ffffffff81718eba RDX: dffffc0000000000 RSI: ffffffff8c0ad8a0 RDI: ffffffff8c6154a0 RBP: ffffc900035f7cf8 R08: ffffffff9431f8bf R09: 1ffffffff2863f17 R10: dffffc0000000000 R11: fffffbfff2863f18 R12: 1ffff920006bef88 R13: ffff88807acc2260 R14: ffffc900035f7c60 R15: 0000000000000000 __rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:437 dput+0x197/0x2b0 fs/dcache.c:866 __fput+0x5ba/0xa50 fs/file_table.c:458 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:0x7f9713b7e819 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:00007ffddbf89b28 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f9713d37ba0 RCX: 00007f9713b7e819 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f9713d37ba0 R08: 000000000000173c R09: 00007ffddbf89e1f R10: 00007f9713d37ac0 R11: 0000000000000246 R12: 00000000000918b8 R13: 00007ffddbf89c30 R14: 0000000000000032 R15: ffffffffffffffff CPU: 0 UID: 0 PID: 15564 Comm: syz.1.3032 Not tainted 6.12.0-syzkaller-09087-g3448ad23b34e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__sanitizer_cov_trace_switch+0x93/0x120 kernel/kcov.c:350 Code: 14 e9 9a 00 00 00 41 b8 05 00 00 00 4d 85 d2 0f 84 8b 00 00 00 4c 8b 4c 24 20 65 4c 8b 1c 25 c0 d4 03 00 31 d2 eb 08 48 ff c2 <49> 39 d2 74 71 4c 8b 74 d6 10 65 8b 05 94 ee 6d 7e 25 00 01 ff 00 RSP: 0018:ffffc90000007348 EFLAGS: 00000206 RAX: 0000000000000100 RBX: 0000000000000004 RCX: ffff88807b5c3c00 RDX: 0000000000000009 RSI: ffffffff8e9920e0 RDI: 0000000000000004 RBP: 0000000000000018 R08: 0000000000000005 R09: ffffffff8197d395 R10: 0000000000000020 R11: ffff88807b5c3c00 R12: dffffc0000000000 R13: 00000000000001cc R14: 0000000000000008 R15: 00000000000a99e4 FS: 00007f70536b76c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020065000 CR3: 0000000025214000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0100000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: rb_event_length+0x45/0x400 kernel/trace/ring_buffer.c:218 rb_read_data_buffer+0x3fd/0x520 kernel/trace/ring_buffer.c:1749 check_buffer+0x35e/0x850 kernel/trace/ring_buffer.c:4221 __rb_reserve_next kernel/trace/ring_buffer.c:4320 [inline] rb_reserve_next_event kernel/trace/ring_buffer.c:4452 [inline] ring_buffer_lock_reserve+0x12a9/0x21c0 kernel/trace/ring_buffer.c:4511 __trace_buffer_lock_reserve kernel/trace/trace.c:1020 [inline] trace_event_buffer_lock_reserve+0x2ab/0x6a0 kernel/trace/trace.c:2746 trace_event_buffer_reserve+0x2b7/0x3f0 kernel/trace/trace_events.c:515 do_trace_event_raw_event_bpf_trace_printk kernel/trace/bpf_trace.h:11 [inline] trace_event_raw_event_bpf_trace_printk+0x102/0x260 kernel/trace/bpf_trace.h:11 trace_bpf_trace_printk+0x186/0x1f0 kernel/trace/bpf_trace.h:11 ____bpf_trace_printk kernel/trace/bpf_trace.c:391 [inline] bpf_trace_printk+0x1bf/0x230 kernel/trace/bpf_trace.c:374 bpf_prog_0605f9f479290f07+0x38/0x3c bpf_dispatcher_nop_func include/linux/bpf.h:1290 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2351 [inline] bpf_trace_run1+0x2ca/0x520 kernel/trace/bpf_trace.c:2391 trace_rcu_utilization+0x1b4/0x1e0 include/trace/events/rcu.h:27 rcu_core+0x1161/0x17a0 kernel/rcu/tree.c:2831 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __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:preempt_schedule_irq+0xf6/0x1c0 kernel/sched/core.c:7078 Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 8b 00 00 00 bf 01 00 00 00 e8 65 7f 89 f5 e8 50 3a c3 f5 fb bf 01 00 00 00 85 ab ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 45 55 26 f6 48 RSP: 0018:ffffc90003576be0 EFLAGS: 00000282 RAX: 0772438e8e09cc00 RBX: 1ffff920006aed84 RCX: ffffffff81718eba RDX: dffffc0000000000 RSI: ffffffff8c0ad8a0 RDI: 0000000000000001 RBP: ffffc90003576ca0 R08: ffffffff9431f8b7 R09: 1ffffffff2863f16 R10: dffffc0000000000 R11: fffffbfff2863f17 R12: 1ffff920006aed7c R13: 1ffff920006aed80 R14: ffffc90003576c00 R15: dffffc0000000000 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:709 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:rcu_read_unlock_special+0x77/0x570 kernel/rcu/tree_plugin.h:642 Code: 30 30 59 7c 81 4c 8d 64 24 20 49 c1 ec 03 48 b8 f1 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 RSP: 0018:ffffc90003576d60 EFLAGS: 00000a02 RAX: f2f2f200f1f1f1f1 RBX: 1ffff1100f6b8808 RCX: ffffc90003576d03 RDX: dffffc0000000000 RSI: ffffffff8c0aea80 RDI: ffff88807b5c3c00 RBP: ffffc90003576e38 R08: ffffffff901e4037 R09: 1ffffffff203c806 R10: dffffc0000000000 R11: fffffbfff203c807 R12: 1ffff920006aedb0 R13: ffff88807b5c4044 R14: ffff88807b5c3c00 R15: ffff88807b5c4048 __rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:437 rcu_read_unlock include/linux/rcupdate.h:882 [inline] pte_unmap include/linux/pgtable.h:136 [inline] do_anonymous_page mm/memory.c:4866 [inline] do_pte_missing mm/memory.c:3977 [inline] handle_pte_fault+0x4d23/0x68a0 mm/memory.c:5801 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6112 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71 Code: 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 a4 c3 cc cc cc cc 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 RSP: 0018:ffffc90003577538 EFLAGS: 00050206 RAX: ffffffff84be4b01 RBX: 00000000000101d0 RCX: 000000000000bdf0 RDX: 0000000000000001 RSI: 0000000020065000 RDI: ffff8880779e44c8 RBP: ffffc900035776b0 R08: ffff8880779f02b7 R09: 1ffff1100ef3e056 R10: dffffc0000000000 R11: ffffed100ef3e057 R12: ffffc90003577e18 R13: 0000000020060c20 R14: ffff8880779e00e8 R15: 1ffff920006aefc3 copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:141 [inline] copy_from_user_iter lib/iov_iter.c:55 [inline] iterate_ubuf include/linux/iov_iter.h:30 [inline] iterate_and_advance2 include/linux/iov_iter.h:300 [inline] iterate_and_advance include/linux/iov_iter.h:328 [inline] __copy_from_iter lib/iov_iter.c:249 [inline] _copy_from_iter+0x29a/0x1e70 lib/iov_iter.c:260 copy_from_iter include/linux/uio.h:219 [inline] copy_from_iter_full include/linux/uio.h:236 [inline] tipc_msg_build+0x488/0x1070 net/tipc/msg.c:408 __tipc_sendstream+0xa39/0x14e0 net/tipc/socket.c:1615 tipc_sendstream+0x55/0x70 net/tipc/socket.c:1546 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:726 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2583 ___sys_sendmsg net/socket.c:2637 [inline] __sys_sendmsg+0x269/0x350 net/socket.c:2669 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:0x7f705297e819 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:00007f70536b7038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f7052b36160 RCX: 00007f705297e819 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000006 RBP: 00007f70529f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7052b36160 R15: 00007fff1da963d8