rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P15799/1:b..l (detected by 0, t=10502 jiffies, g=113917, q=31 ncpus=2) task:syz-executor.2 state:R running task stack:20472 pid:15799 ppid:15783 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 unwind_next_frame+0x1a55/0x2220 arch/x86/kernel/unwind_orc.c:629 __unwind_start+0x59d/0x720 arch/x86/kernel/unwind_orc.c:717 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:127 __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:1440 [inline] free_pcp_prepare mm/page_alloc.c:1490 [inline] free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3358 free_unref_page_list+0x663/0x900 mm/page_alloc.c:3499 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:607 dentry_kill+0xbb/0x290 dput+0xfb/0x1d0 fs/dcache.c:914 __fput+0x5e4/0x890 fs/file_table.c:328 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 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:0x7fb58467cccb RSP: 002b:00007fffb7688e30 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007fb58467cccb RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 00007fffb7688edc R08: 0000000000000000 R09: 00007fffb7688bd7 R10: 0000000000000000 R11: 0000000000000246 R12: 00005555574ae95b R13: 00005555574ae900 R14: 00007fb5846cad68 R15: 0000000000000002 rcu: rcu_preempt kthread starved for 10538 jiffies! g113917 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:26136 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 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:308 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16326 Comm: syz-executor.0 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] RIP: 0010:rcu_is_watching+0x36/0xb0 kernel/rcu/tree.c:721 Code: e8 0f db 17 09 89 c3 83 f8 08 73 76 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 60 48 b1 8c 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 50 c7 6e 00 48 c7 c3 a8 56 03 00 49 03 1e 48 89 RSP: 0018:ffffc900062ff5e0 EFLAGS: 00000046 RAX: 1ffffffff196290d RBX: 0000000000000001 RCX: ffff8880589a0000 RDX: 0000000000003dd0 RSI: ffffffff8b3d45c0 RDI: ffffffff8b3d4580 RBP: ffffc900062ff698 R08: dffffc0000000000 R09: fffffbfff1ce712e R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880589a0000 R13: dffffc0000000000 R14: ffffffff8cb14868 R15: dffffc0000000000 FS: 0000555555621480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd56c19e40 CR3: 0000000060b63000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_sched_held+0x6b/0x130 kernel/rcu/update.c:123 task_css_set include/linux/cgroup.h:496 [inline] task_dfl_cgroup include/linux/cgroup.h:565 [inline] cgroup_account_cputime include/linux/cgroup.h:794 [inline] update_current_exec_runtime+0x11a/0x250 kernel/sched/sched.h:3228 update_curr_rt+0x169/0x6f0 kernel/sched/rt.c:1069 put_prev_task_rt+0x4d/0x400 kernel/sched/rt.c:1836 __pick_next_task kernel/sched/core.c:5882 [inline] pick_next_task kernel/sched/core.c:5943 [inline] __schedule+0x7d6/0x4550 kernel/sched/core.c:6522 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 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:preempt_count_add+0x0/0x180 kernel/sched/core.c:5698 Code: 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 7c 97 48 8b 3c 24 e8 83 ba 83 00 eb 8c e9 f2 fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 66 90 <41> 57 41 56 53 89 fb 48 c7 c0 60 41 c9 91 48 c1 e8 03 49 bf 00 00 RSP: 0018:ffffc900062ffac8 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 1ffff1100b134000 RCX: ffffffff8a938926 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 RBP: 1ffff1100b1342ed R08: dffffc0000000000 R09: ffffed100b134001 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880589a0000 R13: ffffc900062ffc68 R14: ffff8880589a1278 R15: dffffc0000000000 schedule+0xb8/0x180 kernel/sched/core.c:6633 futex_wait_queue+0x149/0x1d0 kernel/futex/waitwake.c:355 futex_wait+0x203/0x5c0 kernel/futex/waitwake.c:656 do_futex+0x3b5/0x490 kernel/futex/syscalls.c:106 __do_sys_futex kernel/futex/syscalls.c:183 [inline] __se_sys_futex+0x3d7/0x460 kernel/futex/syscalls.c:164 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:0x7f8e18e7cf69 Code: 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 01 48 RSP: 002b:00007ffe4f877eb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00000000000e6c07 RCX: 00007f8e18e7cf69 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f8e18fb405c RBP: 00000000000e6c39 R08: 0000000000000010 R09: 0000000d00000000 R10: 00007ffe4f877fa0 R11: 0000000000000246 R12: 00007ffe4f877fa0 R13: 00007f8e18fb405c R14: 0000000000000032 R15: 00007ffe4f877fc0