rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P1149/1:b..l (detected by 1, t=10502 jiffies, g=17389, q=38 ncpus=2) task:kworker/0:2 state:R running task stack:22808 pid:1149 ppid:2 flags:0x00004000 Workqueue: events_power_efficient gc_worker Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:seqcount_lockdep_reader_access+0x1dc/0x220 include/linux/seqlock.h:105 Code: f8 4d 85 ed 75 16 e8 c3 ad c6 f8 eb 15 e8 bc ad c6 f8 e8 37 43 c7 01 4d 85 ed 74 ea e8 ad ad c6 f8 fb 48 c7 04 24 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 66 43 c7 44 3c 09 00 00 43 c6 44 3c 0b 00 RSP: 0018:ffffc900055f7a40 EFLAGS: 00000293 RAX: ffffffff88c3e663 RBX: 0000000000000000 RCX: ffff88802179bb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900055f7af0 R08: ffffffff88c3e639 R09: fffffbfff2093856 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000200 R14: 0000000000000046 R15: 1ffff92000abef48 nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:343 [inline] gc_worker+0x325/0x1530 net/netfilter/nf_conntrack_core.c:1503 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: rcu_preempt kthread starved for 10448 jiffies! g17389 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:25528 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 5143 Comm: syz.2.429 Not tainted 6.1.97-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:kasan_check_range+0x3/0x290 mm/kasan/generic.c:188 Code: 48 89 c7 e8 cf d0 a9 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 41 57 <41> 56 53 b0 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 0f 82 RSP: 0018:ffffc900032f6d28 EFLAGS: 00000246 RAX: ffff8880263a0001 RBX: ffff888078419458 RCX: ffffffff8169b0d2 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff888078419458 RBP: ffffc900032f6df0 R08: dffffc0000000000 R09: fffff5200065edb1 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200065edb0 R13: ffff888078419460 R14: 1ffff1100f08328c R15: ffffc900032f6d80 FS: 00007fcbeedcc6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f43d7a356b8 CR3: 0000000072f53000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read_write include/linux/instrumented.h:102 [inline] atomic_long_add_return_release include/linux/atomic/atomic-instrumented.h:1317 [inline] __up_read+0x252/0x690 kernel/locking/rwsem.c:1349 check_valid_map fs/f2fs/gc.c:991 [inline] gc_data_segment fs/f2fs/gc.c:1540 [inline] do_garbage_collect+0x22d7/0x81f0 fs/f2fs/gc.c:1774 f2fs_gc+0x1169/0x32a0 fs/f2fs/gc.c:1873 f2fs_balance_fs+0x506/0x6c0 fs/f2fs/segment.c:429 f2fs_create+0x86f/0xa10 fs/f2fs/namei.c:379 lookup_open fs/namei.c:3484 [inline] open_last_lookups fs/namei.c:3552 [inline] path_openat+0x12f1/0x2e60 fs/namei.c:3782 do_filp_open+0x230/0x480 fs/namei.c:3812 do_sys_openat2+0x13b/0x500 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fcbedf75bd9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcbeedcc048 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fcbee1041e8 RCX: 00007fcbedf75bd9 RDX: 00000000000026e1 RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 00007fcbedfe4aa1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fcbee1041e8 R15: 00007ffcc07b0338