rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=5a8c/1/0x4000000000000000 softirq=44287/44289 fqs=2 rcu: (detected by 1, t=10506 jiffies, g=42641, q=299 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 11564 Comm: syz.2.1468 Not tainted 6.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:cpu_max_bits_warn include/linux/cpumask.h:135 [inline] RIP: 0010:cpumask_check include/linux/cpumask.h:142 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:570 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:1117 [inline] RIP: 0010:trace_hrtimer_cancel include/trace/events/timer.h:317 [inline] RIP: 0010:debug_deactivate+0x2c/0x220 kernel/time/hrtimer.c:485 Code: 56 53 48 89 fb e8 84 74 12 00 48 89 df 48 c7 c6 c0 ec 0c 8c e8 d5 24 39 03 0f 1f 44 00 00 e8 6b 74 12 00 65 8b 1d 40 62 81 7e 07 00 00 00 89 de e8 98 78 12 00 83 fb 07 77 79 e8 4e 74 12 00 RSP: 0018:ffffc90000007d40 EFLAGS: 00000006 RAX: ffffffff81827545 RBX: 0000000000000000 RCX: ffff888049558000 RDX: 0000000000010000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffffc90000007ea8 R08: ffffffff9a5b755b R09: 1ffffffff34b6eab R10: dffffc0000000000 R11: fffffbfff34b6eac R12: 1ffff110170c595b R13: dffffc0000000000 R14: ffff88807ca75340 R15: ffff8880b862ca80 FS: 00007fa954a536c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ff1fffc CR3: 00000000206e8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1659 [inline] __hrtimer_run_queues+0x305/0xd50 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline] RIP: 0010:__local_bh_enable_ip+0x170/0x200 kernel/softirq.c:389 Code: 8c e8 74 d9 67 0a 65 66 8b 05 44 4a ac 7e 66 85 c0 75 5d bf 01 00 00 00 e8 2d b2 0b 00 e8 c8 24 45 00 fb 65 8b 05 08 4a ac 7e <85> c0 75 05 e8 07 29 a9 ff 48 c7 44 24 20 0e 36 e0 45 49 c7 04 1c RSP: 0018:ffffc9000c257440 EFLAGS: 00000286 RAX: 0000000080000000 RBX: 1ffff9200184ae8c RCX: ffffffff9a3a2903 RDX: dffffc0000000000 RSI: ffffffff8c0acaa0 RDI: ffffffff8c603860 RBP: ffffc9000c2574f8 R08: ffffffff901be1af R09: 1ffffffff2037c35 R10: dffffc0000000000 R11: fffffbfff2037c36 R12: dffffc0000000000 R13: 1ffff9200184ae90 R14: ffffc9000c257480 R15: 0000000000000201 spin_unlock_bh include/linux/spinlock.h:396 [inline] htable_selective_cleanup+0x25f/0x310 net/netfilter/xt_hashlimit.c:374 htable_put+0x1f1/0x250 net/netfilter/xt_hashlimit.c:430 cleanup_match net/ipv6/netfilter/ip6_tables.c:477 [inline] cleanup_entry+0x20f/0x4c0 net/ipv6/netfilter/ip6_tables.c:661 translate_table+0x213c/0x2330 net/ipv6/netfilter/ip6_tables.c:744 do_replace net/ipv6/netfilter/ip6_tables.c:1154 [inline] do_ip6t_set_ctl+0xe4c/0x1270 net/ipv6/netfilter/ip6_tables.c:1644 nf_setsockopt+0x295/0x2c0 net/netfilter/nf_sockopt.c:101 rawv6_setsockopt+0x327/0x740 net/ipv6/raw.c:1054 do_sock_setsockopt+0x3af/0x720 net/socket.c:2334 __sys_setsockopt+0x1a2/0x250 net/socket.c:2357 __do_sys_setsockopt net/socket.c:2366 [inline] __se_sys_setsockopt net/socket.c:2363 [inline] __x64_sys_setsockopt+0xb5/0xd0 net/socket.c:2363 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa953b7e759 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:00007fa954a53038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fa953d35f80 RCX: 00007fa953b7e759 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 00007fa953bf175e R08: 0000000000000588 R09: 0000000000000000 R10: 00000000200014c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa953d35f80 R15: 00007ffe5c4571d8 rcu: rcu_preempt kthread starved for 10491 jiffies! g42641 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:25984 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x17fa/0x4bd0 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6785 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 11630 Comm: syz.6.1488 Not tainted 6.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f3/0x2ca0 kernel/smp.c:884 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 86 f3 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 31 ef 0b 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 15 ef RSP: 0018:ffffc9000bdff3e0 EFLAGS: 00000246 RAX: ffffffff8188fa9b RBX: 1ffff110170c8ca5 RCX: 0000000000040000 RDX: ffffc9000baf2000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000bdff5e0 R08: ffffffff8188fa6a R09: 1ffffffff2853700 R10: dffffc0000000000 R11: fffffbfff2853701 R12: dffffc0000000000 R13: ffff8880b8646528 R14: ffff8880b873fc40 R15: 0000000000000000 FS: 00007f065dff16c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555574751808 CR3: 00000000643e6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_bp+0xb0/0x100 arch/x86/kernel/alternative.c:2522 __static_call_transform+0x51a/0x810 arch/x86/kernel/static_call.c:111 arch_static_call_transform+0x141/0x380 arch/x86/kernel/static_call.c:163 __static_call_update+0xd8/0x5e0 kernel/static_call_inline.c:147 tracepoint_update_call kernel/tracepoint.c:317 [inline] tracepoint_add_func+0x918/0x9e0 kernel/tracepoint.c:358 tracepoint_probe_register_prio_may_exist+0x122/0x190 kernel/tracepoint.c:482 bpf_raw_tp_link_attach+0x48b/0x6e0 kernel/bpf/syscall.c:3849 bpf_raw_tracepoint_open+0x177/0x1f0 kernel/bpf/syscall.c:3880 __sys_bpf+0x3c0/0x810 kernel/bpf/syscall.c:5695 __do_sys_bpf kernel/bpf/syscall.c:5760 [inline] __se_sys_bpf kernel/bpf/syscall.c:5758 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5758 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f065d17e759 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:00007f065dff1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f065d335f80 RCX: 00007f065d17e759 RDX: 0000000000000010 RSI: 0000000020000000 RDI: 0000000000000011 RBP: 00007f065d1f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f065d335f80 R15: 00007ffd9ab35f58