rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=9bcc/1/0x4000000000000000 softirq=11958/11959 fqs=2 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5141/1:b..l rcu: (detected by 0, t=10503 jiffies, g=14037, q=465 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5089 Comm: syz-executor.2 Not tainted 6.8.0-rc2-syzkaller-00682-gffabe98cb576 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:kasan_check_range+0x4/0x290 mm/kasan/generic.c:188 Code: 8b 8d e8 4f 9e e5 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 <55> 41 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 RSP: 0018:ffffc900001f0a28 EFLAGS: 00000046 RAX: 0000000000000021 RBX: 000000000000084c RCX: ffffffff81712a34 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92c8d528 RBP: 0bcc228c809d6a00 R08: ffffffff92c8d4c7 R09: 1ffffffff2591a98 R10: dffffc0000000000 R11: fffffbfff2591a99 R12: ffff88802ae4d940 R13: ffff88802ae4d940 R14: 0000000000000001 R15: ffff88802ae4d940 FS: 00005555557e4480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31321000 CR3: 000000002cbc0000 CR4: 00000000003506f0 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] hlock_class kernel/locking/lockdep.c:228 [inline] __lock_acquire+0x1264/0x1fd0 kernel/locking/lockdep.c:5134 lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xab/0xca0 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x594/0xd00 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x107/0x3a0 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x92/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:INIT_LIST_HEAD include/linux/list.h:38 [inline] RIP: 0010:ext4_alloc_inode+0x177/0x580 fs/ext4/super.c:1420 Code: 94 e8 3d 5d 0d ff 4c 8d b3 38 08 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 00 ca 90 ff 4c 89 b3 38 08 00 00 <48> 8d bb 40 08 00 00 48 89 f8 48 c1 e8 03 42 80 3c 20 00 74 05 e8 RSP: 0018:ffffc9000412f9d8 EFLAGS: 00000246 RAX: 1ffff11009105c47 RBX: ffff88804882da00 RCX: ffffffff94485303 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff88804882e208 RBP: ffffc9000412fc68 R08: ffff88804882e227 R09: 0000000000000000 R10: ffff88804882e218 R11: ffffed1009105c45 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff88804882e238 R15: 0000000000000001 alloc_inode fs/inode.c:260 [inline] new_inode_pseudo+0x69/0x1e0 fs/inode.c:1005 new_inode+0x22/0x1d0 fs/inode.c:1031 __ext4_new_inode+0x35a/0x4360 fs/ext4/ialloc.c:958 ext4_mkdir+0x425/0xcf0 fs/ext4/namei.c:3014 vfs_mkdir+0x2f9/0x4b0 fs/namei.c:4122 do_mkdirat+0x264/0x3a0 fs/namei.c:4145 __do_sys_mkdirat fs/namei.c:4160 [inline] __se_sys_mkdirat fs/namei.c:4158 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4158 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f72a827c8a7 Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffde3ee4a58 EFLAGS: 00000202 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007ffde3ee4ae0 RCX: 00007f72a827c8a7 RDX: 00000000000001ff RSI: 00007ffde3ee4ae0 RDI: 00000000ffffff9c RBP: 00007ffde3ee4abc R08: 0000000000000005 R09: 00007ffde3ee47f5 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032 R13: 00000000000208db R14: 00000000000207e8 R15: 000000000000001e task:kworker/1:5 state:R running task stack:22864 pid:5141 tgid:5141 ppid:2 flags:0x00004000 Workqueue: events_power_efficient gc_worker Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7047 irqentry_exit+0x5e/0x90 kernel/entry/common.c:348 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:104 [inline] RIP: 0010:lock_acquire+0x199/0x530 kernel/locking/lockdep.c:5750 Code: 00 00 00 00 00 00 9c 8f 84 24 80 00 00 00 42 80 3c 2b 00 74 08 4c 89 ff e8 b4 c9 84 00 48 8d 5c 24 60 4c 8b bc 24 80 00 00 00 48 c7 c7 40 c2 aa 8b e8 ba 49 f6 09 65 ff 05 d3 77 91 7e 45 31 RSP: 0018:ffffc90004607940 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc900046079a0 RCX: ffffffff81711214 RDX: 0000000000000000 RSI: ffffffff8bfe7200 RDI: ffffffff8bfe71c0 RBP: ffffc90004607a88 R08: ffffffff8f8566ef R09: 1ffffffff1f0acdd R10: dffffc0000000000 R11: fffffbfff1f0acde R12: 1ffff920008c0f30 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock include/linux/rcupdate.h:750 [inline] gc_worker+0x28c/0x15a0 net/netfilter/nf_conntrack_core.c:1488 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 rcu: rcu_preempt kthread starved for 10493 jiffies! g14037 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:26256 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2183 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 1081 Comm: kworker/u4:5 Not tainted 6.8.0-rc2-syzkaller-00682-gffabe98cb576 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1850/0x2960 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 99 d4 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 44 d0 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 28 d0 RSP: 0018:ffffc90004657720 EFLAGS: 00000293 RAX: ffffffff81879728 RBX: 1ffff110172a8395 RCX: ffff88802285bb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004657920 R08: ffffffff818796f7 R09: 1ffffffff2591a84 R10: dffffc0000000000 R11: fffffbfff2591a85 R12: dffffc0000000000 R13: ffff8880b9541ca8 R14: ffff8880b943da80 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe02a2d56c6 CR3: 000000000df32000 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:2087 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2297 text_poke_flush arch/x86/kernel/alternative.c:2488 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2495 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:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242