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): P5212/1:b..l rcu: (detected by 0, t=10503 jiffies, g=12437, q=1890167 ncpus=2) task:syz-executor state:R running task stack:20112 pid:5212 tgid:5212 ppid:5210 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6674 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6996 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:unwind_get_return_address+0x4f/0x90 arch/x86/kernel/unwind_orc.c:369 Code: 4b 83 3b 00 74 3a 48 83 c3 48 49 89 df 49 c1 ef 03 43 80 3c 37 00 74 08 48 89 df e8 8b 48 bd 00 48 8b 3b e8 03 73 1e 00 85 c0 <74> 14 43 80 3c 37 00 74 08 48 89 df e8 70 48 bd 00 48 8b 03 eb 02 RSP: 0018:ffffc9000350f620 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc9000350f688 RCX: ffffffff917ac000 RDX: ffffffff91959501 RSI: ffffc90003508000 RDI: ffffffff81ef839b RBP: ffffc9000350f6d0 R08: ffffc9000350f978 R09: ffffc9000350f690 R10: dffffc0000000000 R11: fffff520006a1ed4 R12: ffff888028798000 R13: ffffffff81806cf0 R14: dffffc0000000000 R15: 1ffff920006a1ed1 arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26 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] kmem_cache_alloc_lru_noprof+0x139/0x2b0 mm/slub.c:4154 __d_alloc+0x31/0x700 fs/dcache.c:1636 d_alloc_pseudo+0x1f/0xb0 fs/dcache.c:1768 alloc_path_pseudo fs/file_table.c:337 [inline] alloc_file_pseudo+0x123/0x290 fs/file_table.c:353 create_pipe_files+0x33e/0x700 fs/pipe.c:938 __do_pipe_flags+0x48/0x2d0 fs/pipe.c:973 do_pipe2+0xd4/0x310 fs/pipe.c:1024 __do_sys_pipe2 fs/pipe.c:1042 [inline] __se_sys_pipe2 fs/pipe.c:1040 [inline] __x64_sys_pipe2+0x5a/0x70 fs/pipe.c:1040 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:0x7f998a77cc49 RSP: 002b:00007ffc18c8a238 EFLAGS: 00000246 ORIG_RAX: 0000000000000125 RAX: ffffffffffffffda RBX: 00005555860efad0 RCX: 00007f998a77cc49 RDX: 00005550d3574e37 RSI: 0000000000000000 RDI: 00007ffc18c8a258 RBP: 00007ffc18c8a7f0 R08: 0000000000000007 R09: 00005555860f7bc0 R10: 0e3970091a0c7192 R11: 0000000000000246 R12: 00007ffc18c8a640 R13: 00005555860ef650 R14: 00007ffc18c8a380 R15: 00005555860f1180 rcu: rcu_preempt kthread starved for 9499 jiffies! g12437 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:24464 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:6674 __schedule_loop kernel/sched/core.c:6751 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6766 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+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: 2852 Comm: kworker/R-bat_e Not tainted 6.11.0-syzkaller-08833-gde5cb0dcb74c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: bat_events batadv_tt_purge RIP: 0010:lock_acquire+0x28d/0x550 kernel/locking/lockdep.c:5826 Code: 45 4b c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 11 00 00 00 00 66 43 c7 44 25 15 00 00 43 c6 44 25 17 00 <65> 48 8b 04 25 28 00 00 00 48 3b 84 24 00 01 00 00 0f 85 95 02 00 RSP: 0018:ffffc90000a18920 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffff92000143130 RCX: c4c75964ce957f00 RDX: dffffc0000000000 RSI: ffffffff8c0adbc0 RDI: ffffffff8c60ddc0 RBP: ffffc90000a18a68 R08: ffffffff9425983f R09: 1ffffffff284b307 R10: dffffc0000000000 R11: fffffbfff284b308 R12: 1ffff9200014312c R13: dffffc0000000000 R14: ffffc90000a18980 R15: 0000000000000046 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555760265c8 CR3: 000000007f5f8000 CR4: 0000000000350ef0 Call Trace: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0xdd/0x130 kernel/locking/spinlock.c:236 mISDN_clock_get+0x18/0x60 drivers/isdn/mISDN/clock.c:187 dsp_cmx_send+0x3a/0x2240 call_timer_fn+0x190/0x650 kernel/time/timer.c:1794 expire_timers kernel/time/timer.c:1845 [inline] __run_timers kernel/time/timer.c:2419 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2430 run_timer_base kernel/time/timer.c:2439 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2449 handle_softirqs+0x2c7/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] batadv_tt_global_purge net/batman-adv/translation-table.c:2299 [inline] batadv_tt_purge+0x4e3/0xa40 net/batman-adv/translation-table.c:3561 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa65/0x1850 kernel/workqueue.c:3310 rescuer_thread+0x63f/0x10a0 kernel/workqueue.c:3487 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244