rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P11864/1:b..l P16165/1:b..l P17064/1:b..l rcu: (detected by 1, t=10502 jiffies, g=118373, q=275 ncpus=2) task:syz-executor.0 state:R running task stack:23296 pid:17064 tgid:17063 ppid:16205 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6924 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6948 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1676 [inline] zap_pmd_range mm/memory.c:1724 [inline] zap_pud_range mm/memory.c:1753 [inline] zap_p4d_range mm/memory.c:1774 [inline] unmap_page_range+0x3631/0x40f0 mm/memory.c:1795 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1885 exit_mmap+0x264/0xc80 mm/mmap.c:3341 __mmput+0x115/0x3c0 kernel/fork.c:1346 exit_mm+0x220/0x310 kernel/exit.c:565 do_exit+0x9aa/0x27e0 kernel/exit.c:861 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:0x7fed9c67d0a9 RSP: 002b:00007fed9d3100c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: 0000000000010106 RBX: 00007fed9c7b3f80 RCX: 00007fed9c67d0a9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000004 RBP: 00007fed9c6ec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fed9c7b3f80 R15: 00007ffd4c1f2668 task:syz-executor.2 state:R running task stack:20288 pid:16165 tgid:16165 ppid:16146 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 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:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5758 Code: 2b 00 74 08 4c 89 f7 e8 0a 22 86 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90009837d60 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92001306fb8 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcacd00 RDI: ffffffff8c1f1800 RBP: ffffc90009837eb8 R08: ffffffff92f71587 R09: 1ffffffff25ee2b0 R10: dffffc0000000000 R11: fffffbfff25ee2b1 R12: 1ffff92001306fb4 R13: dffffc0000000000 R14: ffffc90009837dc0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] __task_pid_nr_ns+0x45/0x450 kernel/pid.c:510 task_tgid_vnr include/linux/pid.h:294 [inline] __do_sys_getpid+0x1e/0x30 kernel/sys.c:969 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:0x7f9baca7a827 RSP: 002b:00007ffc6e496548 EFLAGS: 00000206 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 00007ffc6e4966b0 RCX: 00007f9baca7a827 RDX: 00007ffc6e496580 RSI: 00007ffc6e4966b0 RDI: 0000000000000021 RBP: 0000000000000000 R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000032 R13: 000000000015f612 R14: 000000000015f543 R15: 0000000000000012 task:syz-executor.4 state:R running task stack:19736 pid:11864 tgid:11858 ppid:10418 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 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_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5758 Code: 2b 00 74 08 4c 89 f7 e8 0a 22 86 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc9000a527100 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920014a4e2c RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcacd00 RDI: ffffffff8c1f1800 RBP: ffffc9000a527248 R08: ffffffff92f71587 R09: 1ffffffff25ee2b0 R10: dffffc0000000000 R11: fffffbfff25ee2b1 R12: 1ffff920014a4e28 R13: dffffc0000000000 R14: ffffc9000a527160 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] filemap_get_entry+0x144/0x4e0 mm/filemap.c:1837 __filemap_get_folio+0x79/0xc10 mm/filemap.c:1885 __find_get_block_slow fs/buffer.c:203 [inline] __find_get_block+0x28a/0x1150 fs/buffer.c:1410 __getblk_slow fs/buffer.c:1137 [inline] bdev_getblk+0x1b6/0x5a0 fs/buffer.c:1443 __bread_gfp+0x86/0x400 fs/buffer.c:1497 sb_bread include/linux/buffer_head.h:347 [inline] get_branch+0x2c3/0x6e0 fs/sysv/itree.c:102 get_block+0x180/0x16d0 fs/sysv/itree.c:222 block_read_full_folio+0x42e/0xe10 fs/buffer.c:2407 filemap_read_folio+0x1a0/0x790 mm/filemap.c:2355 do_read_cache_folio+0x134/0x820 mm/filemap.c:3788 do_read_cache_page+0x30/0x200 mm/filemap.c:3854 read_mapping_page include/linux/pagemap.h:900 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x1af/0x410 fs/sysv/dir.c:157 sysv_inode_by_name+0x98/0x1f0 fs/sysv/dir.c:374 sysv_lookup+0x6b/0xe0 fs/sysv/namei.c:38 lookup_one_qstr_excl+0x11f/0x260 fs/namei.c:1607 filename_create+0x297/0x540 fs/namei.c:3901 do_mknodat+0x18b/0x5b0 fs/namei.c:4046 __do_sys_mknod fs/namei.c:4092 [inline] __se_sys_mknod fs/namei.c:4090 [inline] __x64_sys_mknod+0x8e/0xa0 fs/namei.c:4090 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:0x7f45f507d0a9 RSP: 002b:00007f45f4bff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 00007f45f51b3f80 RCX: 00007f45f507d0a9 RDX: 0000000000000000 RSI: 0000000000000204 RDI: 0000000020000040 RBP: 00007f45f50ec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f45f51b3f80 R15: 00007fff319b64b8 rcu: rcu_preempt kthread starved for 10603 jiffies! g118373 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:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 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+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 17129 Comm: syz-executor.2 Not tainted 6.10.0-rc4-syzkaller-00301-g5f583a3162ff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:trace_hardirqs_on+0x0/0x40 kernel/trace/trace_preemptirq.c:54 Code: ff ff 90 0f 0b 90 e9 77 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 65 8b 05 1d d1 65 7e 85 c0 74 14 48 8b 3c 24 e8 b8 fe RSP: 0018:ffffc90009477878 EFLAGS: 00000097 RAX: 0000000080000001 RBX: 1ffff9200128ef14 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bc9b020 RDI: 0000000000000001 RBP: ffffc90009477930 R08: ffffffff8fac20ef R09: 1ffffffff1f5841d R10: dffffc0000000000 R11: fffffbfff1f5841e R12: dffffc0000000000 R13: 1ffff9200128ef18 R14: ffffc900094778c0 R15: 0000000000000200 FS: 00007f9bad74f6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000635dc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __local_bh_enable_ip+0x168/0x200 kernel/softirq.c:387 local_bh_enable include/linux/bottom_half.h:33 [inline] fpregs_unlock arch/x86/include/asm/fpu/api.h:80 [inline] copy_fpstate_to_sigframe+0x4a3/0xd90 arch/x86/kernel/fpu/signal.c:233 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/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:0x7f9baca7d0a7 Code: 14 25 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 RSP: 002b:00007f9bad74f178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 00000000000000ca RBX: 00007f9bacbb3f88 RCX: 00007f9baca7d0a9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f9bacbb3f88 RBP: 00007f9bacbb3f80 R08: 00007f9bad74f6c0 R09: 00007f9bad74f6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9bacbb3f8c R13: 000000000000000b R14: 00007ffc6e496800 R15: 00007ffc6e4968e8