rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3651/1:b..l (detected by 1, t=10502 jiffies, g=23737, q=10) task:kworker/u4:7 state:R running task stack:19520 pid: 3651 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6780 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 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:ffffc900012ef8e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200025df28 RCX: 1ffff9200025dec8 RDX: dffffc0000000000 RSI: ffffffff8a8b3ca0 RDI: ffffffff8ad8f740 RBP: ffffc900012efa40 R08: dffffc0000000000 R09: fffffbfff1f7f219 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200025df24 R13: dffffc0000000000 R14: ffffc900012ef940 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] cleanup_net+0x763/0xb60 net/core/net_namespace.c:599 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g23737 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=11928 rcu: rcu_preempt kthread starved for 10502 jiffies! g23737 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:27256 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 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:300 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: 0 Comm: swapper/0 Not tainted 5.15.161-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__hrtimer_run_queues+0x26a/0xcf0 kernel/time/hrtimer.c:1747 Code: 84 1c 90 00 00 00 48 89 44 24 18 49 8d 84 1c 88 00 00 00 48 89 84 24 80 00 00 00 4c 89 6c 24 38 48 8b 44 24 48 42 80 3c 38 00 <74> 0d 48 8d bc 24 e0 00 00 00 e8 67 c8 5a 00 4c 8b a4 24 e0 00 00 RSP: 0018:ffffc90000007d60 EFLAGS: 00000046 RAX: 1ffff92000000fc8 RBX: ffff8880b9a2a348 RCX: ffffffff8c6bd5c0 RDX: 0000000000010003 RSI: 1ffff11017345462 RDI: ffff88807b00c340 RBP: ffffc90000007eb0 R08: dffffc0000000000 R09: ffff88807b00c340 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9a2a200 R13: ffff8880b9a2a300 R14: ffff88807b00c340 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f13768ce660 CR3: 0000000063954000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:sched_core_balance+0x125/0xc90 kernel/sched/core.c:6057 Code: 00 48 c7 c2 40 cd 8a 8a e8 f8 ad 0a 00 48 89 5c 24 48 e9 ed 0a 00 00 48 8b 7c 24 40 e8 34 64 cf 08 e8 6f 83 2e 00 fb 83 fb 08 <0f> 83 c0 0a 00 00 48 8b 44 24 58 4c 8d 3c c5 00 f8 35 8c 4c 89 f8 RSP: 0018:ffffffff8c607a00 EFLAGS: 00000293 RAX: c7f95c316ce37e00 RBX: 0000000000000000 RCX: ffffffff913f0f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2a00 RDI: ffffffff8ad8f740 RBP: ffffffff8c607b78 R08: ffffffff8186db40 R09: ffffed1017347469 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9a27700 R13: dffffc0000000000 R14: ffff8880b9a3a340 R15: ffffffff81585680 do_balance_callbacks kernel/sched/core.c:4673 [inline] __balance_callbacks+0x180/0x270 kernel/sched/core.c:4727 __schedule+0x145a/0x45b0 kernel/sched/core.c:6381 schedule_idle+0x4a/0x90 kernel/sched/core.c:6487 do_idle+0x61e/0x670 kernel/sched/idle.c:334 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:403 start_kernel+0x48c/0x540 init/main.c:1140 secondary_startup_64_no_verify+0xb1/0xbb