rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (3 ticks this GP) idle=2694/1/0x4000000000000000 softirq=85713/85718 fqs=0 (detected by 1, t=10506 jiffies, g=129621, q=29 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15025 Comm: kworker/u4:25 Not tainted 6.1.0-rc4-syzkaller-00015-gf141df371335 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: netns cleanup_net RIP: 0010:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:202 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:543 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] RIP: 0010:do_raw_spin_lock+0x124/0x2a0 kernel/locking/spinlock_debug.c:115 Code: 00 00 48 89 ef be 04 00 00 00 c7 44 24 28 00 00 00 00 e8 df 1b 68 00 be 04 00 00 00 48 8d 7c 24 28 e8 d0 1b 68 00 8b 44 24 28 01 00 00 00 89 44 24 04 f0 0f b1 55 00 0f 85 91 00 00 00 65 44 RSP: 0018:ffffc90000007d90 EFLAGS: 00000097 RAX: 0000000000000000 RBX: 1ffff92000000fb3 RCX: ffffffff815f5120 RDX: fffff52000000fb7 RSI: 0000000000000004 RDI: ffffc90000007db8 RBP: ffff8880b9a2a540 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000000fb7 R11: 0000000000000000 R12: ffff8880b9a2a548 R13: ffff8880b9a2a550 R14: ffff8880b9a2a540 R15: ffff888078608340 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7a89b82058 CR3: 000000005a29e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x266/0xfb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x17c/0x640 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_is_held_type+0xff/0x140 kernel/locking/lockdep.c:5716 Code: 00 00 b8 ff ff ff ff 65 0f c1 05 bc e2 73 76 83 f8 01 75 29 9c 58 f6 c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 45 31 ed eb b9 0f 0b 48 RSP: 0018:ffffc9000417fa10 EFLAGS: 00000292 RAX: 0000000000000046 RBX: 0000000000000004 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8bf85c00 R08: 0000000000000000 R09: ffffffff8de17ad7 R10: fffffbfff1bc2f5a R11: 1ffffffff17f2059 R12: ffff88806f232040 R13: 0000000000000000 R14: 00000000ffffffff R15: ffff88806f232b08 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x5cb/0x810 kernel/locking/lockdep.c:5679 rcu_lock_release include/linux/rcupdate.h:309 [inline] rcu_read_unlock include/linux/rcupdate.h:771 [inline] inet_twsk_purge+0x55e/0x8a0 net/ipv4/inet_timewait_sock.c:312 ops_exit_list+0x125/0x170 net/core/net_namespace.c:174 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:601 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: rcu_preempt kthread starved for 10506 jiffies! g129621 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:28792 pid:15 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6503 schedule+0xda/0x1b0 kernel/sched/core.c:6579 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1660 rcu_gp_kthread+0x236/0x360 kernel/rcu/tree.c:1859 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 23889 Comm: syz-executor.5 Not tainted 6.1.0-rc4-syzkaller-00015-gf141df371335 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:write_comp_data+0x3c/0x90 kernel/kcov.c:236 Code: 01 00 00 49 89 f8 65 48 8b 14 25 80 6f 02 00 a9 00 01 ff 00 74 0e 85 f6 74 59 8b 82 8c 15 00 00 85 c0 74 4f 8b 82 68 15 00 00 <83> f8 03 75 44 48 8b 82 70 15 00 00 8b 92 6c 15 00 00 48 8b 38 48 RSP: 0018:ffffc9000386f978 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffffe8ffffc0b660 RCX: ffffffff8170e913 RDX: ffff888023802140 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000003 R13: fffff91ffff816cd R14: 0000000000000001 R15: dffffc0000000000 FS: 00007f9ac9006700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001740 CR3: 000000007da58000 CR4: 00000000003506e0 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 clock_was_set+0x611/0x860 kernel/time/hrtimer.c:974 timekeeping_inject_offset+0x4b4/0x620 kernel/time/timekeeping.c:1395 do_adjtimex+0x32f/0xa40 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1118 [inline] __do_sys_clock_adjtime+0x163/0x270 kernel/time/posix-timers.c:1130 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9ac828b639 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9ac9006168 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f9ac83ac050 RCX: 00007f9ac828b639 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f9ac82e67e1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd3594bd7f R14: 00007f9ac9006300 R15: 0000000000022000