rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=eea4/1/0x4000000000000000 softirq=85190/85191 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P27641/1:b..l rcu: (detected by 0, t=10505 jiffies, g=104825, q=289 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 27600 Comm: syz-executor.3 Not tainted 6.4.0-rc2-syzkaller-00015-g1b66c114d161 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:lock_release+0x54/0x670 kernel/locking/lockdep.c:5699 Code: 24 08 48 c7 44 24 10 b3 8a b5 41 48 c1 ed 03 48 c7 44 24 18 18 0b f0 8b 48 01 e8 48 c7 44 24 20 90 e4 65 81 c7 00 f1 f1 f1 f1 40 04 f1 f1 04 f2 c7 40 08 04 f3 f3 f3 65 48 8b 04 25 28 00 00 RSP: 0018:ffffc900001e0c40 EFLAGS: 00000082 RAX: fffff5200003c18a RBX: 0000000000000012 RCX: 1ffff11004fb1dad RDX: ffffffff8a4edfc0 RSI: ffffffff84177b3d RDI: ffffffff92095d18 RBP: 1ffff9200003c18a R08: 0000000000000001 R09: 0000000000000012 R10: fffff5200003c192 R11: 0000000000000000 R12: ffffffff92095d18 R13: dffffc0000000000 R14: ffffffff92095d00 R15: 1ffff9200003c1a7 FS: 00007f146fbc5700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f54d71d0718 CR3: 0000000079bf6000 CR4: 0000000000350ee0 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x1a/0x70 kernel/locking/spinlock.c:194 debug_object_activate+0x24d/0x400 lib/debugobjects.c:725 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x27/0x320 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0xa5b/0xbe0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:finish_task_switch.isra.0+0x2bf/0xc80 kernel/sched/core.c:5215 Code: 8b 3a 4c 89 e7 48 c7 02 00 00 00 00 ff d1 4d 85 ff 75 bf 4c 89 e7 e8 60 f8 ff ff e8 8b 0d 32 00 fb 65 48 8b 1c 25 c0 bb 03 00 <48> 8d bb e8 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffffc9000542f4a0 EFLAGS: 00000206 RAX: 000000000000e9af RBX: ffff88803b5c9dc0 RCX: 1ffffffff1cf48a9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000542f4e8 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff1cf4eb2 R11: 0000000000000000 R12: ffff8880b993c5c0 R13: ffff88803cfebb80 R14: 0000000000000000 R15: ffff8880b993cff8 context_switch kernel/sched/core.c:5346 [inline] __schedule+0xca2/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143 unix_wait_for_peer+0x244/0x280 net/unix/af_unix.c:1450 unix_dgram_sendmsg+0x16bf/0x1950 net/unix/af_unix.c:2048 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg+0xde/0x190 net/socket.c:747 ____sys_sendmsg+0x334/0x900 net/socket.c:2503 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2557 __sys_sendmmsg+0x18f/0x460 net/socket.c:2643 __do_sys_sendmmsg net/socket.c:2672 [inline] __se_sys_sendmmsg net/socket.c:2669 [inline] __x64_sys_sendmmsg+0x9d/0x100 net/socket.c:2669 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f146ee8c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f146fbc5168 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f146efabf80 RCX: 00007f146ee8c169 RDX: 0000000000000651 RSI: 0000000020000000 RDI: 0000000000000006 RBP: 00007f146eee7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb7d10c1f R14: 00007f146fbc5300 R15: 0000000000022000 task:syz-executor.1 state:R running task stack:29400 pid:27641 ppid:5040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 preempt_schedule_common+0x45/0xb0 kernel/sched/core.c:6838 preempt_schedule_thunk+0x1a/0x20 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x5b/0x70 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] timerfd_clock_was_set+0x166/0x310 fs/timerfd.c:113 clock_was_set+0x1b1/0x810 kernel/time/hrtimer.c:980 timekeeping_inject_offset+0x4b4/0x620 kernel/time/timekeeping.c:1395 do_adjtimex+0x333/0xa40 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1122 [inline] __do_sys_clock_adjtime+0x163/0x270 kernel/time/posix-timers.c:1134 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f54d648c169 RSP: 002b:00007f54d71d0168 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f54d65ac050 RCX: 00007f54d648c169 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f54d64e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe993825ff R14: 00007f54d71d0300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 10505 jiffies! g104825 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:28200 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 1204 Comm: kworker/u4:5 Not tainted 6.4.0-rc2-syzkaller-00015-g1b66c114d161 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:285 [inline] RIP: 0010:smp_call_function_many_cond+0x684/0x15a0 kernel/smp.c:828 Code: 0b 00 85 ed 74 48 48 8b 44 24 08 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 f4 83 c5 03 e8 b3 40 0b 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 ad 0c 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc90005daf948 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9943220 RCX: 0000000000000000 RDX: ffff888021cb1dc0 RSI: ffffffff8179021d RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1017328645 R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056193cfc6208 CR3: 000000000c571000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:996 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1770 [inline] text_poke_bp_batch+0x237/0x770 arch/x86/kernel/alternative.c:1970 text_poke_flush arch/x86/kernel/alternative.c:2161 [inline] text_poke_flush arch/x86/kernel/alternative.c:2158 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2168 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:831 [inline] toggle_allocation_gate+0xf8/0x230 mm/kfence/core.c:823 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308