Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mt7915_mtwifi branch : system crashed when using WPS #6

Open
Jiacheng1 opened this issue Aug 11, 2022 · 0 comments
Open

mt7915_mtwifi branch : system crashed when using WPS #6

Jiacheng1 opened this issue Aug 11, 2022 · 0 comments

Comments

@Jiacheng1
Copy link

I want to debug the WPS function with mt7915 driver, the command are as follows:

iwpriv ra0 set WscConfMode=7
iwpriv ra0 set WscMode=2
iwpriv ra0 set WscGetConf=1

The above command is from the official firmware of JCG Q20, which is supported by openwrt.

But the system crashed when i start WPS connection on my smartphone.

[  125.784286] detected buffer overflow in memcmp
[  125.788757] Kernel bug detected[#1]:
[  125.792323] CPU: 0 PID: 1862 Comm: RtmpWscTask Not tainted 5.10.115 #0
[  125.798817] $ 0   : 00000000 00000001 00000022 003a8000
[  125.804041] $ 4   : 812b2378 812b2378 812b78f8 84be9b80
[  125.809257] $ 8   : ffffefff 00000000 ffffffea 00000000
[  125.814473] $12   : 84be9b8c 00000146 80a8a838 ffffffff
[  125.819690] $16   : 000001ab 8481d000 80a80000 8481d000
[  125.824906] $20   : 00000054 5f435357 00000000 2d414657
[  125.830122] $24   : 00000018 803f9608                  
[  125.835338] $28   : 84be8000 84be9d38 00000000 803876f0
[  125.840555] Hi    : 00000125
[  125.843419] Lo    : 122f2000
[  125.846299] epc   : 803876f0 fortify_panic+0x18/0x1c
[  125.851237] ra    : 803876f0 fortify_panic+0x18/0x1c
[  125.856174] Status: 11008403	KERNEL EXL IE 
[  125.860350] Cause : 50800024 (ExcCode 09)
[  125.864338] PrId  : 0001992f (MIPS 1004Kc)
[  125.868411] Modules linked in: mtkhnat pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet iptable_nat xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_counter nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mt7915e mt76_connac_lib mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nfnetlink nf_reject_ipv4 nf_log_ipv6 nf_log_ipv4 nf_log_common nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_mangle iptable_filter ip_tables hwmon crc_ccitt compat ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 sha256_generic libsha256 seqiv jitterentropy_rng drbg hmac cmac leds_gpio gpio_button_hotplug crc32c_generic
[  125.954103] Process RtmpWscTask (pid: 1862, threadinfo=8c658857, task=14b2eb84, tls=00000000)
[  125.962585] Stack : 84be9dbc 80a04a70 000001ab 726e452d 00000001 80608cd8 00000000 00000009
[  125.970928]         00000000 00001eed 80a8240c 6c6c6568 8143006f 5f504145 4c494146 47e8a000
[  125.979270]         5f435357 52415453 00000054 5f435357 47415246 4b43415f 00000000 2d414657
[  125.987615]         706d6953 6f43656c 6769666e 726e452d 656c6c6f 812b0065 2d414657 706d6953
[  125.995960]         6f43656c 6769666e 6765522d 72747369 81007261 cdee0734 00000009 8481d000
[  126.004305]         ...
[  126.006744] Call Trace:
[  126.009180] [<803876f0>] fortify_panic+0x18/0x1c
[  126.013796] [<80608cd8>] WscMsgTypeSubst+0x0/0x38
[  126.018475] 
[  126.019954] Code: afbf0014  0c01fee5  24849330 <000c000d> 27bdffe0  afb10014  00808825  00a02025  afb20018 
[  126.029690] 
[  126.033186] ---[ end trace 8b85c1b34989f977 ]---
[  126.050570] Kernel panic - not syncing: Fatal exception
[  126.076961] Rebooting in 3 seconds..

Did I miss some componet? Or this driver not support WPS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant