rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6606/1:b..l rcu: (detected by 1, t=10502 jiffies, g=25717, q=246 ncpus=2) task:udevd state:R running task stack:25952 pid:6606 tgid:6606 ppid:4536 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7067 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:write_comp_data+0x34/0x90 kernel/kcov.c:236 Code: 48 8b 15 9f fa 75 7e 65 8b 05 a0 fa 75 7e a9 00 01 ff 00 74 0f f6 c4 01 74 59 8b 82 1c 16 00 00 85 c0 74 4f 8b 82 f8 15 00 00 <83> f8 03 75 44 48 8b 82 00 16 00 00 8b 92 fc 15 00 00 48 8b 38 48 RSP: 0018:ffffc9000352f4b8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81342b7f RDX: ffff88804f6f9e00 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc9000352f558 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffc9000352f4c8 R13: ffffffff817984e0 R14: ffffc9000352f588 R15: ffff88804f6f9e00 arch_stack_walk+0xef/0x170 arch/x86/kernel/stacktrace.c:27 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:1088 [inline] free_unref_folios+0x991/0x1310 mm/page_alloc.c:2632 folios_put_refs+0x487/0x6d0 mm/swap.c:1024 free_pages_and_swap_cache+0x36d/0x510 mm/swap_state.c:329 __tlb_batch_free_encoded_pages+0xf9/0x290 mm/mmu_gather.c:136 tlb_batch_pages_flush mm/mmu_gather.c:149 [inline] tlb_flush_mmu_free mm/mmu_gather.c:366 [inline] tlb_flush_mmu mm/mmu_gather.c:373 [inline] tlb_finish_mmu+0x168/0x7b0 mm/mmu_gather.c:465 exit_mmap+0x3d1/0xb20 mm/mmap.c:3354 __mmput+0x12a/0x4d0 kernel/fork.c:1346 mmput+0x62/0x70 kernel/fork.c:1368 exit_mm kernel/exit.c:565 [inline] do_exit+0x9b7/0x2ba0 kernel/exit.c:861 do_group_exit+0xd3/0x2a0 kernel/exit.c:1023 __do_sys_exit_group kernel/exit.c:1034 [inline] __se_sys_exit_group kernel/exit.c:1032 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1032 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3017cfca90 RSP: 002b:00007ffc59e860b8 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3017cfca90 RDX: 00000000000000e7 RSI: 000000000000003c RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000007 R09: 36a66e4a4ed913e4 R10: 00000000ffffffff R11: 0000000000000202 R12: 0000562b5576cad0 R13: 00007ffc59e860f8 R14: 0000000000000001 R15: 0000562b557312c0 rcu: rcu_preempt kthread starved for 10179 jiffies! g25717 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:27584 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:update_newidle_cost kernel/sched/fair.c:11728 [inline] RIP: 0010:sched_balance_domains+0x1f8/0xec0 kernel/sched/fair.c:11775 Code: 49 89 ec 49 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 4c 01 d0 48 89 44 24 08 49 8d 7c 24 58 48 89 f8 48 c1 e8 03 42 80 3c 10 00 <0f> 85 e3 09 00 00 49 8d 7c 24 60 49 8b 6c 24 58 48 c7 84 24 b8 00 RSP: 0018:ffffc90000007e00 EFLAGS: 00000246 RAX: 1ffff11002cdec8b RBX: ffff8880b923ec00 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8b2cb260 RDI: ffff8880166f6458 RBP: ffff8880166f6400 R08: 0000000000000000 R09: fffffbfff284dc58 R10: dffffc0000000000 R11: 0000000000000000 R12: ffff8880166f6400 R13: 0000000000000000 R14: 1ffff92000000fcb R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562b557495f0 CR3: 000000000d97a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: handle_softirqs+0x216/0x8f0 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0xbb/0x120 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 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+0x1a/0x20 drivers/acpi/processor_idle.c:113 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 65 48 8b 05 d8 b3 1b 75 48 8b 00 a8 08 75 0c 66 90 0f 00 2d 68 1f b3 00 fb f4 c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffffff8d807d70 EFLAGS: 00000246 RAX: 0000000000004000 RBX: 0000000000000001 RCX: ffffffff8ae80889 RDX: 0000000000000001 RSI: ffff8880196c5000 RDI: ffff8880196c5064 RBP: ffff8880196c5064 R08: 0000000000000001 R09: ffffed1017246fe5 R10: ffff8880b9237f2b R11: 0000000000000000 R12: ffff88801970e000 R13: ffffffff8e744e60 R14: 0000000000000000 R15: 0000000000000000 acpi_idle_enter+0xc5/0x160 drivers/acpi/processor_idle.c:707 cpuidle_enter_state+0x85/0x500 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:388 cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x313/0x3f0 kernel/sched/idle.c:332 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:430 rest_init+0x16b/0x2b0 init/main.c:747 start_kernel+0x3df/0x4c0 init/main.c:1103 x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0xb2/0xc0 arch/x86/kernel/head64.c:488 common_startup_64+0x13e/0x148 sched: RT throttling activated