rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=3e64/1/0x4000000000000000 softirq=10419/10419 fqs=2 (detected by 0, t=10502 jiffies, g=11201, q=142 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5899 Comm: kworker/u4:13 Not tainted 6.2.0-rc2-syzkaller-00010-g69b41ac87e4a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: netns cleanup_net RIP: 0010:match_held_lock+0x77/0xb0 kernel/locking/lockdep.c:5145 Code: c7 c2 80 50 66 90 48 29 d0 48 c1 f8 06 48 ba ab aa aa aa aa aa aa aa 48 0f af d0 bd 01 00 00 00 48 39 ca 74 02 31 ed 89 e8 5b <5d> c3 e8 d2 3a 7a f9 31 ed 85 c0 74 f0 83 3d 0d 8b ea 03 00 75 e7 RSP: 0018:ffffc900001e0a08 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000080010002 RDX: 0000000000000000 RSI: ffffffff8d523780 RDI: ffff8880362c6270 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1d6043e R10: fffffbfff1d6043e R11: 1ffffffff1d6043d R12: 0000000000000046 R13: ffff8880362c57c0 R14: 00000000ffffffff R15: ffffffff8d523780 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000029ab1000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5409 [inline] lock_is_held_type+0xb1/0x190 kernel/locking/lockdep.c:5711 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x89/0x130 kernel/rcu/update.c:125 trace_lock_release+0x95/0x220 include/trace/events/lock.h:69 lock_release+0x81/0x870 kernel/locking/lockdep.c:5679 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:390 [inline] advance_sched+0x634/0x8c0 net/sched/sch_taprio.c:749 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_release+0x5d5/0x870 kernel/locking/lockdep.c:5692 Code: 3c 23 00 74 08 4c 89 f7 e8 b8 bf 77 00 f6 84 24 91 00 00 00 02 75 68 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 4b c7 44 3c 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc90014cc7900 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92002998f32 RCX: ffffc90014cc7903 RDX: 0000000000000003 RSI: ffffffff8b0daae0 RDI: ffffffff8b697880 RBP: ffffc90014cc7a30 R08: dffffc0000000000 R09: fffffbfff1d6043e R10: fffffbfff1d6043e R11: 1ffffffff1d6043d R12: dffffc0000000000 R13: 0000000000000246 R14: ffffc90014cc7990 R15: 1ffff92002998f2c rcu_read_unlock include/linux/rcupdate.h:797 [inline] inet_twsk_purge+0x8e1/0x980 net/ipv4/inet_timewait_sock.c:312 ops_exit_list net/core/net_namespace.c:174 [inline] cleanup_net+0x80c/0xc60 net/core/net_namespace.c:606 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: rcu_preempt kthread timer wakeup didn't happen for 10489 jiffies! g11201 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=12104 rcu: rcu_preempt kthread starved for 10490 jiffies! g11201 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:26488 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x309/0x1070 kernel/rcu/tree.c:1656 rcu_gp_kthread+0xa5/0x390 kernel/rcu/tree.c:1855 kthread+0x266/0x300 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: 5925 Comm: kworker/u4:14 Not tainted 6.2.0-rc2-syzkaller-00010-g69b41ac87e4a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0xd/0x60 kernel/kcov.c:207 Code: fb e8 17 00 00 00 48 8b 3d 08 5c 22 0d 48 89 de 5b e9 f7 db 55 00 cc cc cc cc cc cc cc 48 8b 04 24 65 48 8b 0c 25 40 98 03 00 <65> 8b 15 14 d0 75 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 RSP: 0018:ffffc90014dbf818 EFLAGS: 00000202 RAX: ffffffff818277a2 RBX: 1ffff11017328139 RCX: ffff888028981d40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90014dbf9c0 R08: ffffffff8182776c R09: fffffbfff212de31 R10: fffffbfff212de31 R11: 1ffffffff212de30 R12: 0000000000000001 R13: 0000000000000001 R14: ffff8880b99409c8 R15: ffff8880b983b280 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f75c9b85058 CR3: 000000000d28e000 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+0xeb2/0x1420 kernel/smp.c:987 on_each_cpu_cond_mask+0x3b/0x80 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+0x2b4/0x850 arch/x86/kernel/alternative.c:1963 text_poke_flush arch/x86/kernel/alternative.c:2131 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:2138 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:205 static_key_enable+0x16/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb1/0x250 mm/kfence/core.c:799 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308