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): P133/1:b..l P8565/1:b..l P8564/3:b..l rcu: (detected by 1, t=10503 jiffies, g=47873, q=2149628 ncpus=2) task:modprobe state:R running task stack:23072 pid:8564 tgid:8564 ppid:11 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6861 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6885 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] filemap_map_pages+0x1759/0x20d0 mm/filemap.c:3688 do_fault_around mm/memory.c:5240 [inline] do_read_fault mm/memory.c:5273 [inline] do_fault mm/memory.c:5416 [inline] do_pte_missing mm/memory.c:3965 [inline] handle_pte_fault+0x2b98/0x6800 mm/memory.c:5751 __handle_mm_fault mm/memory.c:5894 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6062 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f4fe91d7e54 RSP: 002b:00007ffd8adf08f8 EFLAGS: 00010212 RAX: 0000000000000006 RBX: 00007f4fe91e9000 RCX: 0000000000000008 RDX: 000000000000ffff RSI: 00007f4fe91dd420 RDI: 00007f4fe8f5c3b0 RBP: 00007ffd8adf0d80 R08: 0000000000000000 R09: ffffffffffffbd58 R10: 00007f4fe91d7e50 R11: 0000000000000246 R12: 00007f4fe91b25c0 R13: 00007f4fe8f3e390 R14: 00000000c0008002 R15: 0000000000000010 task:syz-executor state:R running task stack:26816 pid:8565 tgid:8565 ppid:8258 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7004 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:seqcount_lockdep_reader_access+0x1d6/0x220 include/linux/seqlock.h:75 Code: 62 e8 be 9d 73 ff 4d 85 f6 48 bb 00 00 00 00 00 fc ff df 75 07 e8 aa 9d 73 ff eb 06 e8 a3 9d 73 ff fb 48 c7 04 24 0e 36 e0 45 <4a> c7 04 23 00 00 00 00 66 42 c7 44 23 09 00 00 42 c6 44 23 0b 00 RSP: 0018:ffffc9000358f780 EFLAGS: 00000293 RAX: ffffffff822149ad RBX: dffffc0000000000 RCX: ffff8880697d0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000358f830 R08: ffffffff82214988 R09: 1ffffffff2859908 R10: dffffc0000000000 R11: fffffbfff2859909 R12: 1ffff920006b1ef0 R13: ffffc9000358f7a0 R14: 0000000000000200 R15: 0000000000000046 read_seqbegin include/linux/seqlock.h:757 [inline] read_seqbegin_or_lock include/linux/seqlock.h:1061 [inline] prepend_path+0xe1/0xbe0 fs/d_path.c:166 d_absolute_path+0x179/0x310 fs/d_path.c:234 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x2b4/0x5e0 security/tomoyo/realpath.c:271 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x2b7/0x740 security/tomoyo/file.c:822 tomoyo_path_symlink+0xde/0x120 security/tomoyo/tomoyo.c:212 security_path_symlink+0x16f/0x370 security/security.c:1980 do_symlinkat+0x136/0x3a0 fs/namei.c:4639 __do_sys_symlinkat fs/namei.c:4657 [inline] __se_sys_symlinkat fs/namei.c:4654 [inline] __x64_sys_symlinkat+0x95/0xb0 fs/namei.c:4654 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:0x7f21b3d7d577 RSP: 002b:00007ffece36f5a8 EFLAGS: 00000202 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f21b3d7d577 RDX: 00007f21b3df19ca RSI: 00000000ffffff9c RDI: 00007ffece36f630 RBP: 00007ffece36f5dc R08: 0000000000000013 R09: 00007ffece36f2f7 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032 R13: 00000000000a6aee R14: 00000000000a6ab9 R15: 00007ffece36f630 task:kworker/u8:5 state:R running task stack:21264 pid:133 tgid:133 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7004 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_release+0x658/0xa30 kernel/locking/lockdep.c:5850 Code: 3c 3b 00 74 08 4c 89 f7 e8 85 14 8e 00 f6 84 24 91 00 00 00 02 75 77 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc90002d4fa20 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920005a9f56 RCX: ffffc90002d4fa03 RDX: 0000000000000002 RSI: ffffffff8c0adc40 RDI: ffffffff8c60fb20 RBP: ffffc90002d4fb48 R08: ffffffff901d082f R09: 1ffffffff203a105 R10: dffffc0000000000 R11: fffffbfff203a106 R12: 1ffff920005a9f50 R13: 0000000000000246 R14: ffffc90002d4fab0 R15: dffffc0000000000 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x28b/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: rcu_preempt kthread starved for 10588 jiffies! g47873 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:25200 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6774 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+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 938 Comm: kworker/0:2 Not tainted 6.12.0-rc2-syzkaller-00501-gd677aebd663d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events nsim_dev_trap_report_work RIP: 0010:check_preemption_disabled+0x14/0x120 lib/smp_processor_id.c:13 Code: 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 <48> 89 44 24 08 65 8b 1d 9c 12 3d 74 65 8b 05 91 12 3d 74 a9 ff ff RSP: 0018:ffffc90000006ca8 EFLAGS: 00000082 RAX: 8ed90dbd2700d700 RBX: 0000000000000000 RCX: ffffffff81707dc0 RDX: 0000000000000000 RSI: ffffffff8c60fb00 RDI: ffffffff8c60fac0 RBP: ffffc90000006e30 R08: ffffffff901d082f R09: 1ffffffff203a105 R10: dffffc0000000000 R11: fffffbfff203a106 R12: 1ffff92000000dac R13: ffffffff84c26d54 R14: ffffc90000006e60 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efe5dffef98 CR3: 000000007cb6c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:737 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xbf/0xa30 kernel/locking/lockdep.c:5836 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x79/0x140 kernel/locking/spinlock.c:194 debug_object_activate+0x3e4/0x510 lib/debugobjects.c:726 debug_rcu_head_queue kernel/rcu/rcu.h:224 [inline] __call_rcu_common kernel/rcu/tree.c:3071 [inline] call_rcu+0x97/0xa70 kernel/rcu/tree.c:3190 refdst_drop include/net/dst.h:263 [inline] skb_dst_drop include/net/dst.h:275 [inline] skb_release_head_state+0x73/0x250 net/core/skbuff.c:1174 skb_release_all net/core/skbuff.c:1188 [inline] __kfree_skb net/core/skbuff.c:1204 [inline] consume_skb+0x60/0xf0 net/core/skbuff.c:1436 nft_synproxy_eval_v4+0x3d2/0x610 net/netfilter/nft_synproxy.c:60 nft_synproxy_do_eval+0x362/0xa60 net/netfilter/nft_synproxy.c:141 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:5668 [inline] __netif_receive_skb+0x2bf/0x650 net/core/dev.c:5781 process_backlog+0x662/0x15b0 net/core/dev.c:6113 __napi_poll+0xcb/0x490 net/core/dev.c:6777 napi_poll net/core/dev.c:6846 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6968 handle_softirqs+0x2c5/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] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x75d/0xaa0 drivers/net/netdevsim/dev.c:850 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244