rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=603c/1/0x4000000000000000 softirq=190331/190331 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=153881, q=197 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 27938 Comm: syz.4.5515 Not tainted 6.17.0-rc2-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:104 [inline] RIP: 0010:__raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] RIP: 0010:_raw_spin_unlock+0x28/0x50 kernel/locking/spinlock.c:186 Code: 90 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ba 6d 21 f6 48 89 df e8 12 05 22 f6 bf 01 00 00 00 e8 78 ff 13 f6 <65> 8b 05 f1 52 24 07 85 c0 74 07 5b e9 c2 43 94 f5 cc e8 a1 c9 b7 RSP: 0018:ffffc90000a08c60 EFLAGS: 00000097 RAX: 0000000080010001 RBX: ffff88803b6b72e8 RCX: 0000000000010000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff RBP: ffff888057a88150 R08: ffff88803b6b72eb R09: 1ffff110076d6e5d R10: dffffc0000000000 R11: ffffed10076d6e5e R12: ffff88803b6b7340 R13: ffff88803b6b7000 R14: 1867f7fb58000000 R15: ffff888057a8a000 FS: 00007f03c7f126c0(0000) GS:ffff888125d1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9d89db7dac CR3: 000000003ea85000 CR4: 0000000000350ef0 Call Trace: spin_unlock include/linux/spinlock.h:391 [inline] advance_sched+0x99f/0xc90 net/sched/sch_taprio.c:986 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x52c/0xc60 kernel/time/hrtimer.c:1825 hrtimer_interrupt+0x45b/0xaa0 kernel/time/hrtimer.c:1887 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1039 [inline] __sysvec_apic_timer_interrupt+0x10b/0x410 arch/x86/kernel/apic/apic.c:1056 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__refcount_add include/linux/refcount.h:290 [inline] RIP: 0010:refcount_add include/linux/refcount.h:312 [inline] RIP: 0010:inc_stack_record_count mm/page_owner.c:216 [inline] RIP: 0010:__set_page_owner+0x358/0x4a0 mm/page_owner.c:333 Code: f0 44 0f c1 33 31 ff 44 89 f6 e8 63 34 93 ff 45 85 f6 74 64 45 01 f5 44 89 ee 44 09 f6 bf ff ff ff ff e8 4b 34 93 ff 45 09 f5 <78> 58 e8 01 30 93 ff 49 be 00 00 00 00 00 fc ff df 4c 8b 7c 24 08 RSP: 0018:ffffc9000ae37380 EFLAGS: 00000202 RAX: ffffffff822c7a75 RBX: ffff8880324431ec RCX: 0000000000000002 RDX: ffff88802cbdbc00 RSI: 00000000000060ab RDI: 00000000ffffffff RBP: ffffc9000ae37428 R08: ffff8880324431ef R09: 1ffff1100648863d R10: dffffc0000000000 R11: ffffed100648863e R12: ffff8880324431d0 R13: 00000000000060ab R14: 00000000000060a9 R15: ffff88802cbdbc00 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2416 folio_alloc_mpol_noprof+0x39/0x70 mm/mempolicy.c:2435 shmem_alloc_folio mm/shmem.c:1908 [inline] shmem_alloc_and_add_folio+0x447/0xf60 mm/shmem.c:1947 shmem_get_folio_gfp+0x59d/0x1660 mm/shmem.c:2597 shmem_get_folio mm/shmem.c:2703 [inline] shmem_write_begin+0xf7/0x2b0 mm/shmem.c:3353 generic_perform_write+0x2c5/0x900 mm/filemap.c:4175 shmem_file_write_iter+0xf8/0x120 mm/shmem.c:3528 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f03c718d69f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007f03c7f11df0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000002000000 RCX: 00007f03c718d69f RDX: 0000000002000000 RSI: 00007f03bce00000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000b90e R10: 0000000000000002 R11: 0000000000000293 R12: 0000000000000003 R13: 00007f03c7f11ef0 R14: 00007f03c7f11eb0 R15: 00007f03bce00000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g153881 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=146756 rcu: rcu_preempt kthread starved for 10502 jiffies! g153881 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:26920 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5357 [inline] __schedule+0x1798/0x4cc0 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0x165/0x360 kernel/sched/core.c:7058 schedule_timeout+0x12b/0x270 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x301/0x1540 kernel/rcu/tree.c:2083 rcu_gp_kthread+0x99/0x390 kernel/rcu/tree.c:2285 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245