rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=2d5c/1/0x4000000000000000 softirq=107305/107305 fqs=2 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P1285/1:b..l rcu: (detected by 1, t=10506 jiffies, g=159493, q=41 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1284 Comm: syz-executor.1 Not tainted 6.6.0-rc4-syzkaller-00037-g3006adf3be79 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] RIP: 0010:rcu_is_watching+0x35/0xb0 kernel/rcu/tree.c:699 Code: 05 98 41 8d 7e e8 8b 0e 57 09 89 c3 83 f8 08 73 76 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 40 29 cb 8c 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 5c 10 72 00 48 c7 c3 c8 6b 03 00 RSP: 0018:ffffc90000007b20 EFLAGS: 00000806 RAX: 1ffffffff1996528 RBX: 0000000000000000 RCX: ffffffff816d76d0 RDX: 0000000000000000 RSI: ffffffff8b599c80 RDI: ffffffff8b599c40 RBP: ffffc90000007c70 R08: ffffffff8e9a7eaf R09: 1ffffffff1d34fd5 R10: dffffc0000000000 R11: fffffbfff1d34fd6 R12: 1ffff92000000f74 R13: ffffffff88eb0e0d R14: ffffffff8ccb2940 R15: dffffc0000000000 FS: 00007f798c6ca6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f798b998000 CR3: 00000000289c1000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xbf/0x9d0 kernel/locking/lockdep.c:5764 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] advance_sched+0x9bd/0xcb0 net/sched/sch_taprio.c:992 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x59f/0xd10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x104/0x390 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 7e 92 10 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 63 7a 88 f6 65 8b 05 64 c3 2b 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90004497b40 EFLAGS: 00000206 RAX: 8cd4988660cb3200 RBX: 1ffff92000892f6c RCX: ffffffff816dc0fa RDX: dffffc0000000000 RSI: ffffffff8b0aa4a0 RDI: 0000000000000001 RBP: ffffc90004497bd0 R08: ffffffff906fb387 R09: 1ffffffff20df670 R10: dffffc0000000000 R11: fffffbfff20df671 R12: dffffc0000000000 R13: 1ffff92000892f68 R14: ffffc90004497b60 R15: 0000000000000246 clock_was_set+0x6a1/0x830 kernel/time/hrtimer.c:972 do_settimeofday64+0x677/0x7e0 kernel/time/timekeeping.c:1345 __do_sys_clock_settime kernel/time/posix-timers.c:1129 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1113 [inline] __x64_sys_clock_settime+0x236/0x270 kernel/time/posix-timers.c:1113 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f798b87cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f798c6ca0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f798b99bf80 RCX: 00007f798b87cae9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000000 RBP: 00007f798b8c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f798b99bf80 R15: 00007fffbcbd3138 task:syz-executor.2 state:R running task stack:27176 pid:1285 ppid:26834 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:7007 irqentry_exit+0x57/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x25a/0x520 kernel/locking/lockdep.c:5757 Code: 2b 00 74 08 4c 89 f7 e8 34 95 7b 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc9000475f840 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920008ebf14 RCX: ffffffff816d0917 RDX: 0000000000000000 RSI: ffffffff8b0ab620 RDI: ffffffff8b599ca0 RBP: ffffc9000475f988 R08: dffffc0000000000 R09: 1ffffffff20df670 R10: dffffc0000000000 R11: fffffbfff20df671 R12: 1ffff920008ebf10 R13: dffffc0000000000 R14: ffffc9000475f8a0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:749 [inline] ext4_get_group_info+0x123/0x400 fs/ext4/balloc.c:334 ext4_validate_inode_bitmap fs/ext4/ialloc.c:90 [inline] ext4_read_inode_bitmap+0xada/0x1270 fs/ext4/ialloc.c:210 __ext4_new_inode+0x105e/0x4390 fs/ext4/ialloc.c:1054 ext4_symlink+0x38d/0xb40 fs/ext4/namei.c:3399 vfs_symlink+0x12f/0x2a0 fs/namei.c:4480 do_symlinkat+0x201/0x610 fs/namei.c:4506 __do_sys_symlinkat fs/namei.c:4522 [inline] __se_sys_symlinkat fs/namei.c:4519 [inline] __x64_sys_symlinkat+0x99/0xb0 fs/namei.c:4519 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8e93e7c267 RSP: 002b:00007ffd7597ef48 EFLAGS: 00000202 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 00007ffd7597f010 RCX: 00007f8e93e7c267 RDX: 00007f8e93ec851b RSI: 00000000ffffff9c RDI: 00007f8e93ec750e RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 rcu: rcu_preempt kthread starved for 10495 jiffies! g159493 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:25816 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_timeout+0x1bd/0x300 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1613 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1812 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 31881 Comm: kworker/u4:10 Not tainted 6.6.0-rc4-syzkaller-00037-g3006adf3be79 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:300 [inline] RIP: 0010:smp_call_function_many_cond+0x1805/0x2890 kernel/smp.c:844 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 64 59 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 9f 55 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 83 55 RSP: 0018:ffffc90010587720 EFLAGS: 00000293 RAX: ffffffff8182b62d RBX: 1ffff110173087b9 RCX: ffff88807d4fd940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90010587920 R08: ffffffff8182b5fc R09: 1ffffffff20df670 R10: dffffc0000000000 R11: fffffbfff20df671 R12: dffffc0000000000 R13: ffff8880b9843dc8 R14: ffff8880b993d440 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200bd038 CR3: 000000000d130000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1012 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1993 [inline] text_poke_bp_batch+0x350/0xb20 arch/x86/kernel/alternative.c:2203 text_poke_flush arch/x86/kernel/alternative.c:2394 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2401 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x132/0x250 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:830 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304