rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (5 ticks this GP) idle=e644/1/0x4000000000000000 softirq=79719/79719 fqs=7 rcu: (detected by 0, t=10502 jiffies, g=120085, q=195 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 17097 Comm: syz.1.2960 Not tainted 6.10.0-rc5-syzkaller-00021-g24ca36a562d6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:lock_release+0x61b/0x9f0 kernel/locking/lockdep.c:5777 Code: c7 84 24 90 00 00 00 00 00 00 00 9c 8f 84 24 90 00 00 00 42 80 3c 3b 00 74 08 4c 89 f7 e8 6d f7 85 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 RSP: 0018:ffffc90000a18a20 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffff92000143156 RCX: ffffc90000a18a03 RDX: 0000000000000006 RSI: ffffffff8bcaccc0 RDI: ffffffff8c1f1780 RBP: ffffc90000a18b50 R08: ffffffff8fac212f R09: 1ffffffff1f58425 R10: dffffc0000000000 R11: fffffbfff1f58426 R12: 1ffff92000143150 R13: 0000000000000046 R14: ffffc90000a18ab0 R15: dffffc0000000000 FS: 00007f1cefe936c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31013ff8 CR3: 000000007b294000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x79/0x140 kernel/locking/spinlock.c:194 debug_object_activate+0x3e4/0x510 lib/debugobjects.c:726 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x30/0x3c0 kernel/time/hrtimer.c:1085 __run_hrtimer kernel/time/hrtimer.c:1704 [inline] __hrtimer_run_queues+0x6cb/0xd50 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:PageTail include/linux/page-flags.h:284 [inline] RIP: 0010:const_folio_flags include/linux/page-flags.h:312 [inline] RIP: 0010:folio_test_workingset include/linux/page-flags.h:524 [inline] RIP: 0010:filemap_map_order0_folio mm/filemap.c:3579 [inline] RIP: 0010:filemap_map_pages+0xbe2/0x1e70 mm/filemap.c:3643 Code: 00 44 8b 64 24 34 48 8b 5c 24 20 74 08 48 89 df e8 d3 2e 2b 00 48 8b 1b 48 89 de 48 83 e6 01 31 ff e8 22 d0 c8 ff 48 83 e3 01 <4c> 8d b4 24 40 01 00 00 0f 85 07 0f 00 00 0f 1f 44 00 00 e8 26 cb RSP: 0018:ffffc90002fbf300 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffff88806ceeda00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90002fbf510 R08: ffffffff81cd5b3e R09: 1ffffd40002f1910 R10: dffffc0000000000 R11: fffff940002f1911 R12: 0000000000000000 R13: 00000000000006fa R14: 1ffffd40002f1914 R15: ffffc90002fbf460 do_fault_around mm/memory.c:4878 [inline] do_read_fault mm/memory.c:4911 [inline] do_fault mm/memory.c:5050 [inline] do_pte_missing mm/memory.c:3897 [inline] handle_pte_fault+0x3b9b/0x7090 mm/memory.c:5380 __handle_mm_fault mm/memory.c:5523 [inline] handle_mm_fault+0xfb0/0x19d0 mm/memory.c:5688 faultin_page mm/gup.c:1290 [inline] __get_user_pages+0x6ef/0x1590 mm/gup.c:1589 populate_vma_page_range+0x264/0x330 mm/gup.c:2029 __mm_populate+0x27a/0x460 mm/gup.c:2132 mm_populate include/linux/mm.h:3464 [inline] vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:578 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1cef175ae9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1cefe93048 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f1cef303fa0 RCX: 00007f1cef175ae9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f1cef1f6756 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f1cef303fa0 R15: 00007ffc59ef26f8 rcu: rcu_preempt kthread starved for 10488 jiffies! g120085 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:24720 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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 PID: 14029 Comm: kworker/u8:4 Not tainted 6.10.0-rc5-syzkaller-00021-g24ca36a562d6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1860/0x29d0 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 f9 09 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 a4 05 0c 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 88 05 RSP: 0018:ffffc900091b7700 EFLAGS: 00000293 RAX: ffffffff818a20f8 RBX: 1ffff110172a8891 RCX: ffff888021a99e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900091b78e0 R08: ffffffff818a20c7 R09: 1ffffffff25ee2b0 R10: dffffc0000000000 R11: fffffbfff25ee2b1 R12: dffffc0000000000 R13: ffff8880b9544488 R14: ffff8880b943f880 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2069 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2279 text_poke_flush arch/x86/kernel/alternative.c:2470 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2477 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244