rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=2a1/1/0x4000000000000000 softirq=54236/54236 fqs=0 (detected by 0, t=10506 jiffies, g=67865, q=3243) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4492 Comm: kworker/u4:7 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: netns cleanup_net RIP: 0010:cpu_max_bits_warn include/linux/cpumask.h:108 [inline] RIP: 0010:cpumask_check include/linux/cpumask.h:115 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:344 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:895 [inline] RIP: 0010:trace_hrtimer_cancel include/trace/events/timer.h:294 [inline] RIP: 0010:debug_deactivate+0x3f/0x1c0 kernel/time/hrtimer.c:472 Code: af 0c 8a e8 e3 42 77 02 0f 1f 44 00 00 e8 39 e1 0f 00 65 8b 1d 7a 2a 9a 7e bf 07 00 00 00 89 de e8 86 e4 0f 00 83 fb 07 77 58 1c e1 0f 00 41 89 de c1 eb 06 48 8d 3c dd 28 9d 69 8d be 08 00 RSP: 0018:ffffc90000dd0cf8 EFLAGS: 00000097 RAX: ffffffff8167eaea RBX: 0000000000000001 RCX: ffff88801e635940 RDX: 0000000000010000 RSI: 0000000000000001 RDI: 0000000000000007 RBP: ffffc90000dd0e98 R08: dffffc0000000000 R09: ffff888078542340 R10: ffffed100f0a846b R11: 1ffff1100f0a8468 R12: ffff8880b912a350 R13: 1ffff1101722546a R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3241aff8 CR3: 000000000be8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1653 [inline] __hrtimer_run_queues+0x2db/0xc40 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:lock_release+0x128/0x870 kernel/locking/lockdep.c:5639 Code: 4c 8d b3 ec 0a 00 00 4c 89 f0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 28 05 00 00 41 83 3e 00 0f 85 58 04 00 00 48 89 5c 24 18 <48> c7 84 24 a0 00 00 00 00 00 00 00 9c 8f 84 24 a0 00 00 00 48 8b RSP: 0018:ffffc900014ef920 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88801e635940 RCX: b8aae14ac7e96900 RDX: 0000000000000000 RSI: ffffffff8a59e560 RDI: ffffffff8a59e520 RBP: ffffc900014efa30 R08: dffffc0000000000 R09: fffffbfff1ad33a6 R10: fffffbfff1ad33a6 R11: 1ffffffff1ad33a5 R12: 0000000000010cc4 R13: dffffc0000000000 R14: ffff88801e63642c R15: 1ffff9200029df30 rcu_read_unlock include/linux/rcupdate.h:773 [inline] inet_twsk_purge+0x77d/0x810 net/ipv4/inet_timewait_sock.c:309 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x77b/0xb80 net/core/net_namespace.c:635 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g67865 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=28891 rcu: rcu_preempt kthread starved for 10506 jiffies! g67865 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1 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:27528 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5049 [inline] __schedule+0x11bb/0x4390 kernel/sched/core.c:6395 schedule+0x11b/0x1e0 kernel/sched/core.c:6478 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x29e/0x11b0 kernel/rcu/tree.c:1972 rcu_gp_kthread+0x98/0x350 kernel/rcu/tree.c:2145 kthread+0x436/0x520 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4492 Comm: kworker/u4:7 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: netns cleanup_net RIP: 0010:match_held_lock+0xb/0xb0 kernel/locking/lockdep.c:5071 Code: 00 75 cf 48 c7 c7 00 1b 0b 8a 48 c7 c6 40 1b 0b 8a e8 19 35 f5 ff 0f 0b eb b6 e8 f0 fa ff ff b9 01 00 00 00 48 39 77 10 74 6c <53> 81 7f 20 00 00 10 00 72 5f 48 8b 46 08 48 85 c0 75 17 48 89 fb RSP: 0018:ffffc90000dd0c30 EFLAGS: 00000006 RAX: 0000000000000005 RBX: ffff88801e635940 RCX: 0000000000000001 RDX: 0000000000010000 RSI: ffff888078542300 RDI: ffff88801e6364a8 RBP: 00000000ffffffff R08: 0000000000000004 R09: 0000000000000003 R10: fffff520001ba180 R11: 1ffff920001ba180 R12: 0000000000000003 R13: 0000000000000046 R14: ffff888078542300 R15: ffff88801e6364a8 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3241aff8 CR3: 000000000be8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5366 [inline] lock_is_held_type+0xa6/0x190 kernel/locking/lockdep.c:5666 lock_is_held include/linux/lockdep.h:287 [inline] advance_sched+0x141/0x940 net/sched/sch_taprio.c:721 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x53d/0xc40 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:lock_release+0x128/0x870 kernel/locking/lockdep.c:5639 Code: 4c 8d b3 ec 0a 00 00 4c 89 f0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 28 05 00 00 41 83 3e 00 0f 85 58 04 00 00 48 89 5c 24 18 <48> c7 84 24 a0 00 00 00 00 00 00 00 9c 8f 84 24 a0 00 00 00 48 8b RSP: 0018:ffffc900014ef920 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88801e635940 RCX: b8aae14ac7e96900 RDX: 0000000000000000 RSI: ffffffff8a59e560 RDI: ffffffff8a59e520 RBP: ffffc900014efa30 R08: dffffc0000000000 R09: fffffbfff1ad33a6 R10: fffffbfff1ad33a6 R11: 1ffffffff1ad33a5 R12: 0000000000010cc4 R13: dffffc0000000000 R14: ffff88801e63642c R15: 1ffff9200029df30 rcu_read_unlock include/linux/rcupdate.h:773 [inline] inet_twsk_purge+0x77d/0x810 net/ipv4/inet_timewait_sock.c:309 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x77b/0xb80 net/core/net_namespace.c:635 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287