rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 ticks this GP) idle=ca0c/1/0x4000000000000000 softirq=28154/28154 fqs=143 (detected by 0, t=10506 jiffies, g=36489, q=1369 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12420 Comm: syz-executor.4 Not tainted 6.2.0-rc4-syzkaller-00664-ga7b87d2a31dc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:rcu_rnp_online_cpus kernel/rcu/tree.c:225 [inline] RIP: 0010:rcu_rdp_cpu_online kernel/rcu/tree.c:235 [inline] RIP: 0010:rcu_lockdep_current_cpu_online kernel/rcu/tree.c:768 [inline] RIP: 0010:rcu_lockdep_current_cpu_online+0xc9/0x140 kernel/rcu/tree.c:752 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 72 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 18 48 8d 7b 70 48 89 fa 48 c1 ea 03 80 3c 02 00 <75> 5a 48 8b 53 70 b8 01 00 00 00 48 85 d5 74 0c 65 ff 0d 38 77 98 RSP: 0018:ffffc900001e0e00 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff8c79c140 RCX: 0000000000000000 RDX: 1ffffffff18f3836 RSI: 0000000000010003 RDI: ffffffff8c79c1b0 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffff8880b992b880 R14: ffff8880b992b780 R15: ffff888044bd1340 FS: 00007fc33582c700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4658d84998 CR3: 0000000026cdc000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_held_common kernel/rcu/update.c:102 [inline] rcu_read_lock_sched_held+0x29/0x70 kernel/rcu/update.c:123 trace_hrtimer_expire_entry include/trace/events/timer.h:235 [inline] __run_hrtimer kernel/time/hrtimer.c:1682 [inline] __hrtimer_run_queues+0xac8/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 f6 21 5a f7 48 89 ef e8 9e 8e 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 2f f2 4c f7 65 8b 05 50 da f9 75 85 c0 74 0a 5b 5d c3 e8 1c 07 RSP: 0018:ffffc9000326f918 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff2268186 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc9000326fa48 R08: 0000000000000001 R09: ffffffff9133dac7 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000008 R13: 0000000000000007 R14: ffff888017b4c000 R15: ffff8880264ae010 flush_workqueue_prep_pwqs+0x424/0x4f0 kernel/workqueue.c:2785 __flush_workqueue+0x53b/0x13a0 kernel/workqueue.c:2835 rxrpc_release_sock net/rxrpc/af_rxrpc.c:887 [inline] rxrpc_release+0x1d6/0x560 net/rxrpc/af_rxrpc.c:917 __sock_release net/socket.c:651 [inline] sock_release+0x8b/0x1b0 net/socket.c:679 afs_open_socket+0x2fd/0x360 fs/afs/rxrpc.c:99 afs_net_init+0xa79/0xed0 fs/afs/main.c:126 ops_init+0xb9/0x680 net/core/net_namespace.c:135 setup_net+0x793/0xe60 net/core/net_namespace.c:333 copy_net_ns+0x31b/0x6b0 net/core/net_namespace.c:483 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc5/0x1f0 kernel/nsproxy.c:228 ksys_unshare+0x449/0x920 kernel/fork.c:3202 __do_sys_unshare kernel/fork.c:3273 [inline] __se_sys_unshare kernel/fork.c:3271 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:3271 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:0x7fc334a8c0c9 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:00007fc33582c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007fc334babf80 RCX: 00007fc334a8c0c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006c060000 RBP: 00007fc334ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc5aee360f R14: 00007fc33582c300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 9796 jiffies! g36489 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:28656 pid:16 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: 2835 Comm: kworker/u4:6 Not tainted 6.2.0-rc4-syzkaller-00664-ga7b87d2a31dc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x0/0x20 kernel/kcov.c:303 Code: d6 fe ff ff 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 b8 fe ff ff 0f 1f 84 00 00 00 00 00 0f 1e fa 48 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 9a fe ff ff RSP: 0018:ffffc9000cc37970 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff8880b9942960 RCX: 0000000000000000 RDX: ffff8880287e9d40 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000003 R13: ffffed101732852d R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555c250d6048 CR3: 000000000c48e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:413 [inline] smp_call_function_many_cond+0x463/0x10a0 kernel/smp.c:987 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