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): P6556/1:b..l P6888/1:b..l rcu: (detected by 0, t=10502 jiffies, g=13809, q=1330392 ncpus=2) task:syz-executor state:R running task stack:26072 pid:6888 tgid:6888 ppid:5838 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6935 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6959 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:1127 [inline] free_unref_page+0xd3f/0x1010 mm/page_alloc.c:2659 __slab_free+0x2c2/0x380 mm/slub.c:4524 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:250 [inline] slab_post_alloc_hook mm/slub.c:4119 [inline] slab_alloc_node mm/slub.c:4168 [inline] __do_kmalloc_node mm/slub.c:4297 [inline] __kmalloc_node_track_caller_noprof+0x237/0x4c0 mm/slub.c:4317 kmemdup_noprof+0x2a/0x60 mm/util.c:135 shmem_symlink+0x227/0x630 mm/shmem.c:3941 vfs_symlink+0x137/0x2e0 fs/namei.c:4669 do_symlinkat+0x222/0x3a0 fs/namei.c:4695 __do_sys_symlinkat fs/namei.c:4711 [inline] __se_sys_symlinkat fs/namei.c:4708 [inline] __x64_sys_symlinkat+0x95/0xb0 fs/namei.c:4708 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:0x7f185eb852a7 RSP: 002b:00007ffdfb331258 EFLAGS: 00000202 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f185eb852a7 RDX: 00007f185ec0332e RSI: 00000000ffffff9c RDI: 00007ffdfb3312e0 RBP: 00007ffdfb33128c R08: 0000000000000013 R09: 00007ffdfb330fa7 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032 R13: 000000000001b3c8 R14: 00007ffdfb3312e0 R15: 00007ffdfb3312e0 task:udevd state:R running task stack:23984 pid:6556 tgid:6556 ppid:5206 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 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:arch___clear_bit arch/x86/include/asm/bitops.h:94 [inline] RIP: 0010:___clear_bit include/asm-generic/bitops/instrumented-non-atomic.h:45 [inline] RIP: 0010:__update_page_owner_free_handle mm/page_owner.c:272 [inline] RIP: 0010:__reset_page_owner+0x157/0x430 mm/page_owner.c:298 Code: 00 00 4c 8b 35 0a 71 97 0c 4d 01 fe 83 7c 24 0c 00 74 41 e8 eb 39 90 ff 4c 89 ff be 08 00 00 00 e8 2e a7 f6 ff 49 0f ba 37 01 <4c> 89 e9 4d 8d 6e 0c 4c 89 e8 48 c1 e8 03 48 89 cb 0f b6 04 08 84 RSP: 0018:ffffc900047bf9c8 EFLAGS: 00000257 RAX: ffffffff820f4801 RBX: 0000000000000008 RCX: ffffffff820f4892 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88801c984840 RBP: 000000000000199c R08: ffff88801c984847 R09: 1ffff11003930908 R10: dffffc0000000000 R11: ffffed1003930909 R12: 0000000000000004 R13: dffffc0000000000 R14: ffff88801c984848 R15: ffff88801c984840 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_unref_page+0xd3f/0x1010 mm/page_alloc.c:2659 discard_slab mm/slub.c:2688 [inline] __put_partials+0x160/0x1c0 mm/slub.c:3157 put_cpu_partial+0x17c/0x250 mm/slub.c:3232 __slab_free+0x290/0x380 mm/slub.c:4483 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:250 [inline] slab_post_alloc_hook mm/slub.c:4119 [inline] slab_alloc_node mm/slub.c:4168 [inline] kmem_cache_alloc_noprof+0x1d9/0x380 mm/slub.c:4175 getname_flags+0xb7/0x540 fs/namei.c:139 getname_maybe_null include/linux/fs.h:2796 [inline] vfs_fstatat+0x3f/0x130 fs/stat.c:361 __do_sys_newfstatat fs/stat.c:530 [inline] __se_sys_newfstatat fs/stat.c:524 [inline] __x64_sys_newfstatat+0x11d/0x1a0 fs/stat.c:524 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:0x7f48491165f4 RSP: 002b:00007fffe98a76f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00007f48491165f4 RDX: 00007fffe98a7708 RSI: 00007fffe98a77d7 RDI: 00000000ffffff9c RBP: 00007fffe98a8810 R08: 0000000000000000 R09: 00007fffe98a8198 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffe98a8828 R13: 0000000000000000 R14: 0000000000000008 R15: 0000560f960b6910 rcu: rcu_preempt kthread starved for 10556 jiffies! g13809 f0x2 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:25880 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: 24 Comm: ksoftirqd/1 Not tainted 6.13.0-rc7-syzkaller-01160-g41c5d104f338 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:rcu_lock_release include/linux/rcupdate.h:347 [inline] RIP: 0010:rcu_read_unlock include/linux/rcupdate.h:880 [inline] RIP: 0010:nf_hook include/linux/netfilter.h:271 [inline] RIP: 0010:NF_HOOK+0x370/0x450 include/linux/netfilter.h:312 Code: 05 69 95 df 05 01 48 c7 c7 e0 9c 15 8d be 6f 03 00 00 48 c7 c2 80 9d 15 8d e8 5c 4a 56 f7 48 c7 c7 e0 7a 93 8e 48 8b 74 24 38 9b 0a 56 f7 e8 f6 24 61 f7 bf 01 00 00 00 44 89 f6 e8 19 aa 7a RSP: 0018:ffffc900001e74e0 EFLAGS: 00000246 RAX: ffffffff8a24dbea RBX: 0000000000000001 RCX: ffff88801d680000 RDX: 0000000000000100 RSI: ffffffff8a24d9aa RDI: ffffffff8e937ae0 RBP: ffffc900001e75f0 R08: ffffffff8a24dbd8 R09: ffffffff89de83e7 R10: 0000000000000004 R11: ffff88801d680000 R12: dffffc0000000000 R13: 1ffff9200003cea4 R14: 0000000000000000 R15: ffffffff8a24dd70 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6c26400218 CR3: 000000007ab20000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 __netif_receive_skb_one_core net/core/dev.c:5824 [inline] __netif_receive_skb+0x2bf/0x650 net/core/dev.c:5937 process_backlog+0x662/0x15b0 net/core/dev.c:6285 __napi_poll+0xcb/0x490 net/core/dev.c:7102 napi_poll net/core/dev.c:7171 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:7293 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 run_ksoftirqd+0xca/0x130 kernel/softirq.c:950 smpboot_thread_fn+0x544/0xa30 kernel/smpboot.c:164 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