rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=9bcc/1/0x4000000000000000 softirq=157885/157886 fqs=1 rcu: (detected by 0, t=10502 jiffies, g=176561, q=186 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 12331 Comm: syz.1.18219 Not tainted 6.12.0-rc1-syzkaller-00349-g8f602276d390 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:memory_is_nonzero mm/kasan/generic.c:103 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x64/0x290 mm/kasan/generic.c:189 Code: 48 c1 eb 03 49 ba 00 00 00 00 00 fc ff df 4e 8d 1c 13 49 ff c8 4d 89 c1 49 c1 e9 03 49 be 01 00 00 00 00 fc ff df 4f 8d 3c 31 <4c> 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 4c RSP: 0018:ffffc90000a18b10 EFLAGS: 00000807 RAX: 0000000000000001 RBX: 1ffffffff203781d RCX: ffffffff81706c90 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff901bc0e8 RBP: 000000000001ffff R08: ffffffff901bc0ef R09: 1ffffffff203781d R10: dffffc0000000000 R11: fffffbfff203781d R12: 1ffff92000143174 R13: ffffffff89c27b84 R14: dffffc0000000001 R15: fffffbfff203781e FS: 0000555583126500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003c80 CR3: 0000000028566000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:570 [inline] cpu_online include/linux/cpumask.h:1117 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xb0/0xa30 kernel/locking/lockdep.c:5836 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] advance_sched+0x9b4/0xca0 net/sched/sch_taprio.c:981 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1026 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1043 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:122 [inline] RIP: 0010:lock_acquire+0x14c/0x550 kernel/locking/lockdep.c:5801 Code: 0f 85 8f 01 00 00 65 48 8b 1c 25 80 d7 03 00 48 81 c3 dc 0a 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 e5 02 00 00 <83> 3b 00 0f 85 62 01 00 00 4c 8d bc 24 80 00 00 00 4c 89 fb 48 c1 RSP: 0018:ffffc90003e47760 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88802e6da8dc RCX: ffffffff817045a4 RDX: 0000000000000000 RSI: ffffffff8c602780 RDI: ffffffff8c602740 RBP: ffffc90003e478a8 R08: ffffffff901bc0ef R09: 1ffffffff203781d R10: dffffc0000000000 R11: fffffbfff203781e R12: 1ffff920007c8ef4 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 debug_objects_fill_pool+0xa0/0x9f0 lib/debugobjects.c:614 __debug_object_init+0xa4/0x400 lib/debugobjects.c:627 hrtimer_init_sleeper_on_stack+0x30/0x90 kernel/time/hrtimer.c:448 futex_setup_timer+0x48/0xd0 kernel/futex/core.c:143 futex_wait+0xe6/0x360 kernel/futex/waitwake.c:694 do_futex+0x33b/0x560 kernel/futex/syscalls.c:102 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex+0x3f9/0x480 kernel/futex/syscalls.c:160 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:0x7f33d2b7dff9 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:00007fff942e3778 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007fff942e38a0 RCX: 00007f33d2b7dff9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f33d2d35f8c RBP: 00007f33d2d35f8c R08: 7fffffffffffffff R09: 00007fff942e3a6f R10: 00007fff942e3880 R11: 0000000000000246 R12: 00000000000f5b15 R13: 00007fff942e3880 R14: 0000000000000032 R15: 00000000000f5ae3 rcu: rcu_preempt kthread starved for 10500 jiffies! g176561 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:25888 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1843/0x4ae0 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6767 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 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 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.12.0-rc1-syzkaller-00349-g8f602276d390 #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+0x19f8/0x2ca0 kernel/smp.c:884 Code: 89 e6 83 e6 01 31 ff e8 56 f3 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 ef 0b 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 e5 ee 0b 00 eb e4 44 RSP: 0000:ffffc90000ab76e0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff110170e8911 RCX: ffff88801f2e5a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000ab78e0 R08: ffffffff8188e70a R09: 1ffffffff2852100 R10: dffffc0000000000 R11: fffffbfff2852101 R12: dffffc0000000000 R13: ffff8880b8744888 R14: ffff8880b863fc40 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 000000000e734000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 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+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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