rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=4624/1/0x4000000000000000 softirq=27334/27334 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=19453, q=405 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 7179 Comm: syz.3.413 Not tainted 6.15.0-rc6-syzkaller-00047-ge9565e23cd89 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:rb_insert_color+0x640/0x680 lib/rbtree.c:437 Code: 89 f7 e8 d3 14 d0 f6 eb 1a 48 b8 00 00 00 00 00 fc ff df 41 80 7c 05 00 00 74 08 4c 89 f7 e8 b7 14 d0 f6 49 89 1e 48 83 c4 28 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 cc 6d be f5 cc 4d 89 e7 4c 89 f8 RSP: 0018:ffffc90000a08cb8 EFLAGS: 00000086 RAX: 1ffff1100af61a68 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000018 RSI: ffff8880b8927910 RDI: ffff888057b0d340 RBP: 0000000000000001 R08: ffff888057b0d357 R09: ffff888057b0d340 R10: dffffc0000000000 R11: ffffed100af61a6b R12: ffff888057b0d340 R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff888057b0d340 FS: 00007f26402d06c0(0000) GS:ffff8881261c7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd4135b7bac CR3: 0000000059835000 CR4: 0000000000350ef0 Call Trace: rb_insert_color_cached include/linux/rbtree.h:114 [inline] rb_add_cached include/linux/rbtree.h:183 [inline] timerqueue_add+0x1d0/0x200 lib/timerqueue.c:40 __run_hrtimer kernel/time/hrtimer.c:1778 [inline] __hrtimer_run_queues+0x656/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:1038 [inline] __sysvec_apic_timer_interrupt+0x10b/0x410 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:__list_del_entry_valid_or_report+0xb8/0x190 lib/list_debug.c:65 Code: 9e 47 63 fd 49 39 1f 0f 85 92 00 00 00 4d 8d 7e 08 4d 89 fc 49 c1 ec 03 43 80 3c 2c 00 74 08 4c 89 ff e8 7b 47 63 fd 49 39 1f <0f> 85 9e 00 00 00 b0 01 5b 41 5c 41 5d 41 5e 41 5f e9 7d a1 51 fc RSP: 0018:ffffc9000459f290 EFLAGS: 00000246 RAX: 1ffffd400025c009 RBX: ffffea00012e0048 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 1ffffffff1efe54a RDI: ffffea00012e0050 RBP: ffffc9000459f4b0 R08: 0000000000000190 R09: dffffc0000000000 R10: 0000000000000080 R11: ffffffff8215230b R12: 1ffffd400025c012 R13: dffffc0000000000 R14: ffffea00012e0088 R15: ffffea00012e0090 __list_del_entry_valid include/linux/list.h:124 [inline] __list_del_entry include/linux/list.h:215 [inline] list_del include/linux/list.h:229 [inline] __rmqueue_pcplist+0x14e3/0x1e50 mm/page_alloc.c:3096 rmqueue_pcplist mm/page_alloc.c:3128 [inline] rmqueue mm/page_alloc.c:3159 [inline] get_page_from_freelist+0x844/0x22b0 mm/page_alloc.c:3685 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4970 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2301 folio_alloc_mpol_noprof+0x39/0x70 mm/mempolicy.c:2320 shmem_alloc_folio mm/shmem.c:1854 [inline] shmem_alloc_and_add_folio+0x447/0xf60 mm/shmem.c:1893 shmem_get_folio_gfp+0x597/0x15f0 mm/shmem.c:2533 shmem_get_folio mm/shmem.c:2639 [inline] shmem_write_begin+0xf7/0x2b0 mm/shmem.c:3289 generic_perform_write+0x2c7/0x910 mm/filemap.c:4103 shmem_file_write_iter+0xf8/0x120 mm/shmem.c:3464 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f263f38d41f 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:00007f26402cfdf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f263f38d41f RDX: 0000000001000000 RSI: 00007f2634c00000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000055a8 R10: 0000000000000002 R11: 0000000000000293 R12: 0000000000000003 R13: 00007f26402cfef0 R14: 00007f26402cfeb0 R15: 00007f2634c00000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g19453 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=8430 rcu: rcu_preempt kthread starved for 10502 jiffies! g19453 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:27304 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x16e2/0x4cd0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x165/0x360 kernel/sched/core.c:6860 schedule_timeout+0x12b/0x270 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x301/0x1540 kernel/rcu/tree.c:2046 rcu_gp_kthread+0x99/0x390 kernel/rcu/tree.c:2248 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x4e/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245