rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P8733/1:b..l P25/1:b..l rcu: (detected by 0, t=10502 jiffies, g=52525, q=381 ncpus=2) task:kworker/1:0 state:R running task stack:23344 pid:25 tgid:25 ppid:2 flags:0x00004000 Workqueue: events_power_efficient gc_worker Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__seqprop_spinlock_sequence include/linux/seqlock.h:227 [inline] RIP: 0010:nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:345 [inline] RIP: 0010:gc_worker+0x2e1/0x1770 net/netfilter/nf_conntrack_core.c:1488 Code: 00 00 48 c7 c7 68 47 13 90 e8 ab 69 36 f8 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 99 90 58 f8 48 85 db 58 0f 85 3d 10 00 00 5a 95 58 f8 eb 07 e8 53 95 58 f8 f3 90 44 8b 35 0a 56 e1 06 31 RSP: 0018:ffffc900001f7bc8 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8931fd11 RDX: ffff888017ef9e00 RSI: ffffffff8931fd20 RDI: 0000000000000007 RBP: ffff88802aa00000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 000000000002645f R13: dffffc0000000000 R14: 000000000004c8bd R15: 0000000000040000 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 task:syz.2.1008 state:R running task stack:25488 pid:8733 tgid:8729 ppid:6731 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x13/0x60 kernel/kcov.c:207 Code: 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 65 48 8b 15 94 54 79 7e 65 8b 05 95 54 79 7e 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 1c 16 00 00 RSP: 0018:ffffc9000318eff8 EFLAGS: 00000286 RAX: 0000000080000000 RBX: 0000000000000001 RCX: ffffffff813cf0ff RDX: ffff888022ffda00 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffffc9000318fad0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffc90003188000 R13: ffffc90003190000 R14: ffffc9000318fad8 R15: ffffc9000318faa8 unwind_next_frame+0x51/0x23a0 arch/x86/kernel/unwind_orc.c:476 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x8d/0x400 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1094 [inline] free_unref_folios+0x9e9/0x1390 mm/page_alloc.c:2656 folios_put_refs+0x560/0x760 mm/swap.c:1039 folio_batch_release include/linux/pagevec.h:101 [inline] shmem_undo_range+0x5a1/0x1160 mm/shmem.c:1023 shmem_truncate_range mm/shmem.c:1132 [inline] shmem_evict_inode+0x3a3/0xba0 mm/shmem.c:1260 evict+0x2ed/0x6c0 fs/inode.c:669 iput_final fs/inode.c:1803 [inline] iput.part.0+0x5a8/0x7f0 fs/inode.c:1829 iput+0x5c/0x80 fs/inode.c:1819 dentry_unlink_inode+0x29c/0x480 fs/dcache.c:407 __dentry_kill+0x1d0/0x600 fs/dcache.c:610 dput.part.0+0x4b1/0x9b0 fs/dcache.c:852 dput+0x1f/0x30 fs/dcache.c:842 __fput+0x54e/0xbb0 fs/file_table.c:430 task_work_run+0x14e/0x250 kernel/task_work.c:222 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xaa3/0x2bb0 kernel/exit.c:882 do_group_exit+0xd3/0x2a0 kernel/exit.c:1031 get_signal+0x25fd/0x2770 kernel/signal.c:2917 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7551f77299 RSP: 002b:00007f7552c9d048 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: 0000000000010106 RBX: 00007f7552105f80 RCX: 00007f7551f77299 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000004 RBP: 00007f7551fe48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7552105f80 R15: 00007ffd242d3d18 rcu: rcu_preempt kthread starved for 10472 jiffies! g52525 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:27872 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2034 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2236 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt+0x1a/0x20 drivers/acpi/processor_idle.c:111 sched: RT throttling activated