rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P27392/1:b..l P27407/1:b..l rcu: (detected by 1, t=10502 jiffies, g=215005, q=613 ncpus=2) task:rm state:R running task stack:24992 pid:27407 tgid:27407 ppid:27374 flags:0x00000000 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:seqcount_lockdep_reader_access+0x1e0/0x220 include/linux/seqlock.h:75 Code: 00 4d 85 ed 75 16 e8 ef 5b 12 00 eb 15 e8 e8 5b 12 00 e8 43 1b 02 0a 4d 85 ed 74 ea e8 d9 5b 12 00 fb 48 c7 04 24 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 66 43 c7 44 3c 09 00 00 43 c6 44 3c 0b 00 RSP: 0018:ffffc90009fe73e0 EFLAGS: 00000293 RAX: ffffffff8183cb77 RBX: 0000000000000000 RCX: ffff88807c151e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90009fe7488 R08: ffffffff8183cb4d R09: 1ffffffff1f5a9b5 R10: dffffc0000000000 R11: fffffbfff1f5a9b6 R12: dffffc0000000000 R13: 0000000000000200 R14: 0000000000000046 R15: 1ffff920013fce7c ktime_get_coarse_real_ts64+0x3a/0x120 kernel/time/timekeeping.c:2264 current_time+0x8f/0x2b0 fs/inode.c:2499 atime_needs_update+0x32d/0x660 fs/inode.c:1958 pick_link+0x458/0xd50 fs/namei.c:1787 step_into+0xca9/0x1080 fs/namei.c:1874 walk_component fs/namei.c:2010 [inline] link_path_walk+0x748/0xea0 fs/namei.c:2331 path_openat+0x257/0x35f0 fs/namei.c:3809 do_filp_open+0x235/0x490 fs/namei.c:3840 do_sys_openat2+0x13e/0x1d0 fs/open.c:1413 do_sys_open fs/open.c:1428 [inline] __do_sys_openat fs/open.c:1444 [inline] __se_sys_openat fs/open.c:1439 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1439 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:0x7f9b1ee86a46 RSP: 002b:00007ffc8f98fe58 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffc8f9900b8 RCX: 00007f9b1ee86a46 RDX: 0000000000080000 RSI: 00007ffc8f98fed0 RDI: 00000000ffffff9c RBP: 00007ffc8f98fec0 R08: 0000000000080000 R09: 00007ffc8f98fed0 R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffc8f98fed0 R13: 0000000000000001 R14: 00007ffc8f99009f R15: 00000000ffffffff task:syz.4.4843 state:R running task stack:25264 pid:27392 tgid:27391 ppid:24995 flags:0x00004002 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:trace_lock_release include/trace/events/lock.h:69 [inline] RIP: 0010:lock_release+0xc1/0x9f0 kernel/locking/lockdep.c:5765 Code: 48 89 d8 48 c1 e8 06 48 8d 3c c5 a8 4d ad 8f be 08 00 00 00 e8 e0 50 89 00 48 0f a3 1d 60 bf 3a 0e 73 16 e8 b1 c5 09 00 84 c0 <75> 0d 80 3d 64 2f 25 0e 00 0f 84 d4 05 00 00 48 c7 c0 ec 7f ad 8f RSP: 0018:ffffc9000a1e7240 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff81728e40 RDX: 0000000000000000 RSI: ffffffff8c1fe920 RDI: ffffffff8c1fe8e0 RBP: ffffc9000a1e7380 R08: ffffffff8fad4daf R09: 1ffffffff1f5a9b5 R10: dffffc0000000000 R11: fffffbfff1f5a9b6 R12: 1ffff9200143ce54 R13: ffffffff820795f7 R14: ffffea00014eeec0 R15: dffffc0000000000 rcu_lock_release include/linux/rcupdate.h:339 [inline] rcu_read_unlock include/linux/rcupdate.h:812 [inline] page_ext_put+0xa3/0xc0 mm/page_ext.c:546 page_table_check_alloc include/linux/page_table_check.h:33 [inline] post_alloc_hook+0x206/0x230 mm/page_alloc.c:1474 prep_new_page mm/page_alloc.c:1481 [inline] get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3425 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4683 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265 shmem_alloc_folio mm/shmem.c:1628 [inline] shmem_alloc_and_add_folio+0x24d/0xdb0 mm/shmem.c:1668 shmem_get_folio_gfp+0x82d/0x1f50 mm/shmem.c:2055 shmem_get_folio mm/shmem.c:2160 [inline] shmem_write_begin+0x170/0x4d0 mm/shmem.c:2743 generic_perform_write+0x324/0x640 mm/filemap.c:4015 shmem_file_write_iter+0xfc/0x120 mm/shmem.c:2919 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa74/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 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:0x7f20fef7475f RSP: 002b:00007f20ffce2e00 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f20fef7475f RDX: 0000000001000000 RSI: 00007f20f4c00000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000050ed R10: 000000002000a2c2 R11: 0000000000000293 R12: 0000000000000003 R13: 00007f20ffce2f00 R14: 00007f20ffce2ec0 R15: 00007f20f4c00000 rcu: rcu_preempt kthread starved for 10310 jiffies! g215005 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:24688 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: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:112