rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4277/1:b..l P4267/1:b..l (detected by 1, t=10502 jiffies, g=9801, q=322 ncpus=2) task:syz-executor state:R running task stack:22064 pid:4267 ppid:4263 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x11d1/0x40e0 kernel/sched/core.c:6562 preempt_schedule_irq+0xbb/0x160 kernel/sched/core.c:6874 irqentry_exit+0x63/0x70 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:xas_find+0x4c5/0xab0 lib/xarray.c:1262 Code: 89 44 24 30 48 8b 44 24 18 80 3c 18 00 74 08 4c 89 f7 e8 3e f9 b3 f7 4d 8b 36 4c 89 f7 4c 8b 7c 24 38 4c 89 fe e8 1b 10 63 f7 <4d> 39 fe 0f 87 9d 04 00 00 41 0f b6 04 1c 84 c0 0f 85 66 03 00 00 RSP: 0018:ffffc90003cc7768 EFLAGS: 00000293 RAX: ffffffff8a1f6435 RBX: dffffc0000000000 RCX: ffff8880277b3b80 RDX: 0000000000000000 RSI: fffffffffffffffe RDI: 0000000000000542 RBP: ffff8880546ce100 R08: ffff8880277b3b80 R09: 0000000000000002 R10: 0000000000000003 R11: 0000000000000000 R12: 1ffff92000798f0e R13: ffffc90003cc7872 R14: 0000000000000542 R15: fffffffffffffffe find_get_entry mm/filemap.c:2031 [inline] find_lock_entries+0x1c8/0xbb0 mm/filemap.c:2123 shmem_undo_range+0x288/0x20c0 mm/shmem.c:925 shmem_truncate_range mm/shmem.c:1062 [inline] shmem_evict_inode+0x25b/0xa80 mm/shmem.c:1171 evict+0x4c9/0x8d0 fs/inode.c:705 do_unlinkat+0x388/0x580 fs/namei.c:4405 __do_sys_unlink fs/namei.c:4446 [inline] __se_sys_unlink fs/namei.c:4444 [inline] __x64_sys_unlink+0x45/0x50 fs/namei.c:4444 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7feed5799fa7 RSP: 002b:00007fff847d1888 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007feed5799fa7 RDX: 00007fff847d18b0 RSI: 00007fff847d1940 RDI: 00007fff847d1940 RBP: 00007fff847d1940 R08: 00007fff847d2940 R09: 00000000ffffffff R10: 0000000000000100 R11: 0000000000000206 R12: 00007fff847d29d0 R13: 00007feed580471f R14: 0000000000017c42 R15: 00007fff847d2a10 task:syz-executor state:R running task stack:21968 pid:4277 ppid:4266 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x11d1/0x40e0 kernel/sched/core.c:6562 preempt_schedule_common+0x82/0xd0 kernel/sched/core.c:6731 preempt_schedule+0xbc/0xd0 kernel/sched/core.c:6755 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 unwind_next_frame+0x1892/0x20b0 arch/x86/kernel/unwind_orc.c:629 arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122 save_stack+0x121/0x230 mm/page_owner.c:127 __reset_page_owner+0x51/0x1a0 mm/page_owner.c:148 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1459 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3384 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3525 release_pages+0x1fa6/0x2220 mm/swap.c:1035 __pagevec_release+0x6d/0xe0 mm/swap.c:1055 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] shmem_undo_range+0x7c2/0x20c0 mm/shmem.c:946 shmem_truncate_range mm/shmem.c:1062 [inline] shmem_evict_inode+0x25b/0xa80 mm/shmem.c:1171 evict+0x4c9/0x8d0 fs/inode.c:705 do_unlinkat+0x388/0x580 fs/namei.c:4405 __do_sys_unlink fs/namei.c:4446 [inline] __se_sys_unlink fs/namei.c:4444 [inline] __x64_sys_unlink+0x45/0x50 fs/namei.c:4444 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f22cb999fa7 RSP: 002b:00007ffdd9d47128 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f22cb999fa7 RDX: 00007ffdd9d47150 RSI: 00007ffdd9d471e0 RDI: 00007ffdd9d471e0 RBP: 00007ffdd9d471e0 R08: 00007ffdd9d481e0 R09: 00000000ffffffff R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffdd9d48270 R13: 00007f22cba0471f R14: 0000000000017a27 R15: 00007ffdd9d482b0 rcu: rcu_preempt kthread starved for 10577 jiffies! g9801 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:27608 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x11d1/0x40e0 kernel/sched/core.c:6562 preempt_schedule_irq+0xbb/0x160 kernel/sched/core.c:6874 irqentry_exit+0x63/0x70 kernel/entry/common.c:439 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:696 RIP: 0010:__timer_delete_sync+0x0/0x2e0 kernel/time/timer.c:1545 Code: c6 81 61 00 e9 2e ff ff ff 90 53 48 89 fb e8 a7 96 10 00 48 89 df 31 f6 5b eb 0f 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec a0 00 RSP: 0018:ffffc90000157bb8 EFLAGS: 00010246 RAX: 0000000000208040 RBX: 00000000ffffb111 RCX: ffffffff8a34f020 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90000157be0 RBP: ffffc90000157cb0 R08: ffff88813fea5947 R09: 1ffff11027fd4b28 R10: dffffc0000000000 R11: ffffed1027fd4b29 R12: 1ffff9200002af78 R13: ffffc90000157be0 R14: 1ffffffff1901e40 R15: dffffc0000000000 timer_delete_sync kernel/time/timer.c:1629 [inline] del_timer_sync include/linux/timer.h:200 [inline] schedule_timeout+0x18e/0x2d0 kernel/time/timer.c:2169 rcu_gp_fqs_loop+0x303/0x1340 kernel/rcu/tree.c:1706 rcu_gp_kthread+0x99/0x3b0 kernel/rcu/tree.c:1905 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 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:51 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 0 skipped: idling at default_idle+0xb/0x10 arch/x86/kernel/process.c:741 sched: RT throttling activated