rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3855/1:b.el P3549/1:b..l (detected by 0, t=11918 jiffies, g=6377, q=993) task:kworker/1:4 state:R running task stack:24504 pid: 3549 ppid: 2 flags:0x00004000 Workqueue: events_power_efficient gc_worker Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6780 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__preempt_count_add kernel/rcu/tree.c:1119 [inline] RIP: 0010:rcu_is_watching+0x2/0xa0 kernel/rcu/tree.c:1122 Code: 5c 41 5d 41 5e 41 5f 5d c3 e8 fa 97 b3 08 41 f7 c4 00 02 00 00 75 b4 eb b3 e8 da 97 b3 08 66 2e 0f 1f 84 00 00 00 00 00 41 57 <41> 56 53 65 ff 05 2c 5a 97 7e e8 7f ab b3 08 89 c3 83 f8 08 73 72 RSP: 0018:ffffc90003077970 EFLAGS: 00000257 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8162acdc RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8de476e8 RBP: ffffc90003077ae0 R08: dffffc0000000000 R09: fffffbfff1bc8ede R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200060ef38 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000004000 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0xdd/0x4f0 kernel/locking/lockdep.c:5594 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] gc_worker+0x289/0x14b0 net/netfilter/nf_conntrack_core.c:1470 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 task:udevd state:R running task stack:26784 pid: 3855 ppid: 2962 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6552 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6577 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:403 [inline] filemap_map_pages+0x122d/0x15c0 mm/filemap.c:3353 do_fault_around mm/memory.c:4213 [inline] do_read_fault mm/memory.c:4228 [inline] do_fault mm/memory.c:4362 [inline] handle_pte_fault mm/memory.c:4621 [inline] __handle_mm_fault mm/memory.c:4756 [inline] handle_mm_fault+0x341b/0x5950 mm/memory.c:4854 do_user_addr_fault arch/x86/mm/fault.c:1357 [inline] handle_page_fault arch/x86/mm/fault.c:1445 [inline] exc_page_fault+0x271/0x700 arch/x86/mm/fault.c:1501 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:0x7fdd8f2fa481 RSP: 002b:00007ffce40d1070 EFLAGS: 00010202 RAX: 0000557b1f4d1fd0 RBX: 0000557b1e73372e RCX: 00007fdd8f3459a4 RDX: 00000000fbad2484 RSI: 00007fdd8f3e3c20 RDI: 0000557b1e73372f RBP: 0000557b1e73372f R08: 0000000000000004 R09: 0000000000000001 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000557b1e731185 R13: 0000557b1f4d1fd0 R14: 0000000000000001 R15: 0000557b1f4af910 rcu: rcu_preempt kthread timer wakeup didn't happen for 3748 jiffies! g6377 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=4395 rcu: rcu_preempt kthread starved for 3749 jiffies! g6377 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26712 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 3864 Comm: udevd Not tainted 5.15.163-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487 print_other_cpu_stall+0x137a/0x14d0 kernel/rcu/tree_stall.h:592 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0xa38/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:in_lock_functions+0x0/0x20 kernel/locking/spinlock.c:403 Code: c1 40 a6 43 90 80 e1 07 80 c1 03 38 c1 0f 8c 77 ff ff ff 48 c7 c7 40 a6 43 90 e8 2b 38 66 00 e9 66 ff ff ff cc cc cc cc cc cc <48> c7 c0 40 28 28 8a 48 39 c7 0f 93 c0 48 c7 c1 8e 39 28 8a 48 39 RSP: 0018:ffffc90003e87468 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8a283901 RDX: ffff8880794d8000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff8a999e20 R08: ffffffff81dcda1d R09: ffff888064b72ba0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807f0b8000 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 get_lock_parent_ip include/linux/ftrace.h:860 [inline] preempt_latency_start kernel/sched/core.c:5471 [inline] preempt_count_add+0x9d/0x180 kernel/sched/core.c:5496 __raw_spin_lock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_lock+0xe/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] iget_locked+0x231/0x7f0 fs/inode.c:1248 kernfs_get_inode+0x4c/0x6b0 fs/kernfs/inode.c:250 kernfs_iop_lookup+0x1d7/0x2f0 fs/kernfs/dir.c:1143 __lookup_slow+0x275/0x3d0 fs/namei.c:1663 lookup_slow+0x53/0x70 fs/namei.c:1680 walk_component+0x48c/0x610 fs/namei.c:1976 link_path_walk+0x642/0xd90 path_openat+0x249/0x2f20 fs/namei.c:3738 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_sys_openat2+0x13b/0x4f0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fdd8f3459a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffce40c87e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007fdd8f3459a4 RDX: 0000000000080000 RSI: 00007ffce40c8918 RDI: 00000000ffffff9c RBP: 00007ffce40c8918 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 0000557b1e732b42 R14: 0000000000000001 R15: 0000557b1e74e160