rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P12306/1:b..l rcu: (detected by 0, t=10502 jiffies, g=58785, q=114 ncpus=2) task:syz-executor.3 state:R running task stack:23760 pid:12306 tgid:12304 ppid:8907 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7068 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:stack_trace_consume_entry+0x5/0x280 kernel/stacktrace.c:83 Code: ff ff ff e8 2d 4f 02 0a 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 <41> 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 fb 48 ba 00 00 00 00 RSP: 0018:ffffc900048bf0f0 EFLAGS: 00000286 RAX: 0000000000000002 RBX: ffffffff81e6bebe RCX: ffff88805e60bc00 RDX: ffffc90012fe5000 RSI: ffffffff81e6bebe RDI: ffffc900048bf1e0 RBP: ffffc900048bf190 R08: ffffffff81375692 R09: ffffffff8140e98f R10: 0000000000000003 R11: ffffffff81816e70 R12: ffff88805e60bc00 R13: ffffffff81816e70 R14: ffffc900048bf1e0 R15: ffffc900048bf100 arch_stack_walk+0x143/0x1b0 arch/x86/kernel/stacktrace.c:27 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:302 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1110 [inline] free_unref_folios+0xf23/0x19e0 mm/page_alloc.c:2666 folios_put_refs+0x93a/0xa60 mm/swap.c:1034 free_pages_and_swap_cache+0x5c8/0x690 mm/swap_state.c:332 __tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline] tlb_batch_pages_flush mm/mmu_gather.c:149 [inline] tlb_flush_mmu_free mm/mmu_gather.c:366 [inline] tlb_flush_mmu+0x3a3/0x680 mm/mmu_gather.c:373 tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465 unmap_region+0x2df/0x350 mm/mmap.c:2360 do_vmi_align_munmap+0x1122/0x18c0 mm/mmap.c:2673 do_vmi_munmap+0x24e/0x2d0 mm/mmap.c:2741 __vm_munmap+0x1fc/0x400 mm/mmap.c:3017 __do_sys_munmap mm/mmap.c:3034 [inline] __se_sys_munmap mm/mmap.c:3031 [inline] __x64_sys_munmap+0x68/0x80 mm/mmap.c:3031 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7f52a447def7 RSP: 002b:00007f52a510fea8 EFLAGS: 00000246 ORIG_RAX: 000000000000000b RAX: ffffffffffffffda RBX: 0000000000040000 RCX: 00007f52a447def7 RDX: 0000000000000000 RSI: 0000000008400000 RDI: 00007f529a200000 RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000004e4 R10: 00000000000007c0 R11: 0000000000000246 R12: 0000000000000009 R13: 00007f52a510ff80 R14: 00007f52a510ff40 R15: 00007f529a200000 rcu: rcu_preempt kthread starved for 10551 jiffies! g58785 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:24880 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1683 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1882 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12300 Comm: syz-executor.2 Not tainted 6.9.0-rc2-next-20240405-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x70 kernel/kcov.c:207 Code: 40 d3 03 00 65 8b 15 80 45 6e 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 <83> fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc RSP: 0018:ffffc90003c47938 EFLAGS: 00000246 RAX: ffffffff8136624e RBX: 0000000000000000 RCX: ffff888023021e00 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003c47b10 R08: ffffffff8136623a R09: 1ffffffff1f5802d R10: dffffc0000000000 R11: fffffbfff1f5802e R12: 00007f06038c7d00 R13: 00007f06038c8044 R14: ffff888023021e00 R15: dffffc0000000000 FS: 00007f06038c86c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f06038c7f00 CR3: 000000002ba02000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: copy_fpstate_to_sigframe+0x16e/0xd90 get_sigframe+0x55d/0x700 arch/x86/kernel/signal.c:142 x64_setup_rt_frame+0x180/0xcc0 arch/x86/kernel/signal_64.c:175 setup_rt_frame arch/x86/kernel/signal.c:223 [inline] handle_signal arch/x86/kernel/signal.c:267 [inline] arch_do_signal_or_restart+0x458/0x860 arch/x86/kernel/signal.c:312 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/0x360 kernel/entry/common.c:218 do_syscall_64+0x10a/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7f0602a7de69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f06038c80c8 EFLAGS: 00000246 RAX: 000000000000000b RBX: 00007f0602babf80 RCX: 00007f0602a7de69 RDX: 0000000000000318 RSI: 00000000200bd000 RDI: 0000000000000004 RBP: 00007f0602aca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0602babf80 R15: 00007ffdcf2f77f8