# Flint 2 4.9.1-op25 beta3: hard lockup (RCU stall) in the port\_forward kernel module

**URL:** <https://forum.gl-inet.com/t/flint-2-4-9-1-op25-beta3-hard-lockup-rcu-stall-in-the-port-forward-kernel-module/72544>\
**Category:** Router\
**Created:** [November 3, 2026, 1:44am UTC](https://forum.gl-inet.com/t/flint-2-4-9-1-op25-beta3-hard-lockup-rcu-stall-in-the-port-forward-kernel-module/72544 "2026-11-03T01:44:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![arpena](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/a/6bbea6/32.png) [@arpena](https://forum.gl-inet.com/u/arpena)\
**Post date:** [November 3, 2026, 1:44am UTC](https://forum.gl-inet.com/t/flint-2-4-9-1-op25-beta3-hard-lockup-rcu-stall-in-the-port-forward-kernel-module/72544/1 "2026-11-03T01:44:47Z")

</div>

Flint 2 (GL-MT6000) on 4.9.1-op25 beta3 (OpenWrt 25.12.5, kernel 6.12.94) locked up on Nov 2: no LAN or WAN traffic for about 10 minutes until a power cycle. I caught the log with remote syslog.

The kernel reported an RCU stall three times, 3 minutes apart (t=6001, 24006 and 42011 jiffies), always on the same two CPUs:

- CPU 2: `port_forward.lua` (PID 23496) is inside a write to `/proc/port_forward`, gets interrupted, and the softirq spins in `queued_read_lock_slowpath` from a netfilter hook.
- CPU 1: idle; a softirq spins on the same read lock from the same hook.

The hook frames aren't symbolized (out-of-tree module), but they look like the `port_forward` module. My guess: the procfs write handler takes the write lock without disabling bottom halves, and the netfilter hook takes the read lock in softirq, so CPU 2 deadlocks on itself.

CPU 2, first stall:

```auto
rcu: INFO: rcu_sched self-detected stall on CPU
CPU: 2 UID: 0 PID: 23496 Comm: port_forward.lu Tainted: G O 6.12.94 #0
Hardware name: GL.iNet GL-MT6000 (DT)
pc : queued_read_lock_slowpath+0xf4/0x1a0
Call trace:
 queued_read_lock_slowpath+0xf4/0x1a0
 0xffffffc0793eb96c
 nf_hook_slow+0x4c/0x128
 ip_rcv+0x84/0xc0
 __netif_receive_skb_one_core+0x4c/0x60
 __netif_receive_skb+0x1c/0x68
 netif_receive_skb+0x2c/0x120
 br_pass_frame_up+0xfc/0x1c0
 br_handle_frame_finish+0x524/0x5d8
 br_handle_frame+0x14c/0x488
 __netif_receive_skb_core.constprop.0+0x240/0xed0
 __netif_receive_skb_list_core+0x110/0x290
 netif_receive_skb_list_internal+0x1c0/0x300
 napi_complete_done+0x98/0x220
 gro_cell_poll+0x88/0xc0
 __napi_poll+0x3c/0x1d0
 net_rx_action+0x368/0x3e0
 handle_softirqs+0x124/0x300
 __do_softirq+0x18/0x20
 ____ do_softirq+0x14/0x28
 call_on_irq_stack+0x30/0x70
 do_softirq_own_stack+0x20/0x38
 irq_exit_rcu+0x88/0xc0
 el1_interrupt+0x34/0x50
 el1h_64_irq_handler+0x14/0x20
 el1h_64_irq+0x68/0x70
 0xffffffc0793eb070
 0xffffffc0793ebf70
 proc_reg_write+0xb0/0x100
 vfs_writev+0x1b4/0x330
 do_writev+0x6c/0x100
 __arm64_sys_writev+0x24/0x40
 invoke_syscall.constprop.0+0x50/0xc0
 do_el0_svc+0x44/0xc0
 el0_svc+0x18/0x58
 el0t_64_sync_handler+0xc0/0xe0
 el0t_64_sync+0x150/0x158

```

CPU 1 shows the same top half (`queued_read_lock_slowpath` → `0xffffffc0793eb96c` → `nf_hook_slow` → `ip_rcv` → bridge → `process_backlog` → softirq) on top of `default_idle_call`.

Setup: 4 port forwards created in the GL UI (UDP 5060, UDP 10000-10099, UDP 10100-10199, TCP 853). IPv6 on (DHCPv6). HW and SW flow offload off. DPI (netifyd) running, AdGuard Home off.

Nobody was using the admin panel at the time. I don't know what triggered the `port_forward.lua` run; it's called from `/etc/hotplug.d/iface/99-port-forward.sh` on every ifup/ifupdate. I've added logging of iface hotplug events and set `kernel.panic_on_rcu_stall=1`, so if it happens again it should reboot and leave the trace in pstore.

The 4.11.0-op25-beta1 release notes don't mention port forwarding, so I haven't upgraded yet. Is this fixed there? Full log available if useful.

---

<div class="post-metadata">

**Author:** ![Chimpans](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/c/c5a1d2/32.png) [@Chimpans](https://forum.gl-inet.com/u/Chimpans)\
**Post date:** [November 3, 2026, 5:52am UTC](https://forum.gl-inet.com/t/flint-2-4-9-1-op25-beta3-hard-lockup-rcu-stall-in-the-port-forward-kernel-module/72544/3 "2026-11-03T05:52:09Z")

</div>

4.11.0-op25-beta1 updates both OpenWrt (to the latest official release 25.12.6) and the newest kernel (6.2.112; the only newer is 6.2.113 from Oct 15th but it's not used by an official OpenWrt release yet). Yes you should update. GL-iNet does not repeat the contents of OpenWrt changelogs. They mostly bother talking about their own UI features.

You should also be aware of this though, which affects all GL-iNet routers (the only mitigation will be if GL-iNet quickly updates to the next OpenWrt release which is due soon):

> [@CVE-2026-98432 (Linux TCP use-after-free, CVSS 9.8): status for Flint 2 stock and OP25?](https://forum.gl-inet.com/t/cve-2026-98432-linux-tcp-use-after-free-cvss-9-8-status-for-flint-2-stock-and-op25/72546):
>
> Hi, CVE-2026-98432 is a remote use-after-free in the IPv4 TCP handshake code, affecting kernels from 4.4 on. Upstream fixed it in 6.12.113, 6.6.159, 6.1.190, 5.15.223 and 5.10.272, with no fix for 5.4, which is end of life. Flint 2 stock 4.11.0 runs kernel 5.4.238. Has GL.iNet backported the fix (net/ipv4: "free inet\_opt and ireq\_opt after an RCU grace period", upstream e3f33b0a1d89)? If not, is a fixed release planned? Which kernel does 4.11.0-op25-beta1 ship? OpenWrt 25.12.6 is on 6.12.112, …

---

<div class="post-metadata">

**Author:** ![Chimpans](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/c/c5a1d2/32.png) [@Chimpans](https://forum.gl-inet.com/u/Chimpans)\
**Post date:** [November 4, 2026, 6:01am UTC](https://forum.gl-inet.com/t/flint-2-4-9-1-op25-beta3-hard-lockup-rcu-stall-in-the-port-forward-kernel-module/72544/4 "2026-11-04T06:01:44Z")

</div>

I have been on the newest firmware for 24 hours now. So far, everything is great:

> [@OP25 Firmware for Flint 2 & Beryl AX is out](https://forum.gl-inet.com/t/op25-firmware-for-flint-2-beryl-ax-is-out/69771/249):
>
> Alright, the update is fully installed and configured! Model: GL-MT6000 Flint 2. My old firmware before the upgrade was "Stable" v4.11.0 (released 2026-09-28). I am now on "OpenWrt 25" v4.11.0-op25 (released 2026-11-02). Did a clean install without keeping configs, and just got done setting everything up in detail. There were no UI issues with the GL-iNet frontend or with LuCI. The system logs don't show any serious-looking errors (just general small stuff which looks like it's probably normal)…

---

<div class="post-metadata">

**Author:** ![will.qiu](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/w/b38774/32.png) [@will.qiu](https://forum.gl-inet.com/u/will.qiu)\
**Post date:** [November 4, 2026, 6:18am UTC](https://forum.gl-inet.com/t/flint-2-4-9-1-op25-beta3-hard-lockup-rcu-stall-in-the-port-forward-kernel-module/72544/6 "2026-11-04T06:18:35Z")

</div>

Hi,

Thank you for the detailed report. We’ve reproduced the issue in our internal testing and will ask our development team to investigate

---

<div class="post-metadata">

**Author:** ![Chimpans](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/c/c5a1d2/32.png) [@Chimpans](https://forum.gl-inet.com/u/Chimpans)\
**Post date:** [November 5, 2026, 5:53am UTC](https://forum.gl-inet.com/t/flint-2-4-9-1-op25-beta3-hard-lockup-rcu-stall-in-the-port-forward-kernel-module/72544/7 "2026-11-05T05:53:47Z")

</div>

Oh that's great news! Did you reproduce it in the new v4.11.0-op25?

I am using that version (on Flint 2), and so far there's been no problem. I have enabled port forwarding in the router.

My kernel/system logs are clean, no crashes and nothing about portforward or rcu.

And I run a tool that checks my computer's internet connection every 4 seconds - there has not been any freeze/stall at all, and no WiFi drops.

So it's not happening for me... at least not in the first 48 hours after updating. 🙂

---

<div class="post-metadata">

**Author:** ![will.qiu](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/w/b38774/32.png) [@will.qiu](https://forum.gl-inet.com/u/will.qiu)\
**Post date:** [November 9, 2026, 10:00am UTC](https://forum.gl-inet.com/t/flint-2-4-9-1-op25-beta3-hard-lockup-rcu-stall-in-the-port-forward-kernel-module/72544/8 "2026-11-09T10:00:54Z")

</div>

Yes, this issue can still occur in the new firmware. However, it requires a specific timing overlap between a port forwarding rule update and incoming traffic:

- The rules are refreshed, for example when an interface reconnects or when port forwarding rules are edited in the Admin Panel.

- At the same time, incoming traffic is accessing a forwarded port.

In our internal stress testing, even with 500 packets per second and 25 rule updates per second, it took more than 3,500 reloads to trigger one occurrence. This suggests the issue should be uncommon during normal use, though it remains possible.
