Bug 219505
Summary: | mt7925e: Oops in mt7925_sta_set_decap_offload when running hostapd in AP mode | ||
---|---|---|---|
Product: | Drivers | Reporter: | kernel-bug |
Component: | network-wireless | Assignee: | drivers_network-wireless (drivers_network-wireless) |
Status: | NEW --- | ||
Severity: | normal | CC: | fs3000, torm84 |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 6.11.8, 6.12 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
kernel-bug
2024-11-18 00:00:54 UTC
I have same problem with this driver in my router, OS Nixos 24.11, kernel version 6.12.3. With this kernel version the problem repeats 2 times a day. With kernel 6.10.10 the problem repeats near 1 in week. Here is my HW reboot statistics: Sep 17 16:39:07 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Sep 22 18:26:35 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Oct 07 06:39:14 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Oct 08 07:57:11 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Oct 17 06:35:26 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Oct 27 18:49:47 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Nov 04 21:26:31 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Nov 06 07:45:25 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Nov 11 20:58:13 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Nov 13 09:15:05 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Nov 18 13:24:35 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Nov 24 18:30:16 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Nov 26 13:44:49 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Nov 26 13:58:00 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Dec 02 13:26:39 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Dec 09 04:55:17 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Dec 09 21:35:34 router kernel: Linux version 6.10.10 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 Dec 10 18:54:38 router kernel: Linux version 6.12.3 (nixbld@localhost) (gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.43.1) #1-NixOS SMP PREEMPT_DYNAMIC Fri Dec 6 06:20:46 UTC 2024 Dec 10 21:34:52 router kernel: Linux version 6.12.3 (nixbld@localhost) (gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.43.1) #1-NixOS SMP PREEMPT_DYNAMIC Fri Dec 6 06:20:46 UTC 2024 Dec 11 08:38:45 router kernel: Linux version 6.12.3 (nixbld@localhost) (gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.43.1) #1-NixOS SMP PREEMPT_DYNAMIC Fri Dec 6 06:20:46 UTC 2024 Dec 11 15:33:12 router kernel: Linux version 6.12.3 (nixbld@localhost) (gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.43.1) #1-NixOS SMP PREEMPT_DYNAMIC Fri Dec 6 06:20:46 UTC 2024 Dec 12 05:36:27 router kernel: Linux version 6.12.3 (nixbld@localhost) (gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.43.1) #1-NixOS SMP PREEMPT_DYNAMIC Fri Dec 6 06:20:46 UTC 2024 Dec 12 07:05:18 router kernel: Linux version 6.12.3 (nixbld@localhost) (gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.43.1) #1-NixOS SMP PREEMPT_DYNAMIC Fri Dec 6 06:20:46 UTC 2024 Same issue on 6.14.0-rc1 and rc4. ARM64 machine. [164455.701704] Unable to handle kernel paging request at virtual address ffffffffffffffa0 [164455.709729] Mem abort info: [164455.712599] ESR = 0x0000000096000006 [164455.716435] EC = 0x25: DABT (current EL), IL = 32 bits [164455.721823] SET = 0, FnV = 0 [164455.724962] EA = 0, S1PTW = 0 [164455.728180] FSC = 0x06: level 2 translation fault [164455.733141] Data abort info: [164455.736099] ISV = 0, ISS = 0x00000006, ISS2 = 0x00000000 [164455.741659] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [164455.746790] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [164455.752178] swapper pgtable: 4k pages, 39-bit VAs, pgdp=00000000451b1000 [164455.758958] [ffffffffffffffa0] pgd=00000000458e1403, p4d=00000000458e1403, pud=00000000458e1403, pmd=0000000000000000 [164455.769654] Internal error: Oops: 0000000096000006 [#1] SMP [164455.775306] Modules linked in: wireguard libchacha20poly1305 chacha_neon libchacha poly1305_neon ip6_udp_tunnel udp_tunnel libcurve25519_generic nft_masq nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables mt7925e mt7925_common mt792x_lib mt76_connac_lib mt76 mac80211 libarc4 cfg80211 fuse drm drm_panel_orientation_quirks backlight ip_tables x_tables [164455.817990] CPU: 1 UID: 0 PID: 9674 Comm: hostapd Not tainted 6.14.0-rc1-bpi-r4 #1 [164455.825637] Hardware name: Banana Pi BPI-R4 (DT) [164455.830329] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [164455.837367] pc : mt7925_sta_set_decap_offload+0xb4/0x178 [mt7925_common] [164455.844154] lr : mt7925_sta_set_decap_offload+0x50/0x178 [mt7925_common] [164455.850932] sp : ffffffc08831b540 [164455.854323] x29: ffffffc08831b540 x28: ffffff80c158ecb8 x27: 0000000000000000 [164455.861537] x26: 0000000000000001 x25: 0000000000000001 x24: 0000000000000001 [164455.868749] x23: ffffff80d44aec20 x22: ffffff80d44a27b8 x21: ffffff80c158ea88 [164455.875960] x20: ffffff80c64f1e18 x19: ffffff80d44a2000 x18: 0000000000000000 [164455.883172] x17: 0000000000000000 x16: 0000000000000000 x15: 000000555c186da0 [164455.890384] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 [164455.897596] x11: 0000000000000040 x10: ffffffc081689960 x9 : ffffffc081689958 [164455.904809] x8 : ffffff80c0400028 x7 : 0000000000000000 x6 : 0000000000000000 [164455.912021] x5 : ffffff80c0400000 x4 : ffffff80c04000a8 x3 : 0000000000000000 [164455.919233] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff80c158ecb8 [164455.926446] Call trace: [164455.928969] mt7925_sta_set_decap_offload+0xb4/0x178 [mt7925_common] (P) [164455.935749] ieee80211_check_fast_rx+0x1c8/0x504 [mac80211] [164455.941441] _sta_info_move_state+0xdc/0x4b8 [mac80211] [164455.946776] sta_info_move_state+0x14/0x20 [mac80211] [164455.951935] sta_apply_auth_flags.constprop.0+0x88/0x19c [mac80211] [164455.958310] sta_apply_parameters+0x214/0x3d4 [mac80211] [164455.963731] ieee80211_add_station+0xd4/0x180 [mac80211] [164455.969150] nl80211_new_station+0x45c/0x624 [cfg80211] [164455.974493] genl_family_rcv_msg_doit+0xc8/0x130 [164455.979195] genl_rcv_msg+0x1e4/0x26c [164455.982938] netlink_rcv_skb+0x5c/0x128 [164455.986853] genl_rcv+0x38/0x50 [164455.990073] netlink_unicast+0x2e4/0x33c [164455.994074] netlink_sendmsg+0x17c/0x3b4 [164455.998077] ____sys_sendmsg+0x18c/0x2f8 [164456.002079] ___sys_sendmsg+0x80/0xdc [164456.005820] __sys_sendmsg+0x80/0xec [164456.009473] __arm64_sys_sendmsg+0x24/0x30 [164456.013647] invoke_syscall+0x48/0x110 [164456.017478] el0_svc_common.constprop.0+0x40/0xe0 [164456.022261] do_el0_svc+0x1c/0x28 [164456.025654] el0_svc+0x30/0xd0 [164456.028792] el0t_64_sync_handler+0x10c/0x138 [164456.033227] el0t_64_sync+0x19c/0x1a0 [164456.036970] Code: d280003a f9420381 12001c7b aa1c03e0 (785a0021) [164456.043138] ---[ end trace 0000000000000000 ]--- [164456.049468] pstore: backend (ramoops) writing error (-28) [164456.054945] Kernel panic - not syncing: Oops: Fatal exception [164456.060766] SMP: stopping secondary CPUs [164456.064768] Kernel Offset: disabled [164456.068331] CPU features: 0x000,00001020,00800000,8200420b [164456.073893] Memory Limit: none [164456.078672] Rebooting in 10 seconds.. |