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): P11924/1:b..l.. P5810/1:b..l.. P4975/1:b..l.. P6141/1:b..l.. rcu: (detected by 0, t=10502 jiffies, g=111177, q=985 ncpus=1) task:kworker/u8:11 state:R running task stack:23976 pid:6141 tgid:6141 ppid:2 task_flags:0x24248060 flags:0x00080000 Workqueue: writeback wb_workfn (flush-8:0) Call Trace: context_switch kernel/sched/core.c:5583 [inline] __schedule+0x125e/0x6990 kernel/sched/core.c:7382 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:7662 irqentry_exit_cond_resched arch/x86/include/asm/fred.h:105 [inline] irqentry_exit_to_kernel_mode_preempt include/linux/irq-entry-common.h:453 [inline] irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:543 [inline] irqentry_exit+0x33f/0xab0 kernel/entry/common.c:154 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:lock_acquire+0x5e/0x380 kernel/locking/lockdep.c:5947 Code: 05 0f 01 d1 13 83 f8 07 0f 87 da 00 00 00 48 0f a3 05 1e 69 81 10 0f 82 c9 02 00 00 8b 35 fe 98 81 10 85 f6 0f 85 c7 00 00 00 <48> 8b 44 24 30 65 48 2b 05 ad 00 d1 13 0f 85 09 03 00 00 48 83 c4 RSP: 0018:ffffc900033cec40 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000200 RDX: 0000000000000000 RSI: ffffffff8e601094 RDI: ffffffff8c835380 RBP: ffffffff8ffeb260 R08: 000000007e6a063a R09: 0000000000000007 R10: 0000000000000200 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:309 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] class_rcu_constructor include/linux/rcupdate.h:1216 [inline] unwind_next_frame+0xd1/0x2090 arch/x86/kernel/unwind_orc.c:495 __unwind_start+0x3cd/0x7e0 arch/x86/kernel/unwind_orc.c:787 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x73/0xf0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 save_stack+0x162/0x1e0 mm/page_owner.c:183 __reset_page_owner+0x85/0x230 mm/page_owner.c:338 reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1403 [inline] __free_frozen_pages+0x7b4/0x1110 mm/page_alloc.c:2954 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:361 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:5033 [inline] kmem_cache_alloc_noprof+0x269/0x6a0 mm/slub.c:5047 ext4_init_io_end+0x24/0x170 fs/ext4/page-io.c:305 ext4_do_writepages+0xbe7/0x3a50 fs/ext4/inode.c:3018 ext4_writepages+0x345/0x750 fs/ext4/inode.c:3171 do_writepages+0x278/0x600 mm/page-writeback.c:2560 __writeback_single_inode+0x164/0x1560 fs/fs-writeback.c:1809 writeback_sb_inodes+0x766/0x1c40 fs/fs-writeback.c:2120 __writeback_inodes_wb+0xf8/0x2d0 fs/fs-writeback.c:2196 wb_writeback+0x6f6/0xb50 fs/fs-writeback.c:2307 wb_check_old_data_flush fs/fs-writeback.c:2411 [inline] wb_do_writeback fs/fs-writeback.c:2490 [inline] wb_workfn+0x93f/0xc80 fs/fs-writeback.c:2518 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495 process_scheduled_works kernel/workqueue.c:3578 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3659 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 task:klogd state:R running task stack:24472 pid:4975 tgid:4975 ppid:1 task_flags:0x400100 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5583 [inline] __schedule+0x125e/0x6990 kernel/sched/core.c:7382 preempt_schedule_common kernel/sched/core.c:7561 [inline] preempt_schedule+0x57/0xd0 kernel/sched/core.c:7585 preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:211 [inline] _raw_spin_unlock_irqrestore+0x61/0x80 kernel/locking/spinlock.c:221 sock_def_readable+0x154/0x600 net/core/sock.c:3739 unix_dgram_sendmsg+0xd7c/0x1a80 net/unix/af_unix.c:2304 sock_sendmsg_nosec net/socket.c:800 [inline] __sock_sendmsg net/socket.c:818 [inline] __sys_sendto+0x492/0x4e0 net/socket.c:2283 __do_sys_sendto net/socket.c:2290 [inline] __se_sys_sendto net/socket.c:2286 [inline] __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2286 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f74349fe407 RSP: 002b:00007fffad0c7800 EFLAGS: 00000202 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f74348aec80 RCX: 00007f74349fe407 RDX: 0000000000000074 RSI: 00007fffad0c7940 RDI: 0000000000000003 RBP: 00007fffad0c7d70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000202 R12: 00007fffad0c7d88 R13: 00007fffad0c7940 R14: 0000000000000059 R15: 00007fffad0c7940 task:kworker/0:8 state:R running task stack:22072 pid:5810 tgid:5810 ppid:2 task_flags:0x4208060 flags:0x00080000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5583 [inline] __schedule+0x125e/0x6990 kernel/sched/core.c:7382 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:7662 irqentry_exit_cond_resched arch/x86/include/asm/fred.h:105 [inline] irqentry_exit_to_kernel_mode_preempt include/linux/irq-entry-common.h:453 [inline] irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:543 [inline] irqentry_exit+0x33f/0xab0 kernel/entry/common.c:154 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:lock_acquire+0x5e/0x380 kernel/locking/lockdep.c:5947 Code: 05 0f 01 d1 13 83 f8 07 0f 87 da 00 00 00 48 0f a3 05 1e 69 81 10 0f 82 c9 02 00 00 8b 35 fe 98 81 10 85 f6 0f 85 c7 00 00 00 <48> 8b 44 24 30 65 48 2b 05 ad 00 d1 13 0f 85 09 03 00 00 48 83 c4 RSP: 0018:ffffc90004bcf280 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000200 RDX: 0000000000000000 RSI: ffffffff8e601094 RDI: ffffffff8c835380 RBP: ffffffff8ffeb260 R08: 000000003fe2b9a2 R09: 0000000000000007 R10: 0000000000000200 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:309 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] class_rcu_constructor include/linux/rcupdate.h:1216 [inline] unwind_next_frame+0xd1/0x2090 arch/x86/kernel/unwind_orc.c:495 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 save_stack+0x162/0x1e0 mm/page_owner.c:183 __reset_page_owner+0x85/0x230 mm/page_owner.c:338 reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1403 [inline] __free_frozen_pages+0x7b4/0x1110 mm/page_alloc.c:2954 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x8a/0xb0 mm/kasan/common.c:417 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x2f8/0x6d0 mm/slub.c:5680 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] kobject_uevent_env+0x263/0x18b0 lib/kobject_uevent.c:543 device_add+0x1173/0x1970 drivers/base/core.c:3744 usb_new_device.part.0+0xcc2/0x1686 drivers/usb/core/hub.c:2713 usb_new_device include/linux/workqueue.h:715 [inline] hub_port_connect drivers/usb/core/hub.c:5585 [inline] hub_port_connect_change drivers/usb/core/hub.c:5725 [inline] port_event drivers/usb/core/hub.c:5889 [inline] hub_event.cold+0x1e3/0xe90 drivers/usb/core/hub.c:5971 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495 process_scheduled_works kernel/workqueue.c:3578 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3659 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 task:syz-executor state:R running task stack:27144 pid:11924 tgid:11924 ppid:5614 task_flags:0x40044c flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5583 [inline] __schedule+0x125e/0x6990 kernel/sched/core.c:7382 preempt_schedule_common kernel/sched/core.c:7561 [inline] preempt_schedule+0x57/0xd0 kernel/sched/core.c:7585 preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:201 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:213 spin_unlock include/linux/spinlock.h:401 [inline] zap_pte_range mm/memory.c:2058 [inline] zap_pmd_range mm/memory.c:2114 [inline] zap_pud_range mm/memory.c:2142 [inline] zap_p4d_range mm/memory.c:2163 [inline] __zap_vma_range+0x16b0/0x4980 mm/memory.c:2203 unmap_vmas+0x294/0x5f0 mm/memory.c:2272 exit_mmap+0x1ef/0xa40 mm/mmap.c:1315 __mmput+0x12a/0x410 kernel/fork.c:1192 mmput+0x62/0x70 kernel/fork.c:1215 exit_mm kernel/exit.c:586 [inline] do_exit+0x80c/0x2a00 kernel/exit.c:967 do_group_exit+0xd5/0x2a0 kernel/exit.c:1123 get_signal+0x1f58/0x22e0 kernel/signal.c:3113 arch_do_signal_or_restart+0x91/0x7e0 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x139/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f442416034e RSP: 002b:00007ffc886d8d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: fffffffffffffffe RBX: 0000555578d5b500 RCX: 00007f442416034e RDX: 0000000000080001 RSI: 00007f4424238afd RDI: ffffffffffffff9c RBP: 00007f4424238afd R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00007ffc886d8e70 R14: 00000000000b7888 R15: 00007ffc886d93e0 rcu: rcu_preempt kthread starved for 268 jiffies! g111177 f0x0 RCU_GP_WAIT_FQS(5) ->state=R ->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:28936 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5583 [inline] __schedule+0x125e/0x6990 kernel/sched/core.c:7382 __schedule_loop kernel/sched/core.c:7459 [inline] schedule+0xdd/0x2c0 kernel/sched/core.c:7474 schedule_timeout+0x127/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1a9/0x930 kernel/rcu/tree.c:2122 rcu_gp_kthread+0x179/0x260 kernel/rcu/tree.c:2330 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 3225 Comm: kworker/R-bat_e Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 Workqueue: bat_events batadv_dat_purge RIP: 0010:lock_acquire+0x5e/0x380 kernel/locking/lockdep.c:5947 Code: 05 0f 01 d1 13 83 f8 07 0f 87 da 00 00 00 48 0f a3 05 1e 69 81 10 0f 82 c9 02 00 00 8b 35 fe 98 81 10 85 f6 0f 85 c7 00 00 00 <48> 8b 44 24 30 65 48 2b 05 ad 00 d1 13 0f 85 09 03 00 00 48 83 c4 RSP: 0018:ffffc90000007310 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000200 RDX: 0000000000000101 RSI: ffffffff8e601094 RDI: ffffffff8c835380 RBP: ffffffff8ffeb260 R08: 000000007f1fed10 R09: 0000000000000007 R10: 0000000000000200 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88812247d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555578d5b4e8 CR3: 000000005b93c000 CR4: 00000000003526f0 DR0: 0000000000000008 DR1: 0000000000000007 DR2: 0000000000000004 DR3: 0000000000000008 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] ip6_route_output_flags+0x4b/0x650 net/ipv6/route.c:2699 ip6_route_output include/net/ip6_route.h:100 [inline] __nf_ip6_route+0x4c/0xe0 net/ipv6/netfilter.c:102 nf_ip6_route include/linux/netfilter_ipv6.h:57 [inline] synproxy_send_tcp_ipv6+0x35e/0x7c0 net/netfilter/nf_synproxy_core.c:845 synproxy_send_client_synack_ipv6+0x613/0x7b0 net/netfilter/nf_synproxy_core.c:907 nft_synproxy_eval_v6 net/netfilter/nft_synproxy.c:90 [inline] nft_synproxy_do_eval+0x956/0xd20 net/netfilter/nft_synproxy.c:146 expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline] nft_do_chain+0x2e5/0x19e0 net/netfilter/nf_tables_core.c:285 nft_do_chain_inet+0xf3/0x400 net/netfilter/nft_chain_filter.c:162 nf_hook_entry_hookfn include/linux/netfilter.h:165 [inline] nf_hook_slow+0xbf/0x220 net/netfilter/core.c:633 nf_hook.constprop.0+0x2a6/0x750 include/linux/netfilter.h:280 NF_HOOK include/linux/netfilter.h:323 [inline] ip6_input+0xe0/0x2f0 net/ipv6/ip6_input.c:545 dst_input include/net/dst.h:481 [inline] ip6_rcv_finish net/ipv6/ip6_input.c:119 [inline] NF_HOOK include/linux/netfilter.h:325 [inline] NF_HOOK include/linux/netfilter.h:319 [inline] ipv6_rcv+0x263/0x3d0 net/ipv6/ip6_input.c:351 __netif_receive_skb_one_core+0x12d/0x1e0 net/core/dev.c:6433 __netif_receive_skb+0x1f/0x120 net/core/dev.c:6546 process_backlog+0x487/0x1600 net/core/dev.c:6897 __napi_poll.constprop.0+0xaf/0x450 net/core/dev.c:7966 napi_poll net/core/dev.c:8029 [inline] net_rx_action+0xa40/0xf20 net/core/dev.c:8186 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 do_softirq kernel/softirq.c:569 [inline] do_softirq+0xaf/0xf0 kernel/softirq.c:556 __local_bh_enable_ip+0xff/0x120 kernel/softirq.c:473 spin_unlock_bh include/linux/spinlock.h:407 [inline] __batadv_dat_purge.part.0+0x294/0x3c0 net/batman-adv/distributed-arp-table.c:252 __batadv_dat_purge net/batman-adv/distributed-arp-table.c:233 [inline] batadv_dat_purge+0x4b/0xa0 net/batman-adv/distributed-arp-table.c:271 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495 process_scheduled_works kernel/workqueue.c:3578 [inline] rescuer_thread+0x951/0x16e0 kernel/workqueue.c:3803 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245