rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=58e4/1/0x4000000000000000 softirq=14450/14458 fqs=9 (detected by 0, t=10502 jiffies, g=16701, q=531 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: kworker/1:1 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_power_efficient gc_worker RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:__lock_acquire+0x11af/0x1f80 kernel/locking/lockdep.c:5046 Code: 67 93 77 00 48 bf 00 00 00 00 00 fc ff df 48 83 3b 00 0f 84 a3 04 00 00 41 0f b6 04 3f 84 c0 0f 85 09 0a 00 00 48 8b 44 24 08 <8b> 18 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 20 c2 49 RSP: 0018:ffffc900001e0a80 EFLAGS: 00000046 RAX: ffff8880126e46d0 RBX: ffffffff901c7020 RCX: ffffffff816a7757 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: b4f6a874e194f063 R08: dffffc0000000000 R09: fffffbfff2093856 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880126e4658 R13: ffff8880126e3b80 R14: 0000000000000001 R15: 1ffff110024dc8da FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd152bb59a8 CR3: 000000001e538000 CR4: 00000000003506e0 DR0: 000000000000004e DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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:1690 [inline] __hrtimer_run_queues+0x6d3/0xe50 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 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:trace_lock_acquire include/trace/events/lock.h:24 [inline] RIP: 0010:lock_acquire+0xf3/0x5a0 kernel/locking/lockdep.c:5633 Code: 0d 0f 86 e4 02 00 00 89 db 48 89 d8 48 c1 e8 06 48 8d 3c c5 68 89 73 8e be 08 00 00 00 e8 75 ac 77 00 48 0f a3 1d 75 27 09 0d <73> 0d e8 46 e3 08 00 84 c0 0f 84 b9 02 00 00 48 c7 c0 24 be 73 8e RSP: 0018:ffffc90000a1f9a0 EFLAGS: 00000257 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff816a61eb RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e738968 RBP: ffffc90000a1fae8 R08: dffffc0000000000 R09: fffffbfff1ce712e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000143f3c R13: dffffc0000000000 R14: 0000000000000000 R15: 000000000001cfb9 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] gc_worker+0x29b/0x1530 net/netfilter/nf_conntrack_core.c:1501 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:308 rcu: rcu_preempt kthread starved for 10484 jiffies! g16701 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:27032 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:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 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: 5349 Comm: syz-executor.3 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x32/0x60 kernel/kcov.c:207 Code: e4 e1 77 7e 65 8b 15 e5 e1 77 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 <83> fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc RSP: 0018:ffffc90003e1f778 EFLAGS: 00000246 RAX: ffffffff817f4dfb RBX: 1ffff110173281b1 RCX: ffff8880163fbb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003e1fb60 R08: ffffffff817f4dc4 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b9940d88 FS: 0000555556088480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd149452000 CR3: 000000004fbc0000 CR4: 00000000003506f0 DR0: 000000000000004e DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:424 [inline] smp_call_function_many_cond+0x1fcb/0x3460 kernel/smp.c:998 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 text_poke_bp_batch+0x860/0x940 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1732 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 __static_key_slow_dec_cpuslocked+0x107/0x160 kernel/jump_label.c:248 __static_key_slow_dec kernel/jump_label.c:255 [inline] static_key_slow_dec+0x4d/0x90 kernel/jump_label.c:270 bpf_stats_release+0x1f/0x30 kernel/bpf/syscall.c:4817 __fput+0x3b7/0x890 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f15db27bdda Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffe2d24ac80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f15db27bdda RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f15db3b59a0 R08: 00000000813f22e0 R09: 0000000000000010 R10: 000000000000006e R11: 0000000000000293 R12: 000000000001f83e R13: 00007f15db3b3fac R14: 0000000000000032 R15: 00007f15db3b59a0