rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=ac94/1/0x4000000000000000 softirq=56887/56887 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3754/1:b..l (detected by 0, t=10505 jiffies, g=71605, q=55 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 17934 Comm: syz-executor.4 Not tainted 6.1.77-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:check_wait_context kernel/locking/lockdep.c:4748 [inline] RIP: 0010:__lock_acquire+0x7af/0x1f80 kernel/locking/lockdep.c:4999 Code: 00 00 e8 44 90 77 00 48 0f a3 1d 6c b8 de 0e 73 1b 48 8d 04 5b 48 c1 e0 06 48 8d 98 20 71 18 90 48 ba 00 00 00 00 00 fc ff df 26 48 ba 00 00 00 00 00 fc ff df 48 8b 44 24 50 0f b6 04 10 84 RSP: 0018:ffffc900001e09e0 EFLAGS: 00000002 RAX: 0000000000004680 RBX: ffffffff9018b7a0 RCX: ffffffff816a59ac RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff90491228 RBP: ffff88803dcce468 R08: dffffc0000000000 R09: fffffbfff2092246 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff88803dcce468 R14: 0000000000000001 R15: 1ffff11007b99c02 FS: 00007f2128b626c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000440 CR3: 000000013fe68000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x68/0x4e0 lib/debugobjects.c:697 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x30/0x390 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0x728/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 02 4d 4d f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 87 a2 c9 f6 65 8b 05 c8 d3 6d 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc900030df920 EFLAGS: 00000206 RAX: 8a54afbb7ed46c00 RBX: 1ffff9200061bf28 RCX: ffffffff816ab94a RDX: dffffc0000000000 RSI: ffffffff8aebecc0 RDI: 0000000000000001 RBP: ffffc900030df9b0 R08: dffffc0000000000 R09: fffffbfff2092245 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff9200061bf24 R14: ffffc900030df940 R15: 0000000000000246 clock_was_set+0x179/0x900 kernel/time/hrtimer.c:970 timekeeping_inject_offset+0x65f/0x710 kernel/time/timekeeping.c:1395 do_adjtimex+0x511/0xaa0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1149 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1161 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1152 [inline] __x64_sys_clock_adjtime+0x1dc/0x290 kernel/time/posix-timers.c:1152 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2127e7dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2128b620c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f2127fac050 RCX: 00007f2127e7dda9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f2127eca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f2127fac050 R15: 00007ffd059a6818 task:kworker/u4:11 state:R running task stack:21400 pid:3754 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 cf 9a 77 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:ffffc9000473f900 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920008e7f2c RCX: 1ffff920008e7ecc RDX: dffffc0000000000 RSI: ffffffff8aebfe40 RDI: ffffffff8b3d0dc0 RBP: ffffc9000473fa48 R08: dffffc0000000000 R09: fffffbfff2092245 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920008e7f28 R13: dffffc0000000000 R14: ffffc9000473f960 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:318 [inline] rcu_read_lock include/linux/rcupdate.h:759 [inline] inet_twsk_purge+0x164/0xb60 net/ipv4/inet_timewait_sock.c:295 ops_exit_list net/core/net_namespace.c:174 [inline] cleanup_net+0x763/0xb60 net/core/net_namespace.c:601 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: rcu_preempt kthread timer wakeup didn't happen for 10504 jiffies! g71605 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=68914 rcu: rcu_preempt kthread starved for 10505 jiffies! g71605 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:25816 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2d2/0x1120 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 17934 Comm: syz-executor.4 Not tainted 6.1.77-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:kasan_check_range+0x6/0x290 mm/kasan/generic.c:188 Code: e8 3f 2e a9 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 41 57 41 56 53 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 0f 82 5a 02 00 RSP: 0018:ffffc900001e0a10 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 000000000000005e RCX: ffffffff816ab94a RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90491228 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff2092246 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88803dcce418 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88803dcce448 FS: 00007f2128b626c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000440 CR3: 000000013fe68000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] mark_lock+0x9a/0x340 kernel/locking/lockdep.c:4606 mark_usage kernel/locking/lockdep.c:4520 [inline] __lock_acquire+0xb40/0x1f80 kernel/locking/lockdep.c:5003 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x6d3/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 02 4d 4d f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 87 a2 c9 f6 65 8b 05 c8 d3 6d 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc900030df920 EFLAGS: 00000206 RAX: 8a54afbb7ed46c00 RBX: 1ffff9200061bf28 RCX: ffffffff816ab94a RDX: dffffc0000000000 RSI: ffffffff8aebecc0 RDI: 0000000000000001 RBP: ffffc900030df9b0 R08: dffffc0000000000 R09: fffffbfff2092245 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff9200061bf24 R14: ffffc900030df940 R15: 0000000000000246 clock_was_set+0x179/0x900 kernel/time/hrtimer.c:970 timekeeping_inject_offset+0x65f/0x710 kernel/time/timekeeping.c:1395 do_adjtimex+0x511/0xaa0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1149 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1161 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1152 [inline] __x64_sys_clock_adjtime+0x1dc/0x290 kernel/time/posix-timers.c:1152 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2127e7dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2128b620c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f2127fac050 RCX: 00007f2127e7dda9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f2127eca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f2127fac050 R15: 00007ffd059a6818