rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (3 ticks this GP) idle=bc0c/1/0x4000000000000000 softirq=14265/14265 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=9893, q=1593 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 6478 Comm: syz.0.136 Not tainted 6.13.0-syzkaller-04046-g0ad9617c78ac #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__lock_acquire+0xd01/0x2100 kernel/locking/lockdep.c:5206 Code: 45 31 ff 48 89 5c 24 28 4c 8b 33 48 83 7c 24 20 00 75 30 48 c7 c0 80 c9 3f 9a 48 c1 e8 03 0f b6 04 38 84 c0 0f 85 e9 0e 00 00 <83> 3d 08 d4 c4 18 00 41 bf 01 00 00 00 75 0a 49 83 fe ff 0f 85 54 RSP: 0018:ffffc90000a18a10 EFLAGS: 00000097 RAX: 0000000000000004 RBX: ffff88802a44a8d0 RCX: ffffffff9a3fc903 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: ffff88802a44a8e0 R08: ffffffff942f5977 R09: 1ffffffff285eb2e R10: dffffc0000000000 R11: fffffbfff285eb2f R12: ffff88802a44a8c4 R13: ffff88802a449e00 R14: ffffffffffffffff R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f82d8935d58 CR3: 000000007eb60000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5851 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xab/0xca0 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1738 [inline] __hrtimer_run_queues+0x59b/0xd30 kernel/time/hrtimer.c:1802 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1864 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/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:lock_release+0x658/0xa30 kernel/locking/lockdep.c:5876 Code: 3c 3b 00 74 08 4c 89 f7 e8 05 f2 8a 00 f6 84 24 91 00 00 00 02 75 77 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc90004cd6f20 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200099adf6 RCX: ffffc90004cd6f03 RDX: 0000000000000000 RSI: ffffffff8c0aa620 RDI: ffffffff8c6014a0 RBP: ffffc90004cd7050 R08: ffffffff901ba4b7 R09: 1ffffffff2037496 R10: dffffc0000000000 R11: fffffbfff2037497 R12: 1ffff9200099adf0 R13: 0000000000000246 R14: ffffc90004cd6fb0 R15: dffffc0000000000 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] page_ext_put+0xa3/0xc0 mm/page_ext.c:550 page_table_check_free include/linux/page_table_check.h:41 [inline] free_pages_prepare mm/page_alloc.c:1128 [inline] free_unref_folios+0xe4d/0x18b0 mm/page_alloc.c:2706 folios_put_refs+0x76c/0x860 mm/swap.c:962 folio_batch_release include/linux/pagevec.h:101 [inline] shmem_undo_range+0x593/0x1820 mm/shmem.c:1044 shmem_truncate_range mm/shmem.c:1156 [inline] shmem_evict_inode+0x29b/0xa80 mm/shmem.c:1284 evict+0x4e8/0x9a0 fs/inode.c:796 __dentry_kill+0x20d/0x630 fs/dcache.c:625 dput+0x19f/0x2b0 fs/dcache.c:867 __fput+0x5ba/0xa50 fs/file_table.c:458 task_work_run+0x24f/0x310 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xa2a/0x28e0 kernel/exit.c:938 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3036 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 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:0x7f706078cd29 Code: Unable to access opcode bytes at 0x7f706078ccff. RSP: 002b:00007f70615b40e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f70609a6168 RCX: 00007f706078cd29 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f70609a6168 RBP: 00007f70609a6160 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f70609a616c R13: 0000000000000000 R14: 00007fff088ec2a0 R15: 00007fff088ec388 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g9893 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=4644 rcu: rcu_preempt kthread starved for 10502 jiffies! g9893 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:25232 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5373 [inline] __schedule+0x186c/0x4be0 kernel/sched/core.c:6760 __schedule_loop kernel/sched/core.c:6837 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6852 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2024 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2226 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244