rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=89b4/1/0x4000000000000000 softirq=39413/39414 fqs=4 rcu: (detected by 0, t=10502 jiffies, g=37077, q=698 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5843 Comm: syz-executor Not tainted 6.12.0-rc4-syzkaller-00161-gae90f6a6170d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:debug_lockdep_rcu_enabled+0x21/0x40 kernel/rcu/update.c:321 Code: 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 31 c0 83 3d 0f 25 56 04 00 74 1e 83 3d 66 56 56 04 00 74 15 65 48 8b 0c 25 c0 d7 03 00 <31> c0 83 b9 dc 0a 00 00 00 0f 94 c0 e9 99 62 29 00 66 2e 0f 1f 84 RSP: 0018:ffffc90000a18c88 EFLAGS: 00000002 RAX: 0000000000000000 RBX: ffffffff89cc5562 RCX: ffff8880317a0000 RDX: 0000000000010000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff8992dd9a R09: 1ffff1100b835a2b R10: dffffc0000000000 R11: ffffed100b835a2c R12: dffffc0000000000 R13: ffff88801fff9c08 R14: ffff88801fff9c00 R15: ffff88805c1ad360 FS: 0000555565d3d500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555565d585c8 CR3: 0000000061124000 CR4: 0000000000350ef0 Call Trace: rcu_read_unlock include/linux/rcupdate.h:878 [inline] advance_sched+0xaae/0xca0 net/sched/sch_taprio.c:987 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x59d/0xd50 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x112/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 0a d7 9f f5 48 89 df e8 22 1d a1 f5 e8 ed 08 cc f5 fb bf 01 00 00 00 32 98 92 f5 65 8b 05 03 42 33 74 85 c0 74 06 5b e9 3c ab 1f 00 RSP: 0018:ffffc90004767638 EFLAGS: 00000282 RAX: 093b24fef7060700 RBX: ffff88807e540a30 RCX: ffffffff8170be0a RDX: dffffc0000000000 RSI: ffffffff8c0acb40 RDI: 0000000000000001 RBP: 1ffff1100fca8145 R08: ffffffff942ca817 R09: 1ffffffff2859502 R10: dffffc0000000000 R11: fffffbfff2859503 R12: ffffc90004767818 R13: ffffea0001595e40 R14: ffffea0001595e40 R15: ffff88807e540a28 spin_unlock_irq include/linux/spinlock.h:401 [inline] filemap_remove_folio+0x110/0x2e0 mm/filemap.c:266 truncate_inode_folio+0x5d/0x70 mm/truncate.c:178 shmem_undo_range+0x43c/0x1cf0 mm/shmem.c:1028 shmem_truncate_range mm/shmem.c:1144 [inline] shmem_evict_inode+0x29b/0xa80 mm/shmem.c:1272 evict+0x4ea/0x9b0 fs/inode.c:725 __dentry_kill+0x20d/0x630 fs/dcache.c:615 dput+0x19f/0x2b0 fs/dcache.c:857 __fput+0x5d2/0x880 fs/file_table.c:439 task_work_run+0x251/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbd4117d3aa Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 13 8c 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 73 8c 02 00 8b 44 24 RSP: 002b:00007ffc5309fa10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007fbd4117d3aa RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007ffc5309fa5c R08: 0000000000000000 R09: 00007ffc5309f777 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000000450dc R14: 00000000000449e6 R15: 00007ffc5309fab0 rcu: rcu_preempt kthread starved for 10494 jiffies! g37077 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:24240 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 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: CPU: 0 UID: 0 PID: 5835 Comm: syz-executor Not tainted 6.12.0-rc4-syzkaller-00161-gae90f6a6170d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_single+0x464/0x1990 kernel/smp.c:679 Code: 83 e4 01 75 16 e8 fc 2c 0c 00 4d 89 fc 44 8b 7c 24 24 eb 46 e8 ed 2c 0c 00 eb 3f 4d 89 fc 44 8b 7c 24 24 f3 90 42 0f b6 04 2b <84> c0 75 10 41 f7 06 01 00 00 00 74 1e e8 ca 2c 0c 00 eb e5 44 89 RSP: 0018:ffffc9000340f840 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff92000681f25 RCX: ffff88802b191e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000340f9d8 R08: ffffffff8188aab9 R09: 1ffff92000681ed4 R10: dffffc0000000000 R11: fffff52000681ed5 R12: 1ffff92000681f20 R13: dffffc0000000000 R14: ffffc9000340f928 R15: 0000000000000000 FS: 00005555787fd500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f21fffc CR3: 000000006093e000 CR4: 0000000000350ef0 Call Trace: rcu_barrier+0x327/0x530 kernel/rcu/tree.c:4614 flush_rcu_work+0x84/0xb0 kernel/workqueue.c:4275 kvfree_rcu_barrier+0x226/0x2d0 kernel/rcu/tree.c:3931 kmem_cache_destroy+0x2e/0x160 mm/slab_common.c:479 f2fs_put_super+0xb8e/0x1150 fs/f2fs/super.c:1680 generic_shutdown_super+0x13b/0x2d0 fs/super.c:642 kill_block_super+0x44/0x90 fs/super.c:1696 kill_f2fs_super+0x344/0x690 fs/f2fs/super.c:4927 deactivate_locked_super+0xc6/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373 task_work_run+0x251/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f594b17fa47 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffd250fa9d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f594b17fa47 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd250faa90 RBP: 00007ffd250faa90 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd250fbb10 R13: 00007f594b1f115c R14: 0000000000044e86 R15: 00007ffd250fbb50