Ax3600 kernel issues wifi

Hi all!

I have an ax3600 qualcommax/ipq807x with this OpenWrt SNAPSHOT r24043-ff95f859eb / LuCI Master git-23.266.27574-7744ad0 build, Kernel Version 6.1.55 and every now and then I randomly lose all wifi interfaces and they appear disabled under this error:


[45660.217512] [  10638]     0 10638      277       10    36864        0             0 scp
[45661.677932] [  27489]     0 27489      691       37    32768        0             0 wpa_supplicant
[45661.686350] [  27490]   101 27490     2361      372    40960        0             0 wpa_supplicant
[45661.695118] [  27537]     0 27537      537      280    32768        0             0 mac80211.sh
[45661.704058] [  27556]     0 27556      329        9    28672        0             0 sleep
[45661.712643] [  27739]     0 27739      525      267    28672        0             0 mac80211.sh
[45661.720985] [  27746]     0 27746      380       89    32768        0             0 ubus
[45661.729491] [  27747]     0 27747      272       89    28672        0             0 modprobe
[45661.737825] [  27758]     0 27758      379      218    32768        0             0 ubus
[45661.746245] [  27765]     0 27765      331      133    28672        0             0 sleep
[45661.754318] [  27772]     0 27772      329      132    32768        0             0 sleep
[45661.762383] [  27775]     0 27775      331      150    32768        0             0 sleep
[45661.770550] [  27776]     0 27776      496       84    36864        0             0 procd
[45661.778708] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=wpa_supplicant,pid=27490,uid=101
[45661.786894] Out of memory: Killed process 27490 (wpa_supplicant) total-vm:9444kB, anon-rss:1244kB, file-rss:244kB, shmem-rss:0kB, UID:101 pgtables:40kB oom_score_adj:0
[45686.170393] modprobe invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
[45686.170462] CPU: 0 PID: 27846 Comm: modprobe Not tainted 6.1.55 #0
[45686.180002] Hardware name: Xiaomi AX3600 (DT)
[45686.186075] Call trace:
[45686.190497]  dump_backtrace.part.0+0xc0/0xd0
[45686.192760]  show_stack+0x18/0x30
[45686.197270]  dump_stack_lvl+0x6c/0x88
[45686.200483]  dump_stack+0x18/0x34
[45686.204128]  dump_header+0x44/0x18c
[45686.207426]  oom_kill_process+0x26c/0x270
[45686.210727]  out_of_memory+0x1c4/0x30c
[45686.214892]  __alloc_pages_slowpath.constprop.0+0x6d8/0xa2c
[45686.218541]  __alloc_pages+0x22c/0x270
[45686.224006]  __folio_alloc+0x14/0x20
[45686.227827]  __filemap_get_folio+0x110/0x384
[45686.231560]  filemap_fault+0x134/0x79c
[45686.235812]  __do_fault+0x3c/0x110
[45686.239370]  __handle_mm_fault+0x578/0xaac
[45686.242757]  handle_mm_fault+0xd0/0x260
[45686.246836]  do_page_fault+0x13c/0x310
[45686.250570]  do_translation_fault+0x88/0x94
[45686.254390]  do_mem_abort+0x44/0x94
[45686.258467]  el0_da+0x24/0x60
[45686.261939]  el0t_64_sync_handler+0xac/0x120
[45686.265067]  el0t_64_sync+0x174/0x178
[45686.269708] Mem-Info:
[45686.273017] active_anon:7407 inactive_anon:5637 isolated_anon:0
[45686.273017]  active_file:353 inactive_file:311 isolated_file:0
[45686.273017]  unevictable:0 dirty:0 writeback:0
[45686.273017]  slab_reclaimable:2271 slab_unreclaimable:14115
[45686.273017]  mapped:232 shmem:1594 pagetables:4108
[45686.273017]  sec_pagetables:0 bounce:0
[45686.273017]  kernel_misc_reclaimable:0
[45686.273017]  free:11101 free_pcp:159 free_cma:0
[45686.291438] Node 0 active_anon:29628kB inactive_anon:22548kB active_file:1412kB inactive_file:1244kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:928kB dirty:0kB writeback:0kB shmem:6376kB writeback_tmp:0kB kernel_stack:9872kB pagetables:16432kB sec_pagetables:0kB all_unreclaimable? no
[45686.318129] DMA free:44404kB boost:0kB min:16384kB low:20480kB high:24576kB reserved_highatomic:4096KB active_anon:30072kB inactive_anon:22548kB active_file:1336kB inactive_file:1472kB unevictable:0kB writepending:0kB present:524288kB managed:415980kB mlocked:0kB bounce:0kB free_pcp:700kB local_pcp:64kB free_cma:0kB
[45686.346110] lowmem_reserve[]: 0 0 0 0
[45686.368322] DMA: 1754*4kB (UMEH) 525*8kB (UME) 187*16kB (UMEH) 760*32kB (UMEH) 88*64kB (UM) 2*128kB (M) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 44416kB
[45686.371967] 2286 total pagecache pages
[45686.386086] 0 pages in swap cache
[45686.389567] Free swap  = 0kB
[45686.392939] Total swap = 0kB
[45686.395905] 131072 pages RAM
[45686.398755] 0 pages HighMem/MovableOnly
[45686.401620] 27077 pages reserved
[45686.405189] Tasks state (memory values in pages):
[45686.408654] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[45686.413297] [    777]    81   777      352      117    32768        0             0 ubusd
[45686.421774] [    778]     0   778      227        9    32768        0             0 askfirst
[45686.430028] [    813]     0   813      266       16    32768        0             0 urngd
[45686.438564] [   1370]   514  1370      321       70    28672        0             0 logd

