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): P18406/1:b..l P18345/1:b..l rcu: (detected by 0, t=10503 jiffies, g=109005, q=702 ncpus=2) task:syz.4.1937 state:R running task stack:21632 pid:18345 tgid:18344 ppid:15418 task_flags:0x400740 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7086 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:lock_is_held_type+0x13b/0x190 Code: 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 42 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc90004b8ebd0 EFLAGS: 00000206 RAX: 03992e4c17220b00 RBX: 0000000000000001 RCX: 0000000000080000 RDX: ffffc90010eda000 RSI: ffffffff8c0ab8e0 RDI: ffffffff8c608a00 RBP: 0000000000000001 R08: ffffffff8bed0917 R09: ffffffff8bed082b R10: 0000000000000004 R11: ffff88804583da00 R12: 0000000000000246 R13: ffff88804583da00 R14: 00000000ffffffff R15: ffff888063f1efe0 lock_is_held include/linux/lockdep.h:249 [inline] mt_locked lib/maple_tree.c:796 [inline] mt_slot lib/maple_tree.c:803 [inline] mtree_range_walk+0x518/0x8e0 lib/maple_tree.c:2791 mas_state_walk lib/maple_tree.c:3609 [inline] mt_find+0x3a8/0x920 lib/maple_tree.c:6889 find_vma+0xf9/0x170 mm/mmap.c:913 gup_vma_lookup mm/gup.c:1342 [inline] __get_user_pages+0x479/0x4140 mm/gup.c:1459 __get_user_pages_locked mm/gup.c:1757 [inline] get_dump_page+0x155/0x2f0 mm/gup.c:2275 dump_user_range+0x14d/0x970 fs/coredump.c:943 elf_core_dump+0x3e96/0x4790 fs/binfmt_elf.c:2129 do_coredump+0x244f/0x2f00 fs/coredump.c:758 get_signal+0x140b/0x1750 kernel/signal.c:3021 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [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+0xce/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:0x7fcd1f58cde9 RSP: 002b:00007fcd204550e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007fcd1f7a5fa8 RCX: 00007fcd1f58cde9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fcd1f7a5fac RBP: 00007fcd1f7a5fa0 R08: 7fffffffffffffff R09: 0000000000000000 R10: 0000200000000000 R11: 0000000000000246 R12: 00007fcd1f7a5fac R13: 0000000000000000 R14: 00007fcd1f8cf940 R15: 00007fcd1f8cfa28 task:syz.0.1948 state:R running task stack:26288 pid:18406 tgid:18399 ppid:17776 task_flags:0x40044c flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6943 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6967 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1761 [inline] zap_pmd_range mm/memory.c:1823 [inline] zap_pud_range mm/memory.c:1852 [inline] zap_p4d_range mm/memory.c:1873 [inline] unmap_page_range+0x3d52/0x48d0 mm/memory.c:1894 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1984 exit_mmap+0x283/0xd40 mm/mmap.c:1284 __mmput+0x115/0x420 kernel/fork.c:1356 exit_mm+0x220/0x310 kernel/exit.c:570 do_exit+0x9ad/0x28e0 kernel/exit.c:925 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3036 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [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+0xce/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:0x7eff9158c9eb RSP: 002b:00007eff924d1f10 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007eff9158c9eb RDX: 00007eff924d2fe0 RSI: 0000000080085502 RDI: 0000000000000003 RBP: 00007eff924d2fe0 R08: 0000000000000000 R09: 00302e6364755f79 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000080085502 R13: 0000000800000000 R14: 0000200000000dc0 R15: 00007eff91618e4e rcu: rcu_preempt kthread starved for 10369 jiffies! g109005 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:26104 pid:17 tgid:17 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6856 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2024 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2226 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 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: 0 Comm: swapper/1 Not tainted 6.14.0-rc1-syzkaller-00028-g5c8c229261f1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:lock_acquire+0x2b/0x550 kernel/locking/lockdep.c:5819 Code: 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 20 01 00 00 4c 89 4c 24 28 4c 89 44 24 38 48 89 4c 24 30 <89> 54 24 1c 41 89 f6 48 89 7c 24 20 65 48 8b 04 25 28 00 00 00 48 RSP: 0018:ffffc90000a17900 EFLAGS: 00000286 RAX: 809aa0eef8c9bf00 RBX: ffffffff89bd7774 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8e938840 RBP: ffffc90000a17a48 R08: 0000000000000000 R09: 0000000000000000 R10: 0aaaaaaaaaaa0000 R11: dd860aaaaaaaaaaa R12: 1ffff110447ed87a R13: ffff8882248fc800 R14: dffffc0000000000 R15: ffff888223f6c3d0 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3806b3aaa6 CR3: 0000000041d18000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock_bh include/linux/rcupdate.h:903 [inline] __dev_queue_xmit+0x325/0x3f50 net/core/dev.c:4509 dev_queue_xmit include/linux/netdevice.h:3305 [inline] neigh_hh_output include/net/neighbour.h:523 [inline] neigh_output include/net/neighbour.h:537 [inline] ip6_finish_output2+0x1263/0x1780 net/ipv6/ip6_output.c:141 ip6_finish_output+0x41e/0x840 net/ipv6/ip6_output.c:226 synproxy_send_tcp_ipv6+0x568/0x7c0 net/netfilter/nf_synproxy_core.c:851 synproxy_send_client_synack_ipv6+0x827/0xcc0 net/netfilter/nf_synproxy_core.c:897 nft_synproxy_eval_v6 net/netfilter/nft_synproxy.c:90 [inline] nft_synproxy_do_eval+0x739/0xa60 net/netfilter/nft_synproxy.c:145 expr_call_ops_eval net/netfilter/nf_tables_core.c:240 [inline] nft_do_chain+0x4ad/0x1da0 net/netfilter/nf_tables_core.c:288 nft_do_chain_inet+0x418/0x6b0 net/netfilter/nft_chain_filter.c:161 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK+0x29e/0x450 include/linux/netfilter.h:312 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 __netif_receive_skb_one_core net/core/dev.c:5828 [inline] __netif_receive_skb+0x1ea/0x650 net/core/dev.c:5941 process_backlog+0x662/0x15b0 net/core/dev.c:6289 __napi_poll+0xcb/0x490 net/core/dev.c:7106 napi_poll net/core/dev.c:7175 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:7297 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:92 [inline] RIP: 0010:acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:112 Code: 90 90 90 90 90 90 90 90 90 65 48 8b 04 25 80 d6 03 00 48 f7 00 08 00 00 00 75 10 66 90 0f 00 2d a5 27 74 00 f3 0f 1e fa fb f4 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc900001a7d08 EFLAGS: 00000246 RAX: ffff88801d6b0000 RBX: ffff88814428e864 RCX: 00000000002d83b9 RDX: 0000000000000001 RSI: ffff88814428e800 RDI: ffff88814428e864 RBP: 000000000003aab8 R08: ffff8880b873799b R09: 1ffff110170e6f33 R10: dffffc0000000000 R11: ffffffff8bf5eb50 R12: ffff888020f11800 R13: 0000000000000001 R14: 0000000000000001 R15: ffffffff8f130380 acpi_idle_enter+0xe4/0x140 drivers/acpi/processor_idle.c:699 cpuidle_enter_state+0x109/0x470 drivers/cpuidle/cpuidle.c:268 cpuidle_enter+0x5d/0xa0 drivers/cpuidle/cpuidle.c:389 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:230 [inline] do_idle+0x372/0x5c0 kernel/sched/idle.c:325 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:423 start_secondary+0x102/0x110 arch/x86/kernel/smpboot.c:315 common_startup_64+0x13e/0x147