rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3831/1:b..l (detected by 0, t=10502 jiffies, g=9653, q=100 ncpus=2) task:syz-executor state:R running task stack:21208 pid:3831 ppid:3818 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6873 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:save_stack+0x181/0x1e0 mm/page_owner.c:134 Code: 2c 14 00 00 00 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 e0 00 00 00 75 66 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d 89 d9 80 e1 07 fe c1 38 c1 0f 8c 18 ff ff ff 48 89 df e8 77 f4 RSP: 0018:ffffc90004d673a0 EFLAGS: 00000246 RAX: 00000000044502da RBX: ffff888016c932a0 RCX: ffff88805b781dc0 RDX: 0000000000000000 RSI: 00000000044502da RDI: 0000000000000000 RBP: ffffea0001c82d18 R08: ffffffff81eb2cf0 R09: 0000000000000001 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 __reset_page_owner+0x52/0x1a0 mm/page_owner.c:148 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1444 [inline] free_pcp_prepare mm/page_alloc.c:1494 [inline] free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3362 free_unref_page_list+0x663/0x900 mm/page_alloc.c:3503 release_pages+0x2836/0x2b40 mm/swap.c:1055 __pagevec_release+0x80/0xf0 mm/swap.c:1075 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] shmem_undo_range+0x865/0x2390 mm/shmem.c:946 shmem_truncate_range mm/shmem.c:1062 [inline] shmem_evict_inode+0x265/0xa60 mm/shmem.c:1171 evict+0x2a4/0x620 fs/inode.c:666 __dentry_kill+0x436/0x650 fs/dcache.c:611 dentry_kill+0xbb/0x290 dput+0xfb/0x1d0 fs/dcache.c:918 __fput+0x62e/0x8d0 fs/file_table.c:328 task_work_run+0x246/0x300 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa73/0x26a0 kernel/exit.c:871 do_group_exit+0x202/0x2b0 kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1030 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f64e0975b59 RSP: 002b:00007ffdb0b5c288 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f64e09e34be RCX: 00007f64e0975b59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000016 R08: 00007ffdb0b5a026 R09: 00007ffdb0b5d540 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdb0b5d540 R13: 00007f64e09e344c R14: 0000555556feb4a8 R15: 00000000000146e2 rcu: rcu_preempt kthread starved for 10542 jiffies! g9653 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:26752 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 schedule+0xbf/0x180 kernel/sched/core.c:6637 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 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: CPU: 0 PID: 4157 Comm: syz.1.154 Not tainted 6.1.100-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: d1 bc f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 8e f6 d4 f6 48 89 df e8 f6 33 d6 f6 e8 51 c0 fb f6 fb bf 01 00 00 00 a6 c6 c8 f6 65 8b 05 67 d2 6c 75 85 c0 74 02 5b c3 e8 14 f6 6a RSP: 0018:ffffc900089f7b30 EFLAGS: 00000286 RAX: 0ff775b1481e1600 RBX: ffff88807eafca00 RCX: ffffffff91c94103 RDX: dffffc0000000000 RSI: ffffffff8aec0240 RDI: 0000000000000001 RBP: ffffc900089f7c70 R08: dffffc0000000000 R09: ffffed100fd5f941 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100fd5f9d3 R13: 000000001c000004 R14: 0000000000000021 R15: ffff88807eafce98 FS: 0000555557129500(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 000000005c56d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x154b/0x17d0 kernel/signal.c:2865 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7faf78038503 Code: 00 00 00 0f 1f 40 00 41 89 fb 44 8d 56 04 4c 8d 0d 12 9b 2b 00 89 f0 4c 8d 05 09 7b 2b 00 89 c2 81 e2 ff 1f 00 00 49 8b 0c d1 <48> 39 f1 74 28 48 85 c9 74 29 45 38 1c 10 75 23 83 c0 01 44 39 d0 RSP: 002b:00007fff41553f78 EFLAGS: 00000202 RAX: 000000008a85c5e3 RBX: 00007faf78e35720 RCX: ffffffff8a85c5e3 RDX: 00000000000005e3 RSI: ffffffff8a85c5e3 RDI: 0000000000000012 RBP: 0000000000000000 R08: 00007faf782f0000 R09: 00007faf782f2000 R10: 000000008a85c5e7 R11: 0000000000000012 R12: ffffffff8a85c65b R13: 00007faf783060d0 R14: 0000000000000008 R15: 000000000000005b sched: RT throttling activated