[45690.441130] [  25837]     0 25837      329        9    28672        0             0 sleep
[45690.449287] [  25973]     0 25973      329        9    28672        0             0 sleep
[45690.457447] [  26095]     0 26095      277       10    28672        0             0 scp
[45690.465606] [  26096]     0 26096      277       10    28672        0             0 scp
[45690.473417] [  26097]     0 26097      277       11    40960        0             0 scp
[45690.481396] [  26099]     0 26099      288       15    32768        0             0 dbclient
[45690.489392] [  26100]     0 26100      288       14    36864        0             0 dbclient
[45690.498072] [  26101]     0 26101      288       15    28672        0             0 dbclient
[45690.506499] [  26957]     0 26957     1531      268    40960        0             0 collectd
[45690.514914] [  27739]     0 27739      526      275    28672        0             0 mac80211.sh
[45690.523333] [  27776]     0 27776      691      182    32768        0             0 hostapd
[45690.531742] [  27777]   101 27777     2216      368    45056        0             0 hostapd
[45690.540086] [  27778]     0 27778      691      183    32768        0             0 wpa_supplicant
[45690.548420] [  27779]   101 27779     2216      408    49152        0             0 wpa_supplicant
[45690.557448] [  27796]     0 27796      329       59    28672        0             0 sleep
[45690.566387] [  27821]     0 27821      331       61    32768        0             0 sleep
[45690.574632] [  27844]     0 27844      379      182    28672        0             0 ubus
[45690.582785] [  27846]     0 27846      267      173    32768        0             0 modprobe
[45690.590954] [  27847]     0 27847      408       95    28672        0             0 mwan3track
[45690.599373] [  27849]     0 27849      365      156    28672        0             0 ping
[45690.607793] [  27853]     0 27853      329      132    32768        0             0 sleep
[45690.616039] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=wpa_supplicant,pid=27779,uid=101
[45690.624134] Out of memory: Killed process 27779 (wpa_supplicant) total-vm:8864kB, anon-rss:860kB, file-rss:772kB, shmem-rss:0kB, UID:101 pgtables:48kB oom_score_adj:0
[45692.061619] wpa_supplicant invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
[45692.061693] CPU: 0 PID: 27860 Comm: wpa_supplicant Not tainted 6.1.55 #0
[45692.071580] Hardware name: Xiaomi AX3600 (DT)
[45692.078520] Call trace:
[45692.082770]  dump_backtrace.part.0+0xc0/0xd0
[45692.085030]  show_stack+0x18/0x30
[45692.089541]  dump_stack_lvl+0x6c/0x88
[45692.092754]  dump_stack+0x18/0x34
[45692.096398]  dump_header+0x44/0x18c
[45692.099697]  oom_kill_process+0x26c/0x270
[45692.102997]  out_of_memory+0x1c4/0x30c
[45692.107164]  __alloc_pages_slowpath.constprop.0+0x6d8/0xa2c
[45692.110813]  __alloc_pages+0x22c/0x270
[45692.116277]  __folio_alloc+0x14/0x20
[45692.120097]  __handle_mm_fault+0x154/0xaac
[45692.123831]  handle_mm_fault+0xd0/0x260
[45692.127735]  do_page_fault+0x13c/0x310
[45692.131470]  do_translation_fault+0x88/0x94
[45692.135289]  do_mem_abort+0x44/0x94
[45692.139368]  el0_da+0x24/0x60
[45692.142840]  el0t_64_sync_handler+0xac/0x120
[45692.145966]  el0t_64_sync+0x174/0x178
[45692.150505] Mem-Info:
[45692.153908] active_anon:7186 inactive_anon:5776 isolated_anon:0
[45692.153908]  active_file:534 inactive_file:347 isolated_file:0
[45692.153908]  unevictable:0 dirty:0 writeback:0
[45692.153908]  slab_reclaimable:2271 slab_unreclaimable:14115
[45692.153908]  mapped:809 shmem:1594 pagetables:4107
[45692.153908]  sec_pagetables:0 bounce:0
[45692.153908]  kernel_misc_reclaimable:0
[45692.153908]  free:10966 free_pcp:90 free_cma:0
[45692.172309] Node 0 active_anon:28744kB inactive_anon:23104kB active_file:2136kB inactive_file:1388kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:3236kB dirty:0kB writeback:0kB shmem:6376kB writeback_tmp:0kB kernel_stack:9856kB pagetables:16428kB sec_pagetables:0kB all_unreclaimable? no
[45692.198871] DMA free:43864kB boost:0kB min:16384kB low:20480kB high:24576kB reserved_highatomic:4096KB active_anon:28736kB inactive_anon:23104kB active_file:1876kB inactive_file:1900kB unevictable:0kB writepending:0kB present:524288kB managed:415980kB mlocked:0kB bounce:0kB free_pcp:292kB local_pcp:0kB free_cma:0kB
[45692.227013] lowmem_reserve[]: 0 0 0 0
[45692.249342] DMA: 1548*4kB (UMEH) 461*8kB (UME) 198*16kB (UMEH) 774*32kB (UMEH) 100*64kB (UM) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 44216kB
[45692.252846] 2492 total pagecache pages
[45692.266523] 0 pages in swap cache
[45692.270127] Free swap  = 0kB
[45692.273514] Total swap = 0kB
[45692.276445] 131072 pages RAM
[45692.279309] 0 pages HighMem/MovableOnly
[45692.282173] 27077 pages reserved
[45692.285750] Tasks state (memory values in pages):
[45692.289219] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[45692.293893] [    777]    81   777      352      124    32768        0             0 ubusd
[45692.302350] [    778]     0   778      227        9    32768        0             0 askfirst
[45692.310639] [    813]     0   813      266       16    32768        0             0 urngd
[45692.319127] [   1370]   514  1370      321       70    28672        0             0 logd
[45692.327181] [   1429]     0  1429      986      191    36864        0             0 rpcd
[45692.335332] [   2007]     0  2007      277       16    28672        0             0 dropbear
[45692.343393] [   2375]     0  2375      408      256    28672        0             0 mwan3track
[45692.351798] [   2376]     0  2376      400       85    32768        0             0 mwan3track

