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): P22362/1:b..l.. P1/1:b..l.. P22369/1:b..l.. rcu: (detected by 0, t=10502 jiffies, g=462957, q=1738 ncpus=1) task:syz.9.30697 state:R running task stack:25576 pid:22369 tgid:22369 ppid:9477 task_flags:0x40044c flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5583 [inline] __schedule+0x17dd/0x5820 kernel/sched/core.c:7382 preempt_schedule_common+0x7f/0xd0 kernel/sched/core.c:7561 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+0x41/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:2113 [inline] zap_pud_range mm/memory.c:2141 [inline] zap_p4d_range mm/memory.c:2162 [inline] __zap_vma_range+0x3d29/0x4b50 mm/memory.c:2202 unmap_vmas+0x38b/0x550 mm/memory.c:2271 exit_mmap+0x290/0xa40 mm/mmap.c:1315 __mmput+0x118/0x420 kernel/fork.c:1192 exit_mm+0x18e/0x240 kernel/exit.c:586 do_exit+0x6a8/0x2360 kernel/exit.c:967 do_group_exit+0x22d/0x2f0 kernel/exit.c:1123 get_signal+0x1216/0x12c0 kernel/signal.c:3112 arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x10e/0x770 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+0x328/0x520 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc896f9f349 RSP: 002b:00007fff458ad7e8 EFLAGS: 00000202 ORIG_RAX: 00000000000001b3 RAX: fffffffffffffffc RBX: 00007fc896f5a8e0 RCX: 00007fc896f9f349 RDX: 00007fc896f5a8e0 RSI: 0000000000000058 RDI: 00007fff458ad840 RBP: 00007fc897e776c0 R08: 00007fc897e776c0 R09: 00007fff458ad927 R10: 0000000000000008 R11: 0000000000000202 R12: ffffffffffffffe8 R13: 000000000000006e R14: 00007fff458ad840 R15: 00007fff458ad928 task:init state:R running task stack:19712 pid:1 tgid:1 ppid:0 task_flags:0x400100 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5583 [inline] __schedule+0x17dd/0x5820 kernel/sched/core.c:7382 preempt_schedule_irq+0x4b/0x90 kernel/sched/core.c:7662 irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:543 [inline] irqentry_exit+0x14f/0x9b0 kernel/entry/common.c:154 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:81 [inline] RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:103 [inline] RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:238 [inline] RIP: 0010:unwind_next_frame+0x4e6/0x2550 arch/x86/kernel/unwind_orc.c:510 Code: 00 49 89 d5 49 89 d7 4c 89 e0 4c 29 f8 48 89 c1 48 c1 f9 02 48 c1 e8 3f 48 01 c8 48 83 e0 fe 49 8d 1c 47 48 89 d8 48 c1 e8 03 <48> b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 27 48 63 03 48 RSP: 0018:ffffc90000067160 EFLAGS: 00000a03 RAX: 1ffffffff23bef75 RBX: ffffffff91df7bac RCX: 0000000000000000 RDX: ffffffff91df7bac RSI: ffffffff92642e28 RDI: ffffffff8c8fbd20 RBP: ffffffff822fdf36 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc90000067258 R11: ffffffff81b3a250 R12: ffffffff91df7bac R13: ffffffff91df7bac R14: ffffc90000067208 R15: ffffffff91df7bac arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122 save_stack+0x122/0x230 mm/page_owner.c:183 __reset_page_owner+0x73/0x2a0 mm/page_owner.c:338 reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1401 [inline] __free_frozen_pages+0xc97/0xd90 mm/page_alloc.c:2952 __slab_free+0x269/0x2c0 mm/slub.c:5926 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x22/0xb0 mm/kasan/common.c:417 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5531 [inline] __kmalloc_noprof+0x366/0x710 mm/slub.c:5556 _kmalloc_noprof include/linux/slab.h:995 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x2ad/0x570 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x5fa/0x640 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x229/0x470 security/tomoyo/file.c:776 security_file_open+0xa9/0x240 security/security.c:2760 do_dentry_open+0x495/0x1360 fs/open.c:977 vfs_open_consume+0x4a/0x350 fs/open.c:1131 do_open fs/namei.c:4845 [inline] path_openat+0x16fc/0x20f0 fs/namei.c:5010 do_file_open+0x23e/0x4a0 fs/namei.c:5039 do_sys_openat2+0x115/0x200 fs/open.c:1442 do_sys_open fs/open.c:1448 [inline] __do_sys_openat fs/open.c:1788 [inline] __se_sys_openat fs/open.c:1783 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1783 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f67b59a8c3a RSP: 002b:00007ffdc5771b58 EFLAGS: 00000206 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f67b5a4d200 RCX: 00007f67b59a8c3a RDX: 0000000000080000 RSI: 00007f67b5a4d200 RDI: 00000000ffffff9c RBP: 00007f67b5a480a8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 000000000000564e R15: 0000562c418c9d98 task:syz.1.30695 state:R running task stack:26856 pid:22362 tgid:22360 ppid:10586 task_flags:0x40044c flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5583 [inline] __schedule+0x17dd/0x5820 kernel/sched/core.c:7382 preempt_schedule_notrace+0x56/0x90 kernel/sched/core.c:7633 preempt_schedule_notrace_thunk+0x16/0x30 arch/x86/entry/thunk.S:13 rcu_is_watching+0x81/0xb0 kernel/rcu/tree.c:754 rcu_read_lock include/linux/rcupdate.h:850 [inline] class_rcu_constructor include/linux/rcupdate.h:1216 [inline] unwind_next_frame+0xbe/0x2550 arch/x86/kernel/unwind_orc.c:495 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122 kasan_save_stack+0x3e/0x60 mm/kasan/common.c:57 kasan_record_aux_stack+0xbd/0xd0 mm/kasan/generic.c:556 __call_rcu_common kernel/rcu/tree.c:3287 [inline] call_rcu+0x86/0x300 kernel/rcu/tree.c:3395 slab_free_hook mm/slub.c:2744 [inline] slab_free mm/slub.c:6630 [inline] kmem_cache_free+0x471/0x650 mm/slub.c:6757 tear_down_vmas+0x31f/0x530 mm/mmap.c:1277 exit_mmap+0x4ca/0xa40 mm/mmap.c:1335 __mmput+0x118/0x420 kernel/fork.c:1192 exit_mm+0x18e/0x240 kernel/exit.c:586 do_exit+0x6a8/0x2360 kernel/exit.c:967 do_group_exit+0x22d/0x2f0 kernel/exit.c:1123 get_signal+0x1216/0x12c0 kernel/signal.c:3112 arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x10e/0x770 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+0x328/0x520 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0b0f99e559 RSP: 002b:00007f0b107ef0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f0b0fc25fa8 RCX: 00007f0b0f99e559 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f0b0fc25fa8 RBP: 00007f0b0fc25fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0b0fc26038 R14: 00007ffc4dc03df0 R15: 00007ffc4dc03ed8 rcu: rcu_preempt kthread starved for 1112 jiffies! g462957 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:27496 pid:17 tgid:17 ppid:2 task_flags:0x208040 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5583 [inline] __schedule+0x17dd/0x5820 kernel/sched/core.c:7382 __schedule_loop kernel/sched/core.c:7459 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7474 schedule_timeout+0x152/0x2c0 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x30c/0x1230 kernel/rcu/tree.c:2122 rcu_gp_kthread+0x9c/0x340 kernel/rcu/tree.c:2330 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 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: 3223 Comm: kworker/R-bat_e Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: bat_events batadv_tt_purge RIP: 0010:l3mdev_master_ifindex_rcu+0x4/0xe0 net/l3mdev/l3mdev.c:111 Code: 5b 41 5e 41 5f 5d c3 cc cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <41> 57 41 56 53 48 89 fb e8 4f 95 dd f5 48 85 db 74 62 49 be 00 00 RSP: 0018:ffffc900000070f8 EFLAGS: 00000246 RAX: ffffffff8a9149c1 RBX: 0000000000000001 RCX: ffff888033acddc0 RDX: 8000000000000100 RSI: 0000000000000100 RDI: ffff88807291c000 RBP: ffffc900000072c8 R08: 0000000000000100 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff237aad8 R12: dffffc0000000000 R13: 0000000000000001 R14: ffff88807291c000 R15: ffffffff8a91497e FS: 0000000000000000(0000) GS:ffff8881233f7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff2e10ccb07 CR3: 000000007e178000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: l3mdev_master_ifindex include/net/l3mdev.h:84 [inline] ip_route_me_harder+0x5d1/0xfe0 net/ipv4/netfilter.c:50 synproxy_send_tcp+0x332/0x670 net/netfilter/nf_synproxy_core.c:434 synproxy_send_client_synack+0x89b/0xde0 net/netfilter/nf_synproxy_core.c:487 nft_synproxy_eval_v4+0x362/0x4e0 net/netfilter/nft_synproxy.c:59 nft_synproxy_do_eval+0x389/0x5d0 net/netfilter/nft_synproxy.c:142 expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline] nft_do_chain+0x48d/0x1b10 net/netfilter/nf_tables_core.c:285 nft_do_chain_ipv4+0x195/0x290 net/netfilter/nft_chain_filter.c:24 nf_hook_entry_hookfn include/linux/netfilter.h:165 [inline] nf_hook_slow+0xc5/0x220 net/netfilter/core.c:633 nf_hook include/linux/netfilter.h:280 [inline] NF_HOOK+0x21f/0x3c0 include/linux/netfilter.h:323 NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:325 __netif_receive_skb_one_core net/core/dev.c:6405 [inline] __netif_receive_skb net/core/dev.c:6518 [inline] process_backlog+0xa6b/0x18b0 net/core/dev.c:6869 __napi_poll+0xaa/0x330 net/core/dev.c:7938 napi_poll net/core/dev.c:8001 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8158 handle_softirqs+0x265/0x8d0 kernel/softirq.c:669 do_softirq+0x77/0xd0 kernel/softirq.c:569 __local_bh_enable_ip+0x100/0x140 kernel/softirq.c:473 spin_unlock_bh include/linux/spinlock.h:407 [inline] batadv_tt_global_purge net/batman-adv/translation-table.c:2880 [inline] batadv_tt_purge+0x4ee/0xa40 net/batman-adv/translation-table.c:4270 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578 rescuer_thread+0x84a/0x12a0 kernel/workqueue.c:3803 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245