rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4498/1:b..l (detected by 1, t=10502 jiffies, g=14781, q=84) task:syz.2.122 state:R running task stack:25336 pid: 4498 ppid: 4231 flags:0x00004204 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6777 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627 Code: 2b 00 74 08 4c 89 f7 e8 0c 7e 67 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:ffffc90003037920 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000606f30 RCX: 1ffff92000606ed0 RDX: dffffc0000000000 RSI: ffffffff8a8b3d20 RDI: ffffffff8ad90280 RBP: ffffc90003037a80 R08: dffffc0000000000 R09: fffffbfff20ec621 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000606f2c R13: dffffc0000000000 R14: ffffc90003037980 R15: 0000000000000246 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] inet_twsk_purge+0x129/0x9d0 net/ipv4/inet_timewait_sock.c:268 ops_exit_list net/core/net_namespace.c:177 [inline] setup_net+0x81c/0x9e0 net/core/net_namespace.c:355 copy_net_ns+0x392/0x5d0 net/core/net_namespace.c:476 create_new_namespaces+0x425/0x7a0 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x11e/0x170 kernel/nsproxy.c:226 ksys_unshare+0x531/0xa40 kernel/fork.c:3097 __do_sys_unshare kernel/fork.c:3171 [inline] __se_sys_unshare kernel/fork.c:3169 [inline] __x64_sys_unshare+0x34/0x40 kernel/fork.c:3169 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f41325a9ff9 RSP: 002b:00007f4130a22038 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f4132761f80 RCX: 00007f41325a9ff9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000200 RBP: 00007f413261c296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4132761f80 R15: 00007ffc6b454008 rcu: rcu_preempt kthread starved for 10533 jiffies! g14781 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:26392 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4560 Comm: syz.4.137 Not tainted 5.15.168-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__sanitizer_cov_trace_pc+0x41/0x60 kernel/kcov.c:211 Code: ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 34 16 00 00 00 74 2c 8b 91 10 16 00 00 83 fa 02 75 21 48 8b 91 18 16 00 00 48 8b 32 <48> 8d 7e 01 8b 89 14 16 00 00 48 39 cf 73 08 48 89 44 f2 08 48 89 RSP: 0018:ffffc90002df79d0 EFLAGS: 00000246 RAX: ffffffff812f51ca RBX: 00007f7a758c9044 RCX: ffff8880258e8000 RDX: ffffc9000c7fc000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90002df7b70 R08: ffffffff812f33e5 R09: ffffed1004b1d2b2 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11004b1d2f1 R13: 00007f7a758c8d00 R14: ffff8880258e8000 R15: dffffc0000000000 FS: 00007f7a758c96c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3a28cb CR3: 0000000021679000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: local_bh_disable+0xa/0x20 include/linux/bottom_half.h:19 fpregs_lock arch/x86/include/asm/fpu/api.h:70 [inline] copy_fpstate_to_sigframe+0x1cb/0xb40 arch/x86/kernel/fpu/signal.c:198 get_sigframe+0x378/0x4b0 arch/x86/kernel/signal.c:295 __setup_rt_frame arch/x86/kernel/signal.c:471 [inline] setup_rt_frame arch/x86/kernel/signal.c:780 [inline] handle_signal arch/x86/kernel/signal.c:824 [inline] arch_do_signal_or_restart+0x4ac/0x1890 arch/x86/kernel/signal.c:869 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f7a77450ff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7a758c90e8 EFLAGS: 00000246 RAX: fffffffffffffffc RBX: 00007f7a77608f88 RCX: 00007f7a77450ff9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f7a77608f88 RBP: 00007f7a77608f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7a77608f8c R13: 0000000000000000 R14: 00007ffedf247280 R15: 00007ffedf247368