rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=b49c/1/0x4000000000000000 softirq=89899/89900 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P25523/1:b..l rcu: (detected by 0, t=10502 jiffies, g=103105, q=73 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 25530 Comm: syz.4.9291 Not tainted 6.12.0-rc3-syzkaller-00525-gc55228220dd3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:hlock_class+0x56/0x130 kernel/locking/lockdep.c:228 Code: 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 40 9c e2 96 e8 42 4c 85 00 48 0f a3 1d 3a e2 78 15 <73> 13 48 69 c3 c8 00 00 00 5b 48 05 60 a0 e2 96 c3 cc cc cc cc 48 RSP: 0018:ffffc90000a18a90 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 000000000000006e RCX: ffffffff8169b9fe RDX: fffffbfff2dc538a RSI: 0000000000000008 RDI: ffffffff96e29c48 RBP: ffffc90000a18bd8 R08: 0000000000000000 R09: fffffbfff2dc5389 R10: ffffffff96e29c4f R11: 0000000000000000 R12: ffff88805615da00 R13: 0000000000000001 R14: 0000000000000000 R15: 1ffff9200014315a FS: 00007fc53d3de6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc53d3ddf98 CR3: 00000000532e2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock+0xb5/0xc60 kernel/locking/lockdep.c:4703 mark_usage kernel/locking/lockdep.c:4611 [inline] __lock_acquire+0x142d/0x3ce0 kernel/locking/lockdep.c:5156 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1695 [inline] __hrtimer_run_queues+0x2be/0xae0 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1817 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 b6 c5 45 f6 48 89 df e8 ce 42 46 f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 25 4a 37 f6 65 8b 05 d6 00 df 74 85 c0 74 16 5b RSP: 0018:ffffc9000308fa20 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff88802a0c8888 RCX: 1ffffffff20be119 RDX: 0000000000000000 RSI: ffffffff8b6cd0c0 RDI: ffffffff8bd1aa80 RBP: 0000000000000287 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff905f4b0f R11: 0000000000000000 R12: dffffc0000000000 R13: 1d9e43aab485ea7a R14: 1bc16d5ab485ea7a R15: ffff88802a0c8888 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] timerfd_clock_was_set+0x164/0x310 fs/timerfd.c:113 clock_was_set+0x67c/0x850 kernel/time/hrtimer.c:978 timekeeping_inject_offset+0x4d1/0x640 kernel/time/timekeeping.c:1524 do_adjtimex+0x37a/0xaa0 kernel/time/timekeeping.c:2575 do_clock_adjtime kernel/time/posix-timers.c:1174 [inline] __do_sys_clock_adjtime+0x173/0x290 kernel/time/posix-timers.c:1186 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc53d97dff9 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:00007fc53d3de038 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007fc53db36058 RCX: 00007fc53d97dff9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007fc53d9f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc53db36058 R15: 00007ffef68405c8 task:syz.1.9289 state:R running task stack:26560 pid:25523 tgid:25522 ppid:5522 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5730 kernel/sched/core.c:6690 preempt_schedule_common+0x44/0xc0 kernel/sched/core.c:6869 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] finish_fault+0x9e7/0x1010 mm/memory.c:5156 do_read_fault mm/memory.c:5290 [inline] do_fault mm/memory.c:5420 [inline] do_pte_missing+0xed1/0x3e50 mm/memory.c:3965 handle_pte_fault mm/memory.c:5755 [inline] __handle_mm_fault+0x100a/0x2a10 mm/memory.c:5898 handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6066 faultin_page mm/gup.c:1187 [inline] __get_user_pages+0x90f/0x3b90 mm/gup.c:1485 populate_vma_page_range+0x27f/0x3a0 mm/gup.c:1923 __mm_populate+0x1d6/0x380 mm/gup.c:2026 mm_populate include/linux/mm.h:3371 [inline] vm_mmap_pgoff+0x293/0x360 mm/util.c:593 ksys_mmap_pgoff+0x7d/0x5c0 mm/mmap.c:542 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:79 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:79 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f886cd7dff9 RSP: 002b:00007f886c7ff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f886cf35f80 RCX: 00007f886cd7dff9 RDX: 000000000000000f RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f886cdf0296 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000004008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f886cf35f80 R15: 00007ffd40e23f78 rcu: rcu_preempt kthread starved for 10502 jiffies! g103105 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:28432 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5730 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6782 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2615 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: 22503 Comm: kworker/u8:31 Not tainted 6.12.0-rc3-syzkaller-00525-gc55228220dd3 #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 6a 1b 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 a4 0c 00 00 8b 43 08 31 RSP: 0018:ffffc9000a647998 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b8744cc0 RCX: ffffffff818163bc RDX: ffff88805dea5a00 RSI: ffffffff81816396 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed10170e8999 R13: 0000000000000001 R14: ffff8880b8744cc8 R15: ffff8880b8640100 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feb0bf37a8c CR3: 000000000df7c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 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:2085 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_flush arch/x86/kernel/alternative.c:2483 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2493 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