rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=de94/1/0x4000000000000000 softirq=37469/37470 fqs=1 rcu: (detected by 0, t=10502 jiffies, g=36285, q=74 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 10933 Comm: syz.3.1509 Not tainted 6.13.0-rc4-syzkaller-00071-gfd0584d220fe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:119 [inline] RIP: 0010:lock_release+0xf6/0x6f0 kernel/locking/lockdep.c:5862 Code: c1 ea 03 0f b6 14 02 48 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 fb 04 00 00 8b 3d a6 ae e8 0e 85 ff 0f 84 e5 02 00 00 <65> 8b 05 eb d1 8b 7e 85 c0 0f 85 d6 02 00 00 65 4c 8b 35 13 1f 8d RSP: 0018:ffffc90000a18c20 EFLAGS: 00000002 RAX: 0000000000000007 RBX: 1ffff92000143186 RCX: ffffffff8176b989 RDX: 0000000000000000 RSI: ffffffff8bd1ece0 RDI: 0000000000000001 RBP: ffffffff905f6874 R08: 0000000000000000 R09: fffffbfff20be6aa R10: ffffffff905f3557 R11: 0000000000000004 R12: ffffffff9aadfd60 R13: ffff888059afe340 R14: 1ffff920001431a4 R15: ffffffff9aadfd40 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c340c92 CR3: 000000004f272000 CR4: 00000000003526f0 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+0x1a/0x80 kernel/locking/spinlock.c:194 debug_object_activate+0x2e6/0x4a0 lib/debugobjects.c:836 debug_hrtimer_activate kernel/time/hrtimer.c:428 [inline] debug_activate kernel/time/hrtimer.c:469 [inline] enqueue_hrtimer+0x25/0x3c0 kernel/time/hrtimer.c:1076 __run_hrtimer kernel/time/hrtimer.c:1756 [inline] __hrtimer_run_queues+0x903/0xae0 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:const_folio_flags+0x3f/0x100 include/linux/page-flags.h:309 Code: 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b2 00 00 00 4c 8b 65 08 31 ff 41 83 e4 01 4c 89 e6 e8 c1 89 c6 ff <4d> 85 e4 75 29 e8 47 87 c6 ff 31 ff 89 de e8 7e 89 c6 ff 85 db 75 RSP: 0018:ffffc900030675a8 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81d38e5f RDX: ffff888025b6c880 RSI: 0000000000000000 RDI: 0000000000000007 RBP: ffffea0001b65980 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90003067aa8 folio_test_referenced include/linux/page-flags.h:511 [inline] folio_inc_refs mm/swap.c:389 [inline] folio_mark_accessed+0x297/0xb20 mm/swap.c:431 zap_present_folio_ptes mm/memory.c:1511 [inline] zap_present_ptes mm/memory.c:1585 [inline] zap_pte_range mm/memory.c:1627 [inline] zap_pmd_range mm/memory.c:1753 [inline] zap_pud_range mm/memory.c:1782 [inline] zap_p4d_range mm/memory.c:1803 [inline] unmap_page_range+0x1474/0x3d10 mm/memory.c:1824 unmap_single_vma+0x194/0x2b0 mm/memory.c:1870 unmap_vmas+0x22f/0x490 mm/memory.c:1914 exit_mmap+0x1c6/0xb20 mm/mmap.c:1668 __mmput+0x12a/0x4c0 kernel/fork.c:1348 mmput+0x62/0x70 kernel/fork.c:1370 exit_mm kernel/exit.c:570 [inline] do_exit+0x9ba/0x2d70 kernel/exit.c:925 do_group_exit+0xd3/0x2a0 kernel/exit.c:1087 get_signal+0x24ed/0x26c0 kernel/signal.c:3017 arch_do_signal_or_restart+0x90/0x7e0 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+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f226af85d29 Code: Unable to access opcode bytes at 0x7f226af85cff. RSP: 002b:00007f226bdd7038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: 0000000000010106 RBX: 00007f226b176080 RCX: 00007f226af85d29 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f226b001b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f226b176080 R15: 00007ffcc2c15928 rcu: rcu_preempt kthread starved for 10500 jiffies! g36285 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:28424 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 7366 Comm: kworker/u8:13 Not tainted 6.13.0-rc4-syzkaller-00071-gfd0584d220fe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x458/0x1300 kernel/smp.c:884 Code: 0c 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 ba 0e 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 a7 0c 00 00 8b 43 08 31 RSP: 0018:ffffc900042ff998 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b8744a40 RCX: ffffffff818e071c RDX: ffff88803006c880 RSI: ffffffff818e06f6 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffffed10170e8949 R13: 0000000000000001 R14: ffff8880b8744a48 R15: ffff8880b863fe40 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201df030 CR3: 000000000df7e000 CR4: 00000000003526f0 DR0: 0000000000000007 DR1: 000000000000000b DR2: 0000000000000002 DR3: 0000000000000010 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_flush arch/x86/kernel/alternative.c:2512 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:920 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate mm/kfence/core.c:849 [inline] toggle_allocation_gate+0xfc/0x260 mm/kfence/core.c:841 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244