rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=3f04/1/0x4000000000000000 softirq=6696/6698 fqs=3 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5157/1:b..l rcu: (detected by 0, t=10502 jiffies, g=6685, q=1736 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5094 Comm: udevd Not tainted 6.9.0-syzkaller-12393-g9b62e02e6336 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:127 [inline] RIP: 0010:lock_release+0x5fc/0x9f0 kernel/locking/lockdep.c:5777 Code: f8 01 0f 85 9a 00 00 00 4c 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 d0 56 89 00 48 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 bd 55 89 RSP: 0018:ffffc90000a18900 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffff92000143132 RCX: ffffc90000a18903 RDX: 0000000000000001 RSI: ffffffff8bcacc00 RDI: ffffffff8c1ff140 RBP: ffffc90000a18a30 R08: ffffffff8fad43af R09: 1ffffffff1f5a875 R10: dffffc0000000000 R11: fffffbfff1f5a876 R12: 1ffff9200014312c R13: 0000000000000046 R14: ffffc90000a18990 R15: dffffc0000000000 FS: 00007effbff08c80(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fade43083b0 CR3: 0000000022be2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_objects_fill_pool+0xc0/0x9b0 lib/debugobjects.c:616 debug_object_activate+0x135/0x510 lib/debugobjects.c:704 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:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x18/0x70 kernel/kcov.c:207 Code: 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 00 d5 03 00 65 8b 15 70 be 6d 7e c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 1c 16 00 00 RSP: 0018:ffffc9000357f7f8 EFLAGS: 00000a02 RAX: ffffffff84e6e073 RBX: ffff88807ea6ef00 RCX: ffff888023a85a00 RDX: 0000000080000000 RSI: 0000000000000001 RDI: ffffffff8e014600 RBP: ffffc9000357f8e8 R08: ffffffff820cf0f3 R09: 1ffff1100fd4ddeb R10: dffffc0000000000 R11: ffffed100fd4ddec R12: dffffc0000000000 R13: ffffffff8e014600 R14: ffffc9000357f880 R15: 0000000000000001 percpu_counter_add_batch+0x93/0x2f0 lib/percpu_counter.c:88 percpu_counter_add include/linux/percpu_counter.h:71 [inline] percpu_counter_inc include/linux/percpu_counter.h:267 [inline] alloc_empty_file+0x108/0x1d0 fs/file_table.c:212 path_openat+0xfb/0x3280 fs/namei.c:3793 do_filp_open+0x235/0x490 fs/namei.c:3834 do_sys_openat2+0x13e/0x1d0 fs/open.c:1405 do_sys_open fs/open.c:1420 [inline] __do_sys_openat fs/open.c:1436 [inline] __se_sys_openat fs/open.c:1431 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1431 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:0x7effbfb16ab9 Code: 00 00 00 44 8b 54 24 58 48 89 44 24 30 48 8d 44 24 40 48 89 44 24 38 64 8b 04 25 18 00 00 00 85 c0 75 21 b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6f 48 8b 15 40 a3 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffeb9a7f5e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffeb9a81748 RCX: 00007effbfb16ab9 RDX: 0000000000080000 RSI: 00007effbfff6dd8 RDI: 000000000000000b RBP: 0000557e8100a1b0 R08: 0000557e80fe7030 R09: 00007effbfbf1b20 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b R13: 00007effbfff6dd8 R14: 0000000000080000 R15: 0000000000000000 task:kworker/1:5 state:R running task stack:25264 pid:5157 tgid:5157 ppid:2 flags:0x00004000 Workqueue: events_power_efficient gc_worker Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:seqcount_lockdep_reader_access+0x1e0/0x220 include/linux/seqlock.h:75 Code: f7 4d 85 ed 75 16 e8 9f 96 f5 f7 eb 15 e8 98 96 f5 f7 e8 43 a7 e5 01 4d 85 ed 74 ea e8 89 96 f5 f7 fb 48 c7 04 24 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 66 43 c7 44 3c 09 00 00 43 c6 44 3c 0b 00 RSP: 0018:ffffc900041479a0 EFLAGS: 00000293 RAX: ffffffff89a07ff7 RBX: 0000000000000000 RCX: ffff88802aef1e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004147a50 R08: ffffffff89a07fcd R09: 1ffffffff25f50c2 R10: dffffc0000000000 R11: fffffbfff25f50c3 R12: dffffc0000000000 R13: 0000000000000200 R14: 0000000000000046 R15: 1ffff92000828f34 nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:345 [inline] gc_worker+0x316/0x1530 net/netfilter/nf_conntrack_core.c:1488 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 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: rcu_preempt kthread starved for 10389 jiffies! g6685 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:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 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: 35 Comm: kworker/u8:2 Not tainted 6.9.0-syzkaller-12393-g9b62e02e6336 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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 99 09 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 44 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 28 05 RSP: 0018:ffffc90000ab7700 EFLAGS: 00000293 RAX: ffffffff818a1158 RBX: 1ffff110172a88a9 RCX: ffff88801b2abc00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000ab78e0 R08: ffffffff818a1127 R09: 1ffffffff25f50b0 R10: dffffc0000000000 R11: fffffbfff25f50b1 R12: dffffc0000000000 R13: ffff8880b9544548 R14: ffff8880b943f900 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6c831ac440 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+0x726/0xb30 arch/x86/kernel/alternative.c:2341 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:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 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