sched: DL replenish lagged too much rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P7450/1:b..l P7447/1:b..l rcu: (detected by 1, t=10503 jiffies, g=20193, q=930 ncpus=2) task:syz.0.580 state:R running task stack:25568 pid:7447 tgid:7446 ppid:5710 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6675 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6997 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:stack_trace_consume_entry+0x0/0x280 kernel/stacktrace.c:83 Code: fd 7d 00 e9 6a ff ff ff e8 6d b6 44 0a 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 fb 48 RSP: 0018:ffffc90009e87518 EFLAGS: 00000282 RAX: ffffffff82092376 RBX: ffffc90009e87520 RCX: ffffffff917b9000 RDX: ffffffff91966601 RSI: ffffffff82092376 RDI: ffffc90009e87600 RBP: ffffc90009e875b0 R08: ffffc90009e877d8 R09: 0000000000000000 R10: ffffc90009e87570 R11: ffffffff81808f50 R12: ffff888026c7bc00 R13: ffffffff81808f50 R14: ffffc90009e87600 R15: 0000000000000000 arch_stack_walk+0x10e/0x150 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x430 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0xcfb/0xf20 mm/page_alloc.c:2638 discard_slab mm/slub.c:2678 [inline] __put_partials+0xeb/0x130 mm/slub.c:3146 put_cpu_partial+0x17c/0x250 mm/slub.c:3221 __slab_free+0x2ea/0x3d0 mm/slub.c:4450 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x23/0xb0 mm/kasan/common.c:385 kasan_kmalloc include/linux/kasan.h:257 [inline] __do_kmalloc_node mm/slub.c:4265 [inline] __kmalloc_node_track_caller_noprof+0x225/0x440 mm/slub.c:4284 kstrdup+0x3a/0x80 mm/util.c:64 call_modprobe kernel/module/kmod.c:88 [inline] __request_module+0x2d5/0x650 kernel/module/kmod.c:173 crypto_larval_lookup crypto/api.c:301 [inline] crypto_alg_mod_lookup+0xe7/0x760 crypto/api.c:348 crypto_find_alg crypto/api.c:597 [inline] crypto_alloc_tfm_node+0x130/0x360 crypto/api.c:634 alg_bind+0x305/0x570 crypto/af_alg.c:184 __sys_bind_socket net/socket.c:1838 [inline] __sys_bind+0x22d/0x2d0 net/socket.c:1862 __do_sys_bind net/socket.c:1870 [inline] __se_sys_bind net/socket.c:1868 [inline] __x64_sys_bind+0x7a/0x90 net/socket.c:1868 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:0x7f23df37dff9 RSP: 002b:00007f23e00a3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007f23df535f80 RCX: 00007f23df37dff9 RDX: 0000000000000058 RSI: 0000000020000100 RDI: 0000000000000004 RBP: 00007f23df3f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f23df535f80 R15: 00007ffc7798e318 task:syz.0.580 state:R running task stack:26712 pid:7450 tgid:7446 ppid:5710 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6675 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6854 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6878 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 unwind_next_frame+0x18f8/0x22d0 arch/x86/kernel/unwind_orc.c:672 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x430 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0xcfb/0xf20 mm/page_alloc.c:2638 discard_slab mm/slub.c:2678 [inline] __put_partials+0xeb/0x130 mm/slub.c:3146 put_cpu_partial+0x17c/0x250 mm/slub.c:3221 __slab_free+0x2ea/0x3d0 mm/slub.c:4450 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4086 [inline] slab_alloc_node mm/slub.c:4135 [inline] __do_kmalloc_node mm/slub.c:4264 [inline] __kmalloc_node_track_caller_noprof+0x1cd/0x440 mm/slub.c:4284 kstrdup+0x3a/0x80 mm/util.c:64 call_modprobe kernel/module/kmod.c:88 [inline] __request_module+0x2d5/0x650 kernel/module/kmod.c:173 crypto_larval_lookup crypto/api.c:301 [inline] crypto_alg_mod_lookup+0xe7/0x760 crypto/api.c:348 crypto_find_alg crypto/api.c:597 [inline] crypto_alloc_tfm_node+0x130/0x360 crypto/api.c:634 alg_bind+0x305/0x570 crypto/af_alg.c:184 __sys_bind_socket net/socket.c:1838 [inline] __sys_bind+0x22d/0x2d0 net/socket.c:1862 __do_sys_bind net/socket.c:1870 [inline] __se_sys_bind net/socket.c:1868 [inline] __x64_sys_bind+0x7a/0x90 net/socket.c:1868 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:0x7f23df37dff9 RSP: 002b:00007f23dedde038 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007f23df536130 RCX: 00007f23df37dff9 RDX: 0000000000000058 RSI: 0000000020000100 RDI: 0000000000000004 RBP: 00007f23df3f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f23df536130 R15: 00007ffc7798e318 rcu: rcu_preempt kthread starved for 10337 jiffies! g20193 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:24304 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6767 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5239 Comm: kworker/0:3 Not tainted 6.12.0-rc1-syzkaller-00147-g9234a2549cb6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events nsim_dev_trap_report_work RIP: 0010:__netif_receive_skb_one_core net/core/dev.c:5666 [inline] RIP: 0010:__netif_receive_skb+0x1ba/0x650 net/core/dev.c:5779 Code: 00 f8 48 b8 00 00 00 00 00 fc ff df 41 80 7c 05 00 00 48 8b 5c 24 20 74 08 4c 89 ff e8 0f c1 69 f8 4c 8b 7c 24 60 49 8d 7f 10 <48> 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 RSP: 0018:ffffc900000079a0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 1ffff92000000f3c RCX: ffff8880633c1e00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff88822cc5bdd0 RBP: ffffc90000007ad0 R08: ffffffff8994ab5a R09: ffffffff89947385 R10: 0000000000000002 R11: ffff8880633c1e00 R12: ffffffff8a645ac0 R13: 1ffff92000000f40 R14: ffffffff901e96b0 R15: ffff88822cc5bdc0 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12469052d8 CR3: 0000000063f46000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: process_backlog+0x662/0x15b0 net/core/dev.c:6111 __napi_poll+0xcb/0x490 net/core/dev.c:6775 napi_poll net/core/dev.c:6844 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6966 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 do_softirq+0x11b/0x1e0 kernel/softirq.c:455 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382 spin_unlock_bh include/linux/spinlock.h:396 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x75d/0xaa0 drivers/net/netdevsim/dev.c:850 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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