rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5665/1:b..l P5105/1:b..l P5124/2:b..l P5181/1:b..l P5118/1:b..l rcu: (detected by 0, t=10502 jiffies, g=17521, q=353 ncpus=2) task:syz-executor.1 state:R running task stack:18704 pid:5118 tgid:5118 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 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:get_stack_info+0xfb/0x180 arch/x86/kernel/dumpstack_64.c:213 Code: 41 5c 41 5d 41 5e 41 5f 5d e9 fc ef 7c 0a e8 cc c3 62 00 31 c0 eb e8 41 8b 1f bf 40 00 00 00 89 de e8 f9 c7 62 00 48 83 fb 3f <77> 61 e8 ae c3 62 00 b8 01 00 00 00 89 d9 48 d3 e0 49 09 06 31 c0 RSP: 0018:ffffc900048074a0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff8880276f8000 RDX: ffff8880276f8000 RSI: 0000000000000001 RDI: 0000000000000040 RBP: 0000000000000000 R08: ffffffff81335127 R09: ffffc90004807540 R10: dffffc0000000000 R11: fffff52000900eb4 R12: 0000000000000001 R13: ffff8880276f8000 R14: ffffc90004807560 R15: ffffc90004807540 __unwind_start+0x481/0x7c0 arch/x86/kernel/unwind_orc.c:729 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x103/0x1b0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x75/0x3f0 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1088 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2565 vfree+0x186/0x2e0 mm/vmalloc.c:3346 kcov_put kernel/kcov.c:429 [inline] kcov_close+0x2b/0x50 kernel/kcov.c:525 __fput+0x408/0x8b0 fs/file_table.c:422 task_work_run+0x251/0x310 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa27/0x27e0 kernel/exit.c:874 do_group_exit+0x207/0x2c0 kernel/exit.c:1023 get_signal+0x16a1/0x1740 kernel/signal.c:2909 arch_do_signal_or_restart+0x96/0x860 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+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f65f10a82f5 RSP: 002b:00007ffda2e2a0c0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: 0000000000000000 RBX: 000000000000004e RCX: 00007f65f10a82f5 RDX: 00007ffda2e2a100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffda2e2a18c R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000005f R13: 000000000002fc89 R14: 0000000000024f0b R15: 0000000000000008 task:kworker/0:7 state:R running task stack:22064 pid:5181 tgid:5181 ppid:2 flags:0x00004000 Workqueue: events_power_efficient gc_worker Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 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:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:write_comp_data kernel/kcov.c:235 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x90 kernel/kcov.c:304 Code: 44 0a 20 e9 05 28 1a 0a 66 2e 0f 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 4c 8b 04 24 <65> 48 8b 14 25 00 d5 03 00 65 8b 05 d0 bb 6d 7e a9 00 01 ff 00 74 RSP: 0018:ffffc90002f2fa58 EFLAGS: 00000246 RAX: 03c497e724fc1b00 RBX: 0000000000000000 RCX: ffff88802b115a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90002f2fbb0 R08: ffffffff89a0f998 R09: 1ffffffff25f50c2 R10: dffffc0000000000 R11: fffffbfff25f50c3 R12: 0000000000040000 R13: dffffc0000000000 R14: ffffffff94b677e0 R15: 000000000000acf0 nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:345 [inline] gc_worker+0x328/0x1530 net/netfilter/nf_conntrack_core.c:1488 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 task:syz-executor.4 state:R running task stack:19616 pid:5124 tgid:5124 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 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:kasan_check_range+0x1bf/0x290 mm/kasan/generic.c:189 Code: 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 3b 00 0f 85 a6 00 00 00 49 ff c3 48 ff cd 75 ee 5b 41 5c 41 5e 41 5f 5d c7 80 b4 09 40 84 ed 75 5f f7 c5 00 ff 00 00 75 5c f7 c5 00 00 RSP: 0018:ffffc9000313f358 EFLAGS: 00000256 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81727bc0 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fad3828 RBP: ffffc9000313f490 R08: ffffffff8fad382f R09: 1ffffffff1f5a705 R10: dffffc0000000000 R11: fffffbfff1f5a706 R12: 1ffff92000627e78 R13: ffffffff81a4c476 R14: 0000000000000000 R15: dffffc0000000000 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:571 [inline] cpu_online include/linux/cpumask.h:1181 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xb0/0x9f0 kernel/locking/lockdep.c:5765 rcu_lock_release include/linux/rcupdate.h:339 [inline] rcu_read_unlock include/linux/rcupdate.h:812 [inline] is_bpf_text_address+0x280/0x2a0 kernel/bpf/core.c:770 kernel_text_address+0xa7/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x5d/0xc0 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0x125/0x1b0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x75/0x3f0 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1088 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2565 vfree+0x186/0x2e0 mm/vmalloc.c:3346 kcov_put kernel/kcov.c:429 [inline] kcov_close+0x2b/0x50 kernel/kcov.c:525 __fput+0x408/0x8b0 fs/file_table.c:422 task_work_run+0x251/0x310 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa27/0x27e0 kernel/exit.c:874 do_group_exit+0x207/0x2c0 kernel/exit.c:1023 get_signal+0x16a1/0x1740 kernel/signal.c:2909 arch_do_signal_or_restart+0x96/0x860 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+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feb9d6a82f5 RSP: 002b:00007ffce8985d20 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: 0000000000000000 RBX: 0000000000000050 RCX: 00007feb9d6a82f5 RDX: 00007ffce8985d60 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffce8985dec R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000004f R13: 0000000000024e91 R14: 000000000002495f R15: 0000000000000011 task:syz-fuzzer state:R running task stack:22224 pid:5105 tgid:5087 ppid:5085 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_notrace+0x100/0x140 kernel/sched/core.c:7017 preempt_schedule_notrace_thunk+0x1a/0x30 arch/x86/entry/thunk.S:13 rcu_is_watching+0x7e/0xb0 kernel/rcu/tree.c:725 rcu_read_lock_held_common kernel/rcu/update.c:109 [inline] rcu_read_lock_held+0x15/0x50 kernel/rcu/update.c:349 xa_entry include/linux/xarray.h:1220 [inline] xas_descend lib/xarray.c:207 [inline] xas_load+0x478/0x5c0 lib/xarray.c:245 filemap_get_entry+0x1fe/0x4e0 mm/filemap.c:1840 __filemap_get_folio+0x65/0xbb0 mm/filemap.c:1885 __find_get_block_slow fs/buffer.c:203 [inline] __find_get_block+0x28a/0x1150 fs/buffer.c:1410 bdev_getblk+0x33/0x5a0 fs/buffer.c:1437 __getblk include/linux/buffer_head.h:381 [inline] sb_getblk include/linux/buffer_head.h:387 [inline] __ext4_get_inode_loc+0x53a/0xee0 fs/ext4/inode.c:4362 ext4_get_inode_loc fs/ext4/inode.c:4490 [inline] ext4_reserve_inode_write+0x182/0x360 fs/ext4/inode.c:5721 __ext4_mark_inode_dirty+0x1ec/0x880 fs/ext4/inode.c:5898 ext4_rmdir+0x8ae/0xaa0 fs/ext4/namei.c:3209 vfs_rmdir+0x3a5/0x510 fs/namei.c:4214 do_rmdir+0x3b5/0x580 fs/namei.c:4273 __do_sys_unlinkat fs/namei.c:4449 [inline] __se_sys_unlinkat fs/namei.c:4443 [inline] __x64_sys_unlinkat+0xe0/0xf0 fs/namei.c:4443 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:0x40720e RSP: 002b:000000c000713908 EFLAGS: 00000202 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: ffffffffffffff9c RCX: 000000000040720e RDX: 0000000000000200 RSI: 000000c000113a70 RDI: ffffffffffffff9c RBP: 000000c000713948 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 000000c000736000 R14: 000000c00012d6c0 R15: 000000000000008d task:syz-executor.0 state:R running task stack:21024 pid:5665 tgid:5665 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 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:preempt_count_add+0x121/0x190 kernel/sched/core.c:5865 Code: 0e 00 75 19 90 48 c7 c7 80 44 ca 8b 48 c7 c6 c0 44 ca 8b e8 d1 ba f2 ff 90 0f 0b 90 90 90 e9 5c ff ff ff 48 c7 c1 e0 06 7a 94 <80> e1 07 80 c1 03 38 c1 0f 8c fe fe ff ff 48 c7 c7 e0 06 7a 94 e8 RSP: 0018:ffffc900094b73e0 EFLAGS: 00000202 RAX: 0000000000000004 RBX: 0000000000000001 RCX: ffffffff947a06e0 RDX: ffff88802a119e00 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc900094b7540 R08: ffffffff8140e001 R09: ffffc900094b7540 R10: dffffc0000000000 R11: fffff52001296eb4 R12: ffffc900094b75d8 R13: dffffc0000000000 R14: 0000000000000001 R15: dffffc0000000000 unwind_next_frame+0xc1/0x2a00 arch/x86/kernel/unwind_orc.c:479 __unwind_start+0x641/0x7c0 arch/x86/kernel/unwind_orc.c:760 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x103/0x1b0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x75/0x3f0 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1088 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2565 vfree+0x186/0x2e0 mm/vmalloc.c:3346 kcov_put kernel/kcov.c:429 [inline] kcov_close+0x2b/0x50 kernel/kcov.c:525 __fput+0x408/0x8b0 fs/file_table.c:422 task_work_run+0x251/0x310 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa27/0x27e0 kernel/exit.c:874 do_group_exit+0x207/0x2c0 kernel/exit.c:1023 get_signal+0x16a1/0x1740 kernel/signal.c:2909 arch_do_signal_or_restart+0x96/0x860 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+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc3aa87e217 RSP: 002b:00007fffad21c218 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fc3aa87e217 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffad21c2d0 RBP: 00007fffad21c2d0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffad21d390 R13: 00007fc3aa8c8336 R14: 000000000002464d R15: 0000000000000006 rcu: rcu_preempt kthread starved for 10705 jiffies! g17521 f0x0 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:25168 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.9.0-syzkaller-12255-g0b32d436c015 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:113 Code: 90 90 90 90 90 90 90 90 90 65 48 8b 04 25 00 d5 03 00 48 f7 00 08 00 00 00 75 10 eb 07 0f 00 2d b5 56 a3 00 f3 0f 1e fa fb f4 e9 54 23 2a 00 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffffff8e007ca8 EFLAGS: 00000246 RAX: ffffffff8e094680 RBX: ffff8880176fc064 RCX: 000000000008b281 RDX: 0000000000000001 RSI: ffff8880176fc000 RDI: ffff8880176fc064 RBP: 000000000003a5b8 R08: ffff8880b9437d0b R09: 1ffff11017286fa1 R10: dffffc0000000000 R11: ffffffff8b861960 R12: ffff88801bb10800 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8eacd960 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020ca3000 CR3: 000000007a08e000 CR4: 0000000000350ef0 Call Trace: acpi_idle_enter+0xe4/0x140 drivers/acpi/processor_idle.c:707 cpuidle_enter_state+0x114/0x480 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x5d/0xa0 drivers/cpuidle/cpuidle.c:388 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x375/0x5d0 kernel/sched/idle.c:332 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:430 rest_init+0x2dc/0x300 init/main.c:747 start_kernel+0x47a/0x500 init/main.c:1103 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0x99/0xa0 arch/x86/kernel/head64.c:488 common_startup_64+0x13e/0x147