[45694.118001] [   6530]     0  6530      277       10    28672        0             0 scp
[45694.126504] [   6531]     0  6531      277       10    36864        0             0 scp
[45694.134247] [   6532]     0  6532      277       10    36864        0             0 scp
[45694.142272] [   6533]     0  6533      288       16    32768        0             0 dbclient
[45694.150140] [   6534]     0  6534      288       15    28672        0             0 dbclient
[45694.158793] [   6535]     0  6535      288       15    36864        0             0 dbclient
[45694.167342] [   8170]     0  8170      277       10    32768        0             0 scp
[45694.175738] [   8171]     0  8171      277       10    32768        0             0 scp
[45694.183404] [   8172]     0  8172      277       10    32768        0             0 scp
[45694.191335] [   8173]     0  8173      288       15    28672        0             0 dbclient
[45694.634457] [  23589]     0 23589      288       16    32768        0             0 dbclient
[45694.642279] [  23588]     0 23588      288       15    32768        0             0 dbclient
[45694.651098] [  23590]     0 23590      288       15    36864        0             0 dbclient
[45694.659378] [  26222]     0 26222      551      183    32768        0             0 netifd
[45694.667816] [  27207]     0 27207      425      164    36864        0             0 odhcpd
[45694.675897] [  27688]     0 27688      354       75    40960        0             0 pppd
[45694.684128] [  28175]     0 28175      691       28    40960        0             0 dnsmasq
[45694.692351] [  28227]   453 28227      410      133    32768        0             0 dnsmasq
[45694.700431] [  28822]     0 28822      440      129    32768        0             0 dynamic_dns_upd
[45694.708762] [  30843]     0 30843      269       17    32768        0             0 odhcp6c
[45694.717790] [   1335]     0  1335      444      134    32768        0             0 dynamic_dns_upd
[45694.726155] [   1336]     0  1336      444      134    32768        0             0 dynamic_dns_upd
[45694.735223] [   1337]     0  1337      444      134    28672        0             0 dynamic_dns_upd
[45694.744204] [   1338]     0  1338      444      134    28672        0             0 dynamic_dns_upd
[45694.753212] [   2763]     0  2763      529      176    32768        0             0 banip-service.s
[45694.762243] [   3883]     0  3883      364       13    32768        0             0 sleep
[45694.771316] [   5159]     0  5159      277       10    28672        0             0 scp
[45694.779623] [   5160]     0  5160      277       10    36864        0             0 scp
[45695.952517] [  14099]     0 14099      277       10    32768        0             0 scp
[45695.960949] [  14100]     0 14100      277       10    32768        0             0 scp
[45695.968771] [  14101]     0 14101      277       10    28672        0             0 scp
[45695.976665] [  14102]     0 14102      288       15    32768        0             0 dbclient
[45695.984635] [  14103]     0 14103      288       16    32768        0             0 dbclient
[45695.993306] [  14104]     0 14104      288       15    32768        0             0 dbclient
[45696.001717] [  15944]     0 15944      277       10    28672        0             0 scp
[45696.010168] [  15945]     0 15945      277       10    28672        0             0 scp
[45696.017890] [  15946]     0 15946      277       10    28672        0             0 scp
[45696.025870] [  15949]     0 15949      288       15    36864        0             0 dbclient
[45696.033849] [  15950]     0 15950      288       15    36864        0             0 dbclient
[45696.042515] [  15948]     0 15948      288       15    36864        0             0 dbclient
[45696.051018] [  17592]     0 17592      277       10    28672        0             0 scp
[45696.059506] [  17593]     0 17593      277       10    32768        0             0 scp
[45696.067156] [  17594]     0 17594      277       10    36864        0             0 scp
[45696.075116] [  17595]     0 17595      288       15    36864        0             0 dbclient
[45696.083076] [  17597]     0 17597      288       15    28672        0             0 dbclient
[45696.091759] [  17596]     0 17596      288       16    28672        0             0 dbclient
[45696.100171] [  19323]     0 19323      277       10    32768        0             0 scp
[45696.108582] [  19324]     0 19324      277       10    32768        0             0 scp
[45696.116306] [  19325]     0 19325      277       10    36864        0             0 scp
[45696.124297] [  19326]     0 19326      288       16    36864        0             0 dbclient
[45696.132276] [  19327]     0 19327      288       15    32768        0             0 dbclient
[45696.140991] [  19328]     0 19328      288       16    40960        0             0 dbclient
[45696.149430] [  20976]     0 20976      277       10    32768        0             0 scp
[45696.157830] [  20977]     0 20977      277       10    36864        0             0 scp
[45696.165535] [  20978]     0 20978      277       10    28672        0             0 scp
[45696.173512] [  20979]     0 20979      288       16    28672        0             0 dbclient
[45696.181491] [  20980]     0 20980      288       15    32768        0             0 dbclient
[45696.190187] [  20981]     0 20981      288       15    32768        0             0 dbclient
[45696.198619] [  22709]     0 22709      277       10    36864        0             0 scp
[45696.207039] [  22710]     0 22710      277       10    40960        0             0 scp
[45696.214789] [  22711]     0 22711      277       10    32768        0             0 scp
[45696.222738] [  22712]     0 22712      288       16    36864        0             0 dbclient
[45696.230733] [  22713]     0 22713      288       16    32768        0             0 dbclient
[45696.239496] [  22714]     0 22714      288       15    36864        0             0 dbclient
[45696.247830] [  24364]     0 24364      277       10    32768        0             0 scp
[45696.256268] [  24365]     0 24365      277       11    32768        0             0 scp
[45696.263988] [  24366]     0 24366      277       10    32768        0             0 scp
[45696.271950] [  24368]     0 24368      288       14    32768        0             0 dbclient
[45696.279948] [  24369]     0 24369      288       14    40960        0             0 dbclient
[45696.288619] [  24370]     0 24370      288       16    32768        0             0 dbclient
[45696.297057] [  25273]     0 25273      329       10    28672        0             0 sleep
[45696.305539] [  25564]     0 25564      329        9    32768        0             0 sleep
[45696.313538] [  25749]     0 25749      329        9    28672        0             0 sleep
[45696.321681] [  25837]     0 25837      329        9    28672        0             0 sleep
[45696.329849] [  25973]     0 25973      329        9    28672        0             0 sleep
[45696.338042] [  26095]     0 26095      277       10    28672        0             0 scp
[45696.346188] [  26096]     0 26096      277       10    28672        0             0 scp
[45696.353991] [  26097]     0 26097      277       11    40960        0             0 scp
[45696.361957] [  26099]     0 26099      288       15    32768        0             0 dbclient
[45696.369954] [  26100]     0 26100      288       14    36864        0             0 dbclient
[45696.378647] [  26101]     0 26101      288       15    28672        0             0 dbclient
[45696.387075] [  26957]     0 26957     1531      268    40960        0             0 collectd
[45696.395489] [  27739]     0 27739      526      275    28672        0             0 mac80211.sh
[45696.403912] [  27776]     0 27776      691      182    32768        0             0 hostapd
[45696.412320] [  27777]   101 27777     2216      403    45056        0             0 hostapd
[45696.420667] [  27796]     0 27796      329       59    28672        0             0 sleep
[45696.428989] [  27844]     0 27844      379      182    28672        0             0 ubus
[45696.437315] [  27853]     0 27853      329      132    32768        0             0 sleep
[45696.445485] [  27858]     0 27858      331      150    28672        0             0 sleep
[45696.453579] [  27859]     0 27859      691      254    32768        0             0 wpa_supplicant
[45696.461699] [  27860]   101 27860     2078      683    49152        0             0 wpa_supplicant
[45696.470565] [  27861]     0 27861      408       92    28672        0             0 mwan3track
[45696.479524] [  27862]     0 27862      365      156    28672        0             0 ping
[45696.488109] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=wpa_supplicant,pid=27860,uid=101
[45696.496366] Out of memory: Killed process 27860 (wpa_supplicant) total-vm:8312kB, anon-rss:644kB, file-rss:2088kB, shmem-rss:0kB, UID:101 pgtables:48kB oom_score_adj:0