rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4569/1:b..l (detected by 0, t=10502 jiffies, g=7449, q=113) task:syz.3.132 state:R running task stack: 0 pid: 4569 ppid: 4037 flags:0x00000008 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5027 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6373 preempt_schedule_irq+0x90/0x274 kernel/sched/core.c:6777 arm64_preempt_schedule_irq+0x174/0x2c4 arch/arm64/kernel/entry-common.c:260 el1_interrupt+0x40/0x58 arch/arm64/kernel/entry-common.c:463 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:470 el1h_64_irq+0x78/0x7c arch/arm64/kernel/entry.S:522 arch_local_irq_restore+0x8/0x10 arch/arm64/include/asm/irqflags.h:122 lock_is_held include/linux/lockdep.h:287 [inline] task_css include/linux/cgroup.h:496 [inline] mem_cgroup_from_task+0x64/0x120 mm/memcontrol.c:935 get_mem_cgroup_from_mm+0xd4/0x384 mm/memcontrol.c:988 __mem_cgroup_charge+0x24/0xa8 mm/memcontrol.c:6777 mem_cgroup_charge include/linux/memcontrol.h:700 [inline] shmem_add_to_page_cache+0x898/0x16a0 mm/shmem.c:718 shmem_getpage_gfp+0x1398/0x20e4 mm/shmem.c:1940 shmem_getpage mm/shmem.c:151 [inline] shmem_write_begin+0xe0/0x29c mm/shmem.c:2477 generic_perform_write+0x24c/0x520 mm/filemap.c:3785 __generic_file_write_iter+0x230/0x454 mm/filemap.c:3912 generic_file_write_iter+0xb4/0x1b8 mm/filemap.c:3944 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x884/0xb44 fs/read_write.c:594 ksys_write+0x15c/0x26c fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:656 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 rcu: rcu_preempt kthread starved for 10504 jiffies! g7449 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: 0 pid: 15 ppid: 2 flags:0x00000008 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5027 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6373 preempt_schedule_common+0x140/0x260 kernel/sched/core.c:6549 preempt_schedule+0x64/0x84 kernel/sched/core.c:6574 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] _raw_spin_unlock_irqrestore+0x114/0x158 kernel/locking/spinlock.c:194 debug_object_free+0x2ac/0x454 lib/debugobjects.c:850 destroy_timer_on_stack kernel/time/timer.c:759 [inline] schedule_timeout+0x1f0/0x344 kernel/time/timer.c:1918 rcu_gp_fqs_loop+0x26c/0x13d4 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xc4/0x2c4 kernel/rcu/tree.c:2145 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 rcu: Stack dump where RCU GP kthread last ran: Task dump for CPU 1: task:syz.0.147 state:R running task stack: 0 pid: 4604 ppid: 4323 flags:0x00000001 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 0xfffff00002958069