rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (5 ticks this GP) idle=adac/1/0x4000000000000000 softirq=58111/58111 fqs=3 (detected by 0, t=10502 jiffies, g=90057, q=105 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 19475 Comm: syz-executor.3 Not tainted 6.2.0-rc6-syzkaller-00050-g9f266ccaa2f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:mark_usage kernel/locking/lockdep.c:4515 [inline] RIP: 0010:__lock_acquire+0x79b/0x56d0 kernel/locking/lockdep.c:5009 Code: ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 1c 4f 00 00 49 8d 6c 24 22 41 0f b6 5c 24 21 <48> b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 0f b6 04 02 48 RSP: 0000:ffffc900003e8ac8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000040 RCX: ffffffff8162c2d0 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88807696cb29 RBP: ffff88807696cb2a R08: 0000000000000000 R09: ffffffff9132facf R10: fffffbfff2265f59 R11: 0000000000000000 R12: ffff88807696cb08 R13: ffff88807696c080 R14: ffff88807696cab8 R15: dffffc0000000000 FS: 00007f8f5f7fe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020085030 CR3: 0000000021af7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5668 [inline] lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3d/0x60 kernel/locking/spinlock.c:162 debug_object_deactivate lib/debugobjects.c:739 [inline] debug_object_deactivate+0x105/0x300 lib/debugobjects.c:727 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline] debug_deactivate kernel/time/hrtimer.c:481 [inline] __run_hrtimer kernel/time/hrtimer.c:1653 [inline] __hrtimer_run_queues+0x422/0xfb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 d6 ed 59 f7 48 89 ef e8 7e 5a 5a f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 5f c0 4c f7 65 8b 05 80 7b fa 75 85 c0 74 0a 5b 5d c3 e8 9c d5 RSP: 0000:ffffc900054df778 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff226e12e RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8880290f8ec0 R08: 0000000000000001 R09: ffffffff9132fb6f R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000010 R14: 0000000000000001 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] __wake_up_common_lock+0xe2/0x140 kernel/sched/wait.c:140 __unix_dgram_recvmsg+0x2d1/0xb90 net/unix/af_unix.c:2472 unix_dgram_recvmsg+0xc4/0xf0 net/unix/af_unix.c:2542 sock_recvmsg_nosec net/socket.c:995 [inline] ____sys_recvmsg+0x53c/0x610 net/socket.c:2693 ___sys_recvmsg+0xf2/0x180 net/socket.c:2737 do_recvmmsg+0x25e/0x6e0 net/socket.c:2831 __sys_recvmmsg net/socket.c:2910 [inline] __do_sys_recvmmsg net/socket.c:2933 [inline] __se_sys_recvmmsg net/socket.c:2926 [inline] __x64_sys_recvmmsg+0x20f/0x260 net/socket.c:2926 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:0x7f8f60c8c0c9 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:00007f8f5f7fe168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f8f60dac050 RCX: 00007f8f60c8c0c9 RDX: 0000000000010120 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007f8f60ce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdd8155baf R14: 00007f8f5f7fe300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 10488 jiffies! g90057 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:28104 pid:15 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6606 schedule+0xde/0x1b0 kernel/sched/core.c:6682 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1656 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1855 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 16522 Comm: kworker/u4:0 Not tainted 6.2.0-rc6-syzkaller-00050-g9f266ccaa2f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x43f/0x10a0 kernel/smp.c:987 Code: e6 e8 85 fb 0a 00 45 85 e4 74 48 48 8b 04 24 49 89 c5 83 e0 07 49 c1 ed 03 49 89 c4 4d 01 fd 41 83 c4 03 e8 b3 fe 0a 00 f3 90 <41> 0f b6 45 00 41 38 c4 7c 08 84 c0 0f 85 4e 0a 00 00 8b 43 08 31 RSP: 0018:ffffc9000368f978 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b993f5a0 RCX: 0000000000000000 RDX: ffff8880308e8040 RSI: ffffffff8175857d RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000003 R13: ffffed1017327eb5 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558fe1dfd958 CR3: 000000000c48e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1772 [inline] text_poke_bp_batch+0x22e/0x6b0 arch/x86/kernel/alternative.c:1963 text_poke_flush arch/x86/kernel/alternative.c:2131 [inline] text_poke_flush arch/x86/kernel/alternative.c:2128 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2138 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:799 [inline] toggle_allocation_gate+0xf8/0x230 mm/kfence/core.c:791 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308