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): P5196/1:b..l P5846/1:b..l rcu: (detected by 0, t=10503 jiffies, g=25593, q=547 ncpus=2) task:syz-executor state:R running task stack:21576 pid:5846 tgid:5846 ppid:5830 task_flags:0x400140 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5397 [inline] __schedule+0x16aa/0x4c90 kernel/sched/core.c:6786 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7109 irqentry_exit+0x6f/0x90 kernel/entry/common.c:307 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x175/0x360 kernel/locking/lockdep.c:5875 Code: 00 00 00 00 9c 8f 44 24 30 f7 44 24 30 00 02 00 00 0f 85 cd 00 00 00 f7 44 24 08 00 02 00 00 74 01 fb 65 48 8b 05 6b 55 fe 10 <48> 3b 44 24 58 0f 85 f2 00 00 00 48 83 c4 60 5b 41 5c 41 5d 41 5e RSP: 0018:ffffc90003f7f198 EFLAGS: 00000206 RAX: 7451b218cce6b000 RBX: 0000000000000000 RCX: 7451b218cce6b000 RDX: 0000000000000000 RSI: ffffffff8db6fcc6 RDI: ffffffff8be1ba40 RBP: ffffffff8172aae5 R08: 0000000000000000 R09: ffffffff8172aae5 R10: ffffc90003f7f358 R11: ffffffff81acfd40 R12: 0000000000000002 R13: ffffffff8e13f0e0 R14: 0000000000000000 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock include/linux/rcupdate.h:841 [inline] class_rcu_constructor include/linux/rcupdate.h:1155 [inline] unwind_next_frame+0xc2/0x2390 arch/x86/kernel/unwind_orc.c:479 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 save_stack+0xf7/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x71/0x1f0 mm/page_owner.c:308 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1248 [inline] __free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706 discard_slab mm/slub.c:2717 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3186 put_cpu_partial+0x17c/0x250 mm/slub.c:3261 __slab_free+0x2f7/0x400 mm/slub.c:4513 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x22/0xb0 mm/kasan/common.c:385 kasan_kmalloc include/linux/kasan.h:260 [inline] __kmalloc_cache_node_noprof+0x234/0x3d0 mm/slub.c:4371 kmalloc_node_noprof include/linux/slab.h:928 [inline] __get_vm_area_node+0x13f/0x300 mm/vmalloc.c:3176 __vmalloc_node_range_noprof+0x301/0x12f0 mm/vmalloc.c:3853 __vmalloc_node_noprof mm/vmalloc.c:3956 [inline] vzalloc_noprof+0xb2/0xf0 mm/vmalloc.c:4030 __do_replace+0xab/0x970 net/ipv4/netfilter/ip_tables.c:1046 do_replace net/ipv4/netfilter/ip_tables.c:1141 [inline] do_ipt_set_ctl+0xa0d/0xcd0 net/ipv4/netfilter/ip_tables.c:1635 nf_setsockopt+0x26c/0x290 net/netfilter/nf_sockopt.c:101 do_sock_setsockopt+0x179/0x1b0 net/socket.c:2296 __sys_setsockopt net/socket.c:2321 [inline] __do_sys_setsockopt net/socket.c:2327 [inline] __se_sys_setsockopt net/socket.c:2324 [inline] __x64_sys_setsockopt+0x13f/0x1b0 net/socket.c:2324 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb510f90a5a RSP: 002b:00007ffeac3e35f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007ffeac3e3680 RCX: 00007fb510f90a5a RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000240 R09: 00007ffeac3e3a37 R10: 00007fb511186300 R11: 0000000000000202 R12: 00007fb5111862a0 R13: 00007ffeac3e361c R14: 0000000000000000 R15: 00007fb511187020 task:klogd state:R running task stack:24104 pid:5196 tgid:5196 ppid:1 task_flags:0x400100 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5397 [inline] __schedule+0x16aa/0x4c90 kernel/sched/core.c:6786 preempt_schedule_notrace+0xd1/0x110 kernel/sched/core.c:7059 preempt_schedule_notrace_thunk+0x16/0x30 arch/x86/entry/thunk.S:13 rcu_is_watching+0x7f/0xb0 kernel/rcu/tree.c:746 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x5f/0x360 kernel/locking/lockdep.c:5834 rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock include/linux/rcupdate.h:841 [inline] __update_page_owner_free_handle+0x4b/0x470 mm/page_owner.c:271 __reset_page_owner+0x85/0x1f0 mm/page_owner.c:309 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1248 [inline] __free_frozen_pages+0xc65/0xe60 mm/page_alloc.c:2706 discard_slab mm/slub.c:2717 [inline] __put_partials+0x161/0x1c0 mm/slub.c:3186 put_cpu_partial+0x17c/0x250 mm/slub.c:3261 __slab_free+0x2f7/0x400 mm/slub.c:4513 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4148 [inline] slab_alloc_node mm/slub.c:4197 [inline] kmem_cache_alloc_node_noprof+0x1bb/0x3c0 mm/slub.c:4249 __alloc_skb+0x112/0x2d0 net/core/skbuff.c:660 alloc_skb include/linux/skbuff.h:1336 [inline] alloc_skb_with_frags+0xca/0x890 net/core/skbuff.c:6665 sock_alloc_send_pskb+0x857/0x990 net/core/sock.c:2999 unix_dgram_sendmsg+0x451/0x17d0 net/unix/af_unix.c:2083 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:727 __sys_sendto+0x3bd/0x520 net/socket.c:2180 __do_sys_sendto net/socket.c:2187 [inline] __se_sys_sendto net/socket.c:2183 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2183 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe474414407 RSP: 002b:00007ffdd4af0960 EFLAGS: 00000202 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fe4742c4c80 RCX: 00007fe474414407 RDX: 000000000000005f RSI: 00007ffdd4af0aa0 RDI: 0000000000000003 RBP: 00007ffdd4af0ed0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffdd4af0ee8 R13: 00007ffdd4af0aa0 R14: 0000000000000044 R15: 00007ffdd4af0aa0 rcu: rcu_preempt kthread starved for 4123 jiffies! g25593 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:27320 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5397 [inline] __schedule+0x16aa/0x4c90 kernel/sched/core.c:6786 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7109 irqentry_exit+0x6f/0x90 kernel/entry/common.c:307 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:debug_object_init_on_stack+0x0/0x20 lib/debugobjects.c:790 Code: 07 80 c1 03 38 c1 0f 8c 1b fe ff ff 48 89 ef e8 a6 8e 60 fd e9 0e fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 80 3d fd 65 e1 0a 00 74 06 c3 cc cc cc cc cc ba 01 00 RSP: 0018:ffffc90000157a18 EFLAGS: 00000293 RAX: ffffffff81adb04d RBX: dffffc0000000000 RCX: ffff88801cecda00 RDX: 0000000000000000 RSI: ffffffff8b8ce7e0 RDI: ffffc90000157a80 RBP: 0000000000000000 R08: ffffffff99ac1320 R09: 0000000000000000 ================================================================== BUG: KASAN: stack-out-of-bounds in __show_regs+0x1d6/0x620 arch/x86/kernel/process_64.c:90 Read of size 8 at addr ffffc900001579a0 by task kworker/R-bat_e/3416 CPU: 0 UID: 0 PID: 3416 Comm: kworker/R-bat_e Not tainted 6.16.0-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Workqueue: bat_events batadv_tt_purge Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xca/0x240 mm/kasan/report.c:482 kasan_report+0x118/0x150 mm/kasan/report.c:595 __show_regs+0x1d6/0x620 arch/x86/kernel/process_64.c:90 show_regs_if_on_stack arch/x86/kernel/dumpstack.c:165 [inline] show_trace_log_lvl+0x423/0x550 arch/x86/kernel/dumpstack.c:298 sched_show_task+0x49d/0x630 kernel/sched/core.c:7754 rcu_check_gp_kthread_starvation+0x1ae/0x320 kernel/rcu/tree_stall.h:553 print_other_cpu_stall+0x122e/0x1370 kernel/rcu/tree_stall.h:664 check_cpu_stall kernel/rcu/tree_stall.h:821 [inline] rcu_pending kernel/rcu/tree.c:3642 [inline] rcu_sched_clock_irq+0x9d1/0x1090 kernel/rcu/tree.c:2677 update_process_times+0x23c/0x2f0 kernel/time/timer.c:2473 tick_sched_handle kernel/time/tick-sched.c:276 [inline] tick_nohz_handler+0x39a/0x520 kernel/time/tick-sched.c:297 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x4dd/0xc60 kernel/time/hrtimer.c:1825 hrtimer_interrupt+0x45b/0xaa0 kernel/time/hrtimer.c:1887 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1039 [inline] __sysvec_apic_timer_interrupt+0x108/0x410 arch/x86/kernel/apic/apic.c:1056 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:104 [inline] RIP: 0010:__local_bh_enable_ip+0x135/0x1c0 kernel/softirq.c:414 Code: 8b e8 6f f3 e0 09 65 66 8b 05 4f e0 16 11 66 85 c0 75 5a bf 01 00 00 00 e8 78 32 0b 00 e8 e3 01 42 00 fb 65 8b 05 2b e0 16 11 <85> c0 75 05 e8 62 f6 ad ff 48 c7 04 24 0e 36 e0 45 4b c7 04 37 00 RSP: 0018:ffffc90000006d20 EFLAGS: 00000282 RAX: 0000000080000101 RBX: 0000000000000200 RCX: 876be27250954200 RDX: 0000000000000002 RSI: ffffffff8d982fba RDI: ffffffff8be1ba40 RBP: ffffc90000006db0 R08: ffffffff8fa0b3f7 R09: 1ffffffff1f4167e R10: dffffc0000000000 R11: fffffbfff1f4167f R12: ffffffff8a011d83 R13: ffff88817cf32b80 R14: dffffc0000000000 R15: 1ffff92000000da4 local_bh_enable include/linux/bottom_half.h:33 [inline] ipt_do_table+0x13dd/0x1630 net/ipv4/netfilter/ip_tables.c:357 nf_hook_entry_hookfn include/linux/netfilter.h:157 [inline] nf_hook_slow+0xc5/0x220 net/netfilter/core.c:623 nf_hook+0x217/0x380 include/linux/netfilter.h:272 NF_HOOK_COND include/linux/netfilter.h:305 [inline] ip_output+0x16c/0x220 net/ipv4/ip_output.c:433 synproxy_send_client_synack+0x8bb/0xe20 net/netfilter/nf_synproxy_core.c:484 nft_synproxy_eval_v4+0x36e/0x560 net/netfilter/nft_synproxy.c:59 nft_synproxy_do_eval+0x345/0x570 net/netfilter/nft_synproxy.c:141 expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline] nft_do_chain+0x409/0x1920 net/netfilter/nf_tables_core.c:285 nft_do_chain_inet+0x25d/0x340 net/netfilter/nft_chain_filter.c:161 nf_hook_entry_hookfn include/linux/netfilter.h:157 [inline] nf_hook_slow+0xc5/0x220 net/netfilter/core.c:623 nf_hook include/linux/netfilter.h:272 [inline] NF_HOOK+0x206/0x3a0 include/linux/netfilter.h:315 NF_HOOK+0x30c/0x3a0 include/linux/netfilter.h:317 __netif_receive_skb_one_core net/core/dev.c:5977 [inline] __netif_receive_skb+0x143/0x380 net/core/dev.c:6090 process_backlog+0x60e/0x14f0 net/core/dev.c:6442 __napi_poll+0xc4/0x480 net/core/dev.c:7414 napi_poll net/core/dev.c:7478 [inline] net_rx_action+0x707/0xe30 net/core/dev.c:7605 handle_softirqs+0x283/0x870 kernel/softirq.c:579 do_softirq+0xec/0x180 kernel/softirq.c:480 __local_bh_enable_ip+0x17d/0x1c0 kernel/softirq.c:407 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_tt_global_purge net/batman-adv/translation-table.c:2250 [inline] batadv_tt_purge+0x4d1/0x9e0 net/batman-adv/translation-table.c:3510 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321 rescuer_thread+0x53c/0xdd0 kernel/workqueue.c:3498 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to a 8-page vmalloc region starting at 0xffffc90000150000 allocated at copy_process+0x544/0x3b80 kernel/fork.c:1999 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1d2ba flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_ZERO|__GFP_NOWARN), pid 2, tgid 2 (kthreadd), ts 2747781293, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2419 alloc_frozen_pages_noprof mm/mempolicy.c:2490 [inline] alloc_pages_noprof+0xa9/0x190 mm/mempolicy.c:2510 vm_area_alloc_pages mm/vmalloc.c:3642 [inline] __vmalloc_area_node mm/vmalloc.c:3720 [inline] __vmalloc_node_range_noprof+0x97d/0x12f0 mm/vmalloc.c:3893 __vmalloc_node_noprof+0xc2/0x110 mm/vmalloc.c:3956 alloc_thread_stack_node kernel/fork.c:317 [inline] dup_task_struct+0x3e7/0x860 kernel/fork.c:877 copy_process+0x544/0x3b80 kernel/fork.c:1999 kernel_clone+0x224/0x7f0 kernel/fork.c:2599 kernel_thread+0x10c/0x160 kernel/fork.c:2661 create_kthread kernel/kthread.c:487 [inline] kthreadd+0x575/0x770 kernel/kthread.c:847 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 page_owner free stack trace missing Memory state around the buggy address: ffffc90000157880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90000157900: f1 f1 f1 f1 04 f2 00 00 00 f2 f2 f2 f2 f2 00 f2 >ffffc90000157980: f2 f2 00 00 f3 f3 f3 f3 00 00 00 00 00 00 00 00 ^ ffffc90000157a00: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 ffffc90000157a80: 00 00 00 00 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 ==================================================================