rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-....: (54 ticks this GP) idle=fd3/1/0x4000000000000002 softirq=17045/17048 fqs=174 (detected by 0, t=10502 jiffies, g=20797, q=460) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7332 Comm: syz.1.1047 Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__lock_acquire+0x11ce/0x1ff0 kernel/locking/lockdep.c:5008 Code: 84 c4 01 00 00 31 db 48 83 c3 40 48 89 d8 48 c1 e8 03 80 3c 38 00 74 12 48 89 df e8 1c 88 67 00 48 bf 00 00 00 00 00 fc ff df <48> 83 3b 00 0f 84 ac 04 00 00 48 8b 44 24 38 0f b6 04 38 84 c0 0f RSP: 0018:ffffc90000dd0540 EFLAGS: 00000046 RAX: 1ffffffff20625f8 RBX: ffffffff90312fc0 RCX: ffffffff8162e2df RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: 317fc64f4fe2bad8 R08: dffffc0000000000 R09: fffffbfff2131421 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000007 R13: ffff88802bdac668 R14: ffff88802bdabb80 R15: ffff88802bdac7a8 FS: 00007f122fff86c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31b20000 CR3: 000000005e8b9000 CR4: 00000000003506e0 DR0: 0000000020000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] BPF_PROG_RUN_ARRAY include/linux/bpf.h:1333 [inline] trace_call_bpf+0x146/0x660 kernel/trace/bpf_trace.c:127 perf_trace_run_bpf_submit+0x7b/0x1d0 kernel/events/core.c:9991 perf_trace_preemptirq_template+0x31d/0x430 include/trace/events/preemptirq.h:14 trace_irq_enable_rcuidle+0x10e/0x190 include/trace/events/preemptirq.h:40 trace_hardirqs_on+0x57/0x80 kernel/trace/trace_preemptirq.c:44 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:713 RIP: 0010:rcu_read_unlock_special+0x84/0x520 kernel/rcu/tree_plugin.h:671 Code: f1 f1 f1 00 f2 f2 f2 49 89 04 17 66 41 c7 44 17 09 f3 f3 41 c6 44 17 0b f3 65 44 8b 25 6d 82 96 7e 41 f7 c4 00 00 f0 00 74 45 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 3a 00 00 00 00 66 42 c7 44 3a RSP: 0018:ffffc90000dd0b00 EFLAGS: 00000206 RAX: a99266e06fb7ee00 RBX: 1ffff920001ba168 RCX: ffffffff81633db8 RDX: dffffc0000000000 RSI: ffffffff8aab2b80 RDI: ffffffff8af9f340 RBP: ffffc90000dd0bd8 R08: dffffc0000000000 R09: fffffbfff2131421 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8cb23d00 R13: ffff88802bdabfd8 R14: ffffc90000dd0b40 R15: 1ffff920001ba164 __rcu_read_unlock+0x92/0x100 kernel/rcu/tree_plugin.h:422 rcu_read_unlock include/linux/rcupdate.h:771 [inline] ieee80211_rx_napi+0x1f2/0x380 net/mac80211/rx.c:5006 ieee80211_rx include/net/mac80211.h:4571 [inline] ieee80211_handle_queued_frames+0x103/0x1b0 net/mac80211/main.c:237 tasklet_action_common+0x3cb/0x4a0 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:preempt_schedule_irq+0xf2/0x1c0 kernel/sched/core.c:6777 Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 97 00 00 00 bf 01 00 00 00 e8 f9 04 10 f7 e8 04 7d 3f f7 fb bf 01 00 00 00 a9 b3 ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 39 e7 82 f7 48 RSP: 0018:ffffc9000322f140 EFLAGS: 00000286 RAX: a99266e06fb7ee00 RBX: 1ffff92000645e30 RCX: ffffffff81633db8 RDX: dffffc0000000000 RSI: ffffffff8aab2b80 RDI: 0000000000000001 RBP: ffffc9000322f200 R08: dffffc0000000000 R09: fffffbfff2131421 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000645e28 R13: 1ffff92000645e2c R14: ffffc9000322f160 R15: dffffc0000000000 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:insn_get_prefixes+0x20/0x18a0 arch/x86/lib/insn.c:131 Code: bf 66 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 68 49 89 ff 48 bd 00 00 00 00 00 fc ff df e8 20 77 44 fd <4d> 8d 67 04 4c 89 e3 48 c1 eb 03 0f b6 04 2b 84 c0 0f 85 97 10 00 RSP: 0018:ffffc9000322f2c0 EFLAGS: 00000287 RAX: ffffffff843c0dc0 RBX: 1ffff92000645ec3 RCX: 0000000000080000 RDX: ffffc9000d591000 RSI: 000000000000e387 RDI: 000000000000e388 RBP: dffffc0000000000 R08: ffffffff843c26c8 R09: ffffc9000322f600 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000322f600 R13: dffffc0000000000 R14: ffffc9000322f61c R15: ffffc9000322f600 insn_get_opcode+0x1ae/0xa50 arch/x86/lib/insn.c:272 insn_get_modrm+0x22a/0x790 arch/x86/lib/insn.c:343 insn_get_sib arch/x86/lib/insn.c:421 [inline] insn_get_displacement+0x13a/0x970 arch/x86/lib/insn.c:464 insn_get_immediate+0x458/0x1390 arch/x86/lib/insn.c:632 insn_get_length arch/x86/lib/insn.c:707 [inline] insn_decode+0x36c/0x500 arch/x86/lib/insn.c:747 text_poke_loc_init+0xd2/0x680 arch/x86/kernel/alternative.c:1511 text_poke_bp+0xbb/0x140 arch/x86/kernel/alternative.c:1643 __static_call_transform+0x333/0x560 arch/x86/kernel/static_call.c:111 arch_static_call_transform+0xb7/0x250 arch/x86/kernel/static_call.c:157 __static_call_update+0xd4/0x5d0 kernel/static_call_inline.c:136 tracepoint_update_call kernel/tracepoint.c:317 [inline] tracepoint_add_func+0x90c/0x9d0 kernel/tracepoint.c:358 tracepoint_probe_register_prio kernel/tracepoint.c:511 [inline] tracepoint_probe_register+0x101/0x160 kernel/tracepoint.c:531 perf_trace_event_reg kernel/trace/trace_event_perf.c:129 [inline] perf_trace_event_init+0x494/0x940 kernel/trace/trace_event_perf.c:202 perf_trace_init+0x23b/0x2d0 kernel/trace/trace_event_perf.c:226 perf_tp_event_init+0x89/0x110 kernel/events/core.c:10077 perf_try_init_event+0x135/0x3e0 kernel/events/core.c:11553 perf_init_event kernel/events/core.c:11617 [inline] perf_event_alloc+0x1175/0x2180 kernel/events/core.c:11909 __do_sys_perf_event_open kernel/events/core.c:12447 [inline] __se_sys_perf_event_open+0xb27/0x4510 kernel/events/core.c:12339 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f1232187d29 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f122fff8038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f1232377fa0 RCX: 00007f1232187d29 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000500 RBP: 00007f1232203b08 R08: 0000000000000009 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1232377fa0 R15: 00007ffd05bd1978 rcu: rcu_preempt kthread starved for 428 jiffies! g20797 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:26712 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 7105 Comm: syz.4.959 Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487 print_other_cpu_stall+0x137a/0x14d0 kernel/rcu/tree_stall.h:592 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0xa38/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x4d/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:arch_test_and_set_bit arch/x86/include/asm/bitops.h:138 [inline] RIP: 0010:test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:71 [inline] RIP: 0010:queue_work_on+0x1f4/0x250 kernel/workqueue.c:1558 Code: 11 e8 f0 af 2d 00 4d 85 e4 75 16 e8 e6 af 2d 00 eb 15 e8 df af 2d 00 e8 5a 4a ec 08 4d 85 e4 74 ea e8 d0 af 2d 00 fb 45 84 ed <0f> 94 c0 48 c7 44 24 20 0e 36 e0 45 48 b9 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000007420 EFLAGS: 00000202 RAX: ffffffff8152d510 RBX: 0000000000000000 RCX: ffff88802a2abb80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900000074f8 R08: ffffffff8152d4e6 R09: fffffbfff2131442 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000200 R13: 0000000000000001 R14: 0000000000000046 R15: 1ffff92000000e88 __ieee80211_queue_skb_to_iface net/mac80211/rx.c:222 [inline] ieee80211_queue_skb_to_iface net/mac80211/rx.c:232 [inline] ieee80211_rx_h_mgmt+0x42e/0x5d0 net/mac80211/rx.c:3795 ieee80211_rx_handlers+0x7515/0x91c0 net/mac80211/rx.c:3959 ieee80211_invoke_rx_handlers net/mac80211/rx.c:3989 [inline] ieee80211_prepare_and_rx_handle+0x2b76/0x51e0 net/mac80211/rx.c:4699 __ieee80211_rx_handle_packet net/mac80211/rx.c:4859 [inline] ieee80211_rx_list+0x1dac/0x2a60 net/mac80211/rx.c:4982 ieee80211_rx_napi+0x15f/0x380 net/mac80211/rx.c:5005 ieee80211_rx include/net/mac80211.h:4571 [inline] ieee80211_handle_queued_frames+0x103/0x1b0 net/mac80211/main.c:237 tasklet_action_common+0x3cb/0x4a0 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:ct_state include/linux/context_tracking.h:98 [inline] RIP: 0010:schedule_debug kernel/sched/core.c:5600 [inline] RIP: 0010:__schedule+0x1a69/0x45b0 kernel/sched/core.c:6264 Code: 00 00 00 e8 c9 18 83 f7 e9 f2 f9 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 59 fa ff ff 48 89 df e8 ac 18 83 f7 e9 4c fa ff ff <65> 8b 05 c0 ff bb 75 e9 c7 e7 ff ff e8 a6 de f7 ff 41 89 c7 83 f8 RSP: 0018:ffffc90002e8f240 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90002e88000 RCX: ffff88802a2abb80 RDX: 0000000000000010 RSI: ffffffff8aab3e20 RDI: ffffffff8af9f340 RBP: ffffc90002e8f410 R08: dffffc0000000000 R09: ffffc90002e8f3a0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b8e00000 R13: dffffc0000000000 R14: ffff88802a2abb80 R15: 0000000000000001 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6777 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627 Code: 2b 00 74 08 4c 89 f7 e8 dc 9d 67 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:ffffc90002e8f5a0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920005d1ec0 RCX: 1ffff920005d1e60 RDX: dffffc0000000000 RSI: ffffffff8aab3e20 RDI: ffffffff8af9f340 RBP: ffffc90002e8f700 R08: dffffc0000000000 R09: fffffbfff2131421 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920005d1ebc R13: dffffc0000000000 R14: ffffc90002e8f600 R15: 0000000000000246 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] inet_twsk_purge+0x129/0x9d0 net/ipv4/inet_timewait_sock.c:268 tcp_sk_exit_batch+0x28/0x90 net/ipv4/tcp_ipv4.c:3234 ops_exit_list net/core/net_namespace.c:177 [inline] setup_net+0x81c/0x9e0 net/core/net_namespace.c:355 copy_net_ns+0x392/0x5d0 net/core/net_namespace.c:476 create_new_namespaces+0x425/0x7a0 kernel/nsproxy.c:110 copy_namespaces+0x365/0x3b0 kernel/nsproxy.c:178 copy_process+0x1841/0x3ef0 kernel/fork.c:2208 kernel_clone+0x210/0x960 kernel/fork.c:2603 __do_sys_clone kernel/fork.c:2720 [inline] __se_sys_clone kernel/fork.c:2704 [inline] __x64_sys_clone+0x23f/0x290 kernel/fork.c:2704 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f63fa374d29 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f63f81e4fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f63fa564fa0 RCX: 00007f63fa374d29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000042000000 RBP: 00007f63fa3f0b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f63fa564fa0 R15: 00007ffea579e3d8