rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=bae4/1/0x4000000000000002 softirq=74073/74074 fqs=3 rcu: (detected by 0, t=10505 jiffies, g=90881, q=410 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.5.0-rc6-syzkaller-00027-g91aa6c412d7f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline] RIP: 0010:lock_release+0xad/0x680 kernel/locking/lockdep.c:5772 Code: 07 0f 87 09 05 00 00 89 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 90 a1 ab 8e e8 ab 11 73 00 48 0f a3 1d d3 96 44 0d <0f> 82 07 04 00 00 48 c7 c3 b0 d6 ab 8e 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc900001e0d60 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff81670ab5 RDX: fffffbfff1d57433 RSI: 0000000000000008 RDI: ffffffff8eaba190 RBP: 1ffff9200003c1ae R08: 0000000000000000 R09: fffffbfff1d57432 R10: ffffffff8eaba197 R11: 0000000000000000 R12: ffff8880b992b898 R13: 177b8b297a400000 R14: ffff888078257340 R15: ffffffff885a3450 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2eb25000 CR3: 0000000032145000 CR4: 0000000000350ee0 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x1a/0x70 kernel/locking/spinlock.c:194 __run_hrtimer kernel/time/hrtimer.c:1684 [inline] __hrtimer_run_queues+0x58b/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:tick_nohz_idle_enter+0x13b/0x1d0 kernel/time/tick-sched.c:1175 Code: 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 04 02 84 c0 74 02 7e 55 80 0b 01 48 89 df e8 8c e4 ff ff e8 87 7a 13 00 fb 5b <5d> c3 e8 be cf 0c 00 65 8b 1d b3 4d 89 7e 31 ff 89 de e8 1e cb 0c RSP: 0018:ffffc90000177e10 EFLAGS: 00000202 RAX: 00000000012ce45d RBX: 0000000000000001 RCX: 1ffffffff1d56e01 RDX: 0000000000000000 RSI: ffffffff8a6c80a0 RDI: ffffffff8ac811c0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8eaba197 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 do_idle+0x82/0x3f0 kernel/sched/idle.c:256 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:379 start_secondary+0x200/0x290 arch/x86/kernel/smpboot.c:326 secondary_startup_64_no_verify+0x167/0x16b rcu: rcu_preempt kthread starved for 10490 jiffies! g90881 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:27232 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1808 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 20850 Comm: syz-executor.3 Not tainted 6.5.0-rc6-syzkaller-00027-g91aa6c412d7f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data+0xf/0x90 kernel/kcov.c:236 Code: 65 48 8b 04 25 80 b9 03 00 48 8b 80 f8 15 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 65 8b 05 c1 b6 7d 7e 49 89 f1 89 c6 49 89 d2 <81> e6 00 01 00 00 49 89 f8 65 48 8b 14 25 80 b9 03 00 a9 00 01 ff RSP: 0018:ffffc9000379f408 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff8880b9943020 RCX: ffffffff817aa9aa RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1017328605 R13: 0000000000000001 R14: ffff8880b983d580 R15: ffff8880b9943028 FS: 00007f858435d6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5614d78440 CR3: 000000007de82000 CR4: 0000000000350ef0 Call Trace: csd_lock_wait kernel/smp.c:296 [inline] smp_call_function_many_cond+0x4fa/0x1570 kernel/smp.c:835 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1003 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2001 [inline] text_poke_bp_batch+0x250/0x780 arch/x86/kernel/alternative.c:2211 text_poke_flush arch/x86/kernel/alternative.c:2402 [inline] text_poke_flush arch/x86/kernel/alternative.c:2399 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2409 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32e/0x410 kernel/jump_label.c:829 static_key_slow_inc_cpuslocked+0xe1/0x190 kernel/jump_label.c:165 static_key_slow_inc+0x1a/0x30 kernel/jump_label.c:186 tee_tg_check+0x3d7/0x4f0 net/netfilter/xt_TEE.c:128 xt_check_target+0x272/0xa30 net/netfilter/x_tables.c:1038 check_target net/ipv6/netfilter/ip6_tables.c:528 [inline] find_check_entry.constprop.0+0x828/0xa20 net/ipv6/netfilter/ip6_tables.c:571 translate_table+0xd02/0x17b0 net/ipv6/netfilter/ip6_tables.c:733 do_replace net/ipv6/netfilter/ip6_tables.c:1150 [inline] do_ip6t_set_ctl+0x5ab/0xbd0 net/ipv6/netfilter/ip6_tables.c:1636 nf_setsockopt+0x87/0xe0 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x12b/0x190 net/ipv6/ipv6_sockglue.c:1017 tcp_setsockopt+0x9d/0x100 net/ipv4/tcp.c:3697 __sys_setsockopt+0x2ca/0x5b0 net/socket.c:2263 __do_sys_setsockopt net/socket.c:2274 [inline] __se_sys_setsockopt net/socket.c:2271 [inline] __x64_sys_setsockopt+0xbd/0x150 net/socket.c:2271 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f858367cae9 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:00007f858435d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f858379c050 RCX: 00007f858367cae9 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000009 RBP: 00007f85836c847a R08: 0000000000000510 R09: 0000000000000000 R10: 0000000020000500 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f858379c050 R15: 00007ffe8a816138