Device & Firmware Details
- Device: GL.iNet GL-BE3600 (Slate 7, Wi-Fi 7 Portable Router)
- Hardware ID: Qualcomm IPQ5332 / AP-MI04.1-C2 (aarch64)
- Firmware Version: OpenWrt 23.05-SNAPSHOT (
r0-3601c2a49), GL.iNet v4.10.1 - Kernel:
5.4.213 #0 SMP PREEMPT aarch64 - Operating Mode: Repeater (Station / WWAN) mode on
wifi1(5GHz,sta1)
Summary of Bug
When the Slate 7 is operating as a Repeater (STA) connecting to an upstream Access Point that negotiates mixed WPA/WPA2 security with Group cipher: TKIP (standard default on Virgin Media Hubs, BT Smart Hubs, and legacy ISP routers), the router encounters an unrecoverable Kernel Panic and immediate hardware reset every time the upstream AP rotates its Group Transient Key (GTK).
Kernel Panic Log & Register State
Extracted from /var/log/crash_log:
[47775.711619] ESR = 0x96000045
[47775.714290] EC = 0x25: DABT (current EL), IL = 32 bits
[47775.725760] Data abort info:
[47775.728839] ISV = 0, ISS = 0x00000045, CM = 0, WnR = 1
[47775.738651] [0000000000000044] pgd=0000000000000000, pud=0000000000000000
[47775.745135] Internal error: Oops: 96000045 [#1] PREEMPT SMP
[47776.106405] CPU: 0 PID: 7336 Comm: wpa_supplicant Tainted: P C 5.4.213 #0
[47776.127825] Hardware name: GL.iNet BE3600, Inc. IPQ5332/AP-MI04.1-C2 (DT)
[47776.142849] pc : __memcpy+0x88/0x180
[47776.147613] lr : qdf_mem_copy+0x5c/0x80 [qdf]
[47776.174783] x20: 0000000000000044
[47776.222446] x2 : 0000000000000008
[47776.227734] x1 : ffffff802cbbb550 x0 : 0000000000000044
[47776.233031] Call trace:
[47776.238331] __memcpy+0x88/0x180
[47776.241005] dp_set_michael_key+0x144/0x1a0 [wifi_3_0]
[47776.244703] ol_ath_vdev_install_key_send+0x5c4/0x860 [qca_ol]
[47776.249563] ol_ath_is_target_ar900b+0x44c/0x570 [qca_ol]
[47776.256411] wlan_crypto_setkey+0xbc8/0xd50 [umac]
[47776.261888] wlan_set_key+0x158/0x1c0 [umac]
[47776.266559] wlan_cfg80211_add_key_common+0x7a0/0x930 [umac]
[47776.270981] wlan_cfg80211_add_key+0x24/0x34 [umac]
[47776.274976] __cfg80211_send_event_skb+0x1c6c/0x29ac [cfg80211]
[47776.279566] genl_family_rcv_msg+0x32c/0x3c4
[47776.285462] genl_rcv_msg+0x58/0x84
[47776.289976] netlink_rcv_skb+0x90/0x10c
[47776.349683] Kernel panic - not syncing: Fatal exception
[47776.349701] SMP: stopping secondary CPUs
[47776.362122] APSS Panic: Sent shutdown request to Q6
Root Cause Analysis
- The Fault:
x0(destination pointer) passed to__memcpyinsidedp_set_michael_keyis0x0000000000000044(NULL pointer +0x44offset), causing a Level 1 Data Abort (ESR = 0x96000045, WnR=1). - Context: In 802.11be (Wi-Fi 7) vdev structures within Qualcomm's
wifi_3_0.ko, legacy TKIP Michael MIC datapath structures are not allocated or initialized. - The Trigger: When an upstream AP advertises
Group cipher: TKIP(RSN IE: Group cipher: TKIP),wpa_supplicantis forced to accept TKIP for broadcast/multicast. When the AP sends an EAPOL group rekey handshake,wpa_supplicantissuesNL80211_CMD_SET_KEY(WPA_ALG_TKIP), routing down todp_set_michael_key, which dereferences the NULL context without a guard.
Steps to Reproduce
- Configure an upstream router with mixed security:
Pairwise = CCMP+TKIP,Group Cipher = TKIP. - Connect the GL-BE3600 (Slate 7) via Repeater Mode to this SSID.
- The initial connection succeeds (Pairwise CCMP).
- Wait for or force an upstream GTK re-key event (or lower GTK rekey timer to 60s).
- Result: Instant kernel panic in
dp_set_michael_key+0x144and router reboots.
Suggested Fix
In Qualcomm QSDK wifi_3_0.ko inside dp_set_michael_key:
Add a NULL check before copying the Michael MIC key:
if (!vdev || !vdev->michael_key_ctx) {
qdf_print("%s: vdev %d does not support TKIP Michael key. Safely ignoring.\n", __func__, vdev_id);
return 0; // Return gracefully instead of kernel panicking
}
Can the engineering team please review this and include a fix or NULL guard in the upcoming Slate 7 firmware update? Thank you!


