rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5207/1:b..l P16054/1:b..l rcu: (detected by 1, t=10502 jiffies, g=84809, q=107 ncpus=2) task:syz.4.2476 state:R running task stack:26920 pid:16054 tgid:16026 ppid:5842 task_flags:0x40044c flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5357 [inline] __schedule+0x1190/0x5de0 kernel/sched/core.c:6961 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7288 irqentry_exit+0x36/0x90 kernel/entry/common.c:197 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__read_once_word_nocheck+0x3/0x10 include/asm-generic/rwonce.h:68 Code: e8 c2 a8 ab 03 e9 c8 fa ff ff 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 48 8b 07 48 aa 2a 0a 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000422ee00 EFLAGS: 00000202 RAX: ffffffff8161edf3 RBX: 0000000000000001 RCX: ffffc90004230000 RDX: ffffc9000422ee01 RSI: ffffc9000422eec0 RDI: ffffc9000422eec0 RBP: ffffc9000422ef10 R08: ffffffff914065f8 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000006b0a R12: ffffc9000422ef18 R13: ffffc9000422eec8 R14: ffffc9000422eec8 R15: ffffc9000422eefc deref_stack_reg arch/x86/kernel/unwind_orc.c:406 [inline] unwind_next_frame+0xd10/0x20a0 arch/x86/kernel/unwind_orc.c:585 __unwind_start+0x45f/0x7f0 arch/x86/kernel/unwind_orc.c:758 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x73/0x100 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 save_stack+0x160/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x84/0x1a0 mm/page_owner.c:308 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] free_unref_folios+0xa61/0x16b0 mm/page_alloc.c:2952 folios_put_refs+0x56f/0x740 mm/swap.c:997 free_pages_and_swap_cache+0x245/0x4a0 mm/swap_state.c:264 __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:397 [inline] tlb_flush_mmu+0xe9/0x5a0 mm/mmu_gather.c:404 zap_pte_range mm/memory.c:1765 [inline] zap_pmd_range mm/memory.c:1818 [inline] zap_pud_range mm/memory.c:1847 [inline] zap_p4d_range mm/memory.c:1868 [inline] unmap_page_range+0x1f43/0x42c0 mm/memory.c:1889 unmap_single_vma.constprop.0+0x153/0x240 mm/memory.c:1932 unmap_vmas+0x218/0x470 mm/memory.c:1976 exit_mmap+0x1b9/0xb90 mm/mmap.c:1280 __mmput+0x12a/0x410 kernel/fork.c:1129 mmput+0x62/0x70 kernel/fork.c:1152 exit_mm kernel/exit.c:582 [inline] do_exit+0x7c7/0x2bf0 kernel/exit.c:949 do_group_exit+0xd3/0x2a0 kernel/exit.c:1102 get_signal+0x2673/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x84/0x110 kernel/entry/common.c:40 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x3f6/0x4c0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe20278eb69 RSP: 002b:00007fe2035340e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fe2029b6248 RCX: 00007fe20278eb69 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fe2029b6248 RBP: 00007fe2029b6240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe2029b624c R13: 0000000000000000 R14: 00007ffee110f890 R15: 00007ffee110f978 task:klogd state:R running task stack:25512 pid:5207 tgid:5207 ppid:1 task_flags:0x400100 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5357 [inline] __schedule+0x1190/0x5de0 kernel/sched/core.c:6961 preempt_schedule_common+0x44/0xc0 kernel/sched/core.c:7145 preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x61/0x80 kernel/locking/spinlock.c:194 sock_def_readable+0x15b/0x600 net/core/sock.c:3564 unix_dgram_sendmsg+0xd1b/0x17f0 net/unix/af_unix.c:2309 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg net/socket.c:729 [inline] __sys_sendto+0x4a3/0x520 net/socket.c:2228 __do_sys_sendto net/socket.c:2235 [inline] __se_sys_sendto net/socket.c:2231 [inline] __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2231 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce55b5f407 RSP: 002b:00007ffe199ef940 EFLAGS: 00000202 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fce55a0fc80 RCX: 00007fce55b5f407 RDX: 0000000000000054 RSI: 00007ffe199efa80 RDI: 0000000000000003 RBP: 00007ffe199efeb0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffe199efec8 R13: 00007ffe199efa80 R14: 0000000000000039 R15: 00007ffe199efa80