aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
GNU General Public License v2.0
3.58k stars 783 forks source link

Crash on Kali Linux NetHunter Pro 2024.3 on Pinephone Pro #1191

Open M3ro20j1 opened 2 months ago

M3ro20j1 commented 2 months ago

I have a crash with reboot when i plug the usb Alfa AWUS036ACS adapter

The crash log :

[ 1634.964756] usb 5-1: new high-speed USB device number 4 using xhci-hcd [ 1635.091793] usb 5-1: New USB device found, idVendor=0bda, idProduct=0811, bcdDevice= 2.00 [ 1635.091846] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1635.091874] usb 5-1: Product: 802.11ac WLAN Adapter [ 1635.091896] usb 5-1: Manufacturer: Realtek [ 1635.091916] usb 5-1: SerialNumber: 00e04c000001 [ 1635.097808] ------------[ cut here ]------------ [ 1635.097839] WARNING: CPU: 0 PID: 193 at /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_odm.c:62 rtw_odm_init_ic_type+0x5c/0x80 [88XXau] [ 1635.098268] Modules linked in: 88XXau(O) mt7601u mac80211 libarc4 rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device qrtr algif_hash algif_skcipher af_alg bnep binfmt_misc inv_mpu6050_spi regmap_spi ledtrig_pattern crct10dif_ce xhci_plat_hcd hci_uart ghash_ce xhci_hcd gf128mul btqca btrtl sha2_ce sha1_ce btintel btbcm btsdio gpio_vibra bluetooth snd_soc_simple_card snd_soc_simple_card_utils leds_sgm3140 brcmfmac_wcc v4l2_flash_led_class leds_gpio snd_soc_rockchip_i2s typec_displayport brcmfmac aes_neon_bs brcmutil snd_soc_rt5640 aes_ce_blk snd_soc_hdmi_codec snd_soc_simple_amplifier inv_mpu6050_i2c snd_soc_rl6231 ofpart drbg inv_mpu6050 cfg80211 inv_sensors_timestamp spi_nor snd_soc_core ansi_cprng hantro_vpu mtd af8133j rockchip_vdec(C) snd_pcm_dmaengine ecdh_generic rfkill v4l2_vp9 snd_pcm imx258 ecc v4l2_h264 dw9714 stk3310 ov8858 snd_timer snd rockchip_saradc industrialio_triggered_buffer kfifo_buf soundcore joydev evdev fuse zram zsmalloc ip_tables x_tables autofs4 ext4 mbcache jbd2 dwc3 udc_core [ 1635.099235] dwc3_of_simple pl330 pinephone_keyboard crc8 matrix_keymap adc_keys industrialio [ 1635.099329] CPU: 0 PID: 193 Comm: kworker/0:3 Tainted: G WC O 6.6-rockchip #1 [ 1635.099358] Hardware name: Pine64 PinePhonePro (DT) [ 1635.099377] Workqueue: usb_hub_wq hub_event [ 1635.099423] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1635.099450] pc : rtw_odm_init_ic_type+0x5c/0x80 [88XXau] [ 1635.099835] lr : rtw_hal_read_chip_version+0x28/0x40 [88XXau] [ 1635.100203] sp : ffff8000834e3540 [ 1635.100217] x29: ffff8000834e3540 x28: ffff000005c5e498 x27: 00000000ffffffed [ 1635.100267] x26: ffff80007a2770f8 x25: ffff00001398b800 x24: ffff80007a277088 [ 1635.100316] x23: ffff80007a2775e0 x22: ffff000005c5f800 x21: ffff000006575000 [ 1635.100364] x20: 0000000000000001 x19: ffff800084b69000 x18: ffffffffffffffff [ 1635.100412] x17: 0000000000000000 x16: 0000000000000000 x15: ffff8000834e32b0 [ 1635.100459] x14: 0000000000000001 x13: ffff8000834e3478 x12: ffff8000816deae0 [ 1635.100505] x11: 0000000000000001 x10: 000000000000000a x9 : ffff80007a1efd38 [ 1635.100552] x8 : 000000000000000a x7 : 0000000000000001 x6 : 0000000000000029 [ 1635.100598] x5 : ffff8000834e347b x4 : ffff80007a377943 x3 : 0000000000000000 [ 1635.100645] x2 : 0000000000000000 x1 : 0000000000000004 x0 : ffff800084b78ed0 [ 1635.100692] Call trace: [ 1635.100706] rtw_odm_init_ic_type+0x5c/0x80 [88XXau] [ 1635.101077] rtw_hal_read_chip_version+0x28/0x40 [88XXau] [ 1635.101438] rtw_usb_primary_adapter_init+0x12c/0x858 [88XXau] [ 1635.101804] rtw_usb_primary_adapter_init+0x38c/0x858 [88XXau] [ 1635.102169] usb_probe_interface+0xdc/0x2f0 [ 1635.102202] really_probe+0x188/0x3d0 [ 1635.102229] driver_probe_device+0x80/0x178 [ 1635.102255] driver_probe_device+0x44/0xe8 [ 1635.102279] device_attach_driver+0xb8/0x158 [ 1635.102305] bus_for_each_drv+0x8c/0xf0 [ 1635.102339] device_attach+0xa4/0x1c0 [ 1635.102364] device_initial_probe+0x18/0x28 [ 1635.102389] bus_probe_device+0xa8/0xb8 [ 1635.102412] device_add+0x600/0x7f8 [ 1635.102444] usb_set_configuration+0x4a8/0x888 [ 1635.102470] usb_generic_driver_probe+0x6c/0xc0 [ 1635.102496] usb_probe_device+0x44/0x130 [ 1635.102522] really_probe+0x188/0x3d0 [ 1635.102546] driver_probe_device+0x80/0x178 [ 1635.102570] driver_probe_device+0x44/0xe8 [ 1635.102595] device_attach_driver+0xb8/0x158 [ 1635.102620] bus_for_each_drv+0x8c/0xf0 [ 1635.102653] device_attach+0xa4/0x1c0 [ 1635.102678] device_initial_probe+0x18/0x28 [ 1635.102702] bus_probe_device+0xa8/0xb8 [ 1635.102725] device_add+0x600/0x7f8 [ 1635.102756] usb_new_device+0x280/0x650 [ 1635.102787] hub_event+0x10b8/0x1928 [ 1635.102817] process_one_work+0x18c/0x410 [ 1635.102851] worker_thread+0x41c/0x548 [ 1635.102882] kthread+0x100/0x118 [ 1635.102911] ret_from_fork+0x10/0x20 [ 1635.102941] ---[ end trace 0000000000000000 ]--- [ 1635.178933] usb 5-1: 88XXau 00:c0:ca:b5:e8:28 hw_info[107] [ 1635.180902] ------------[ cut here ]------------ [ 1635.180924] WARNING: CPU: 0 PID: 193 at /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_odm.c:62 rtw_odm_init_ic_type+0x5c/0x80 [88XXau] [ 1635.181144] Modules linked in: 88XXau(O) mt7601u mac80211 libarc4 rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device qrtr algif_hash algif_skcipher af_alg bnep binfmt_misc inv_mpu6050_spi regmap_spi ledtrig_pattern crct10dif_ce xhci_plat_hcd hci_uart ghash_ce xhci_hcd gf128mul btqca btrtl sha2_ce sha1_ce btintel btbcm btsdio gpio_vibra bluetooth snd_soc_simple_card snd_soc_simple_card_utils leds_sgm3140 brcmfmac_wcc v4l2_flash_led_class leds_gpio snd_soc_rockchip_i2s typec_displayport brcmfmac aes_neon_bs brcmutil snd_soc_rt5640 aes_ce_blk snd_soc_hdmi_codec snd_soc_simple_amplifier inv_mpu6050_i2c snd_soc_rl6231 ofpart drbg inv_mpu6050 cfg80211 inv_sensors_timestamp spi_nor snd_soc_core ansi_cprng hantro_vpu mtd af8133j rockchip_vdec(C) snd_pcm_dmaengine ecdh_generic rfkill v4l2_vp9 snd_pcm imx258 ecc v4l2_h264 dw9714 stk3310 ov8858 snd_timer snd rockchip_saradc industrialio_triggered_buffer kfifo_buf soundcore joydev evdev fuse zram zsmalloc ip_tables x_tables autofs4 ext4 mbcache jbd2 dwc3 udc_core [ 1635.181561] dwc3_of_simple pl330 pinephone_keyboard crc8 matrix_keymap adc_keys industrialio [ 1635.181602] CPU: 0 PID: 193 Comm: kworker/0:3 Tainted: G WC O 6.6-rockchip #1 [ 1635.181615] Hardware name: Pine64 PinePhonePro (DT) [ 1635.181624] Workqueue: usb_hub_wq hub_event [ 1635.181647] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1635.181658] pc : rtw_odm_init_ic_type+0x5c/0x80 [88XXau] [ 1635.181819] lr : Init_ODM_ComInfo+0x44/0x528 [88XXau] [ 1635.181965] sp : ffff8000834e3460 [ 1635.181971] x29: ffff8000834e3460 x28: ffff000005c5e498 x27: 00000000ffffffed [ 1635.181991] x26: ffff800084b84000 x25: 00000000ffffffff x24: ffff000006575000 [ 1635.182011] x23: ffff800084b6da00 x22: ffff800084b78ed0 x21: ffff800084b75000 [ 1635.182031] x20: ffff800084b78ed0 x19: ffff800084b69000 x18: 0000000000000014 [ 1635.182050] x17: 0000000050569203 x16: 0000000065329ea9 x15: 000000005ff9ac4f [ 1635.182069] x14: 0000000000003ed0 x13: 0000000000001ba2 x12: 0000000000000000 [ 1635.182088] x11: 0000000000000022 x10: 0000000000022000 x9 : ffff80007a2093ac [ 1635.182108] x8 : ffff800084b6c790 x7 : ffffffffffffffff x6 : 000000000000003f [ 1635.182126] x5 : 0000000000000040 x4 : 0000000000000008 x3 : 000000000000000c [ 1635.182145] x2 : 0000000000000000 x1 : 0000000000000004 x0 : ffff800084b78ed0 [ 1635.182165] Call trace: [ 1635.182171] rtw_odm_init_ic_type+0x5c/0x80 [88XXau] [ 1635.182320] Init_ODM_ComInfo+0x44/0x528 [88XXau] [ 1635.182467] rtl8812_init_dm_priv+0x60/0xc0 [88XXau] [ 1635.182616] rtw_hal_dm_init+0x24/0x50 [88XXau] [ 1635.182763] rtw_init_drv_sw+0x220/0x250 [88XXau] [ 1635.182909] rtw_usb_primary_adapter_init+0x154/0x858 [88XXau] [ 1635.183056] rtw_usb_primary_adapter_init+0x38c/0x858 [88XXau] [ 1635.183205] usb_probe_interface+0xdc/0x2f0 [ 1635.183221] really_probe+0x188/0x3d0 [ 1635.183233] driver_probe_device+0x80/0x178 [ 1635.183244] driver_probe_device+0x44/0xe8 [ 1635.183254] __device_attach_driver+0xb8/0x158 [ 1635.183265] bus_for_each_drv+0x8c/0xf0 [ 1635.183279] device_attach+0xa4/0x1c0 [ 1635.183289] device_initial_probe+0x18/0x28 [ 1635.183299] bus_probe_device+0xa8/0xb8 [ 1635.183309] device_add+0x600/0x7f8 [ 1635.183322] usb_set_configuration+0x4a8/0x888 [ 1635.183333] usb_generic_driver_probe+0x6c/0xc0 [ 1635.183344] usb_probe_device+0x44/0x130 [ 1635.183355] really_probe+0x188/0x3d0 [ 1635.183364] driver_probe_device+0x80/0x178 [ 1635.183374] driver_probe_device+0x44/0xe8 [ 1635.183384] device_attach_driver+0xb8/0x158 [ 1635.183394] bus_for_each_drv+0x8c/0xf0 [ 1635.183408] __device_attach+0xa4/0x1c0 [ 1635.183418] device_initial_probe+0x18/0x28 [ 1635.183428] bus_probe_device+0xa8/0xb8 [ 1635.183438] device_add+0x600/0x7f8 [ 1635.183450] usb_new_device+0x280/0x650 [ 1635.183463] hub_event+0x10b8/0x1928 [ 1635.183475] process_one_work+0x18c/0x410 [ 1635.183490] worker_thread+0x41c/0x548 [ 1635.183503] kthread+0x100/0x118 [ 1635.183516] ret_from_fork+0x10/0x20 [ 1635.183530] ---[ end trace 0000000000000000 ]--- [ 1635.440921] [Warning] Supportability Init Warning !!! [ 1635.442819] [phydm_cck_pd_init]warning [ 1659.998805] [phydm_cck_pd_th]warning [ 1662.047181] [phydm_cck_pd_th]warning [ 1662.048167] Unable to handle kernel execute from non-executable memory at virtual address 0000000000000000 [ 1662.059088] Mem abort info: [ 1662.062261] ESR = 0x0000000086000004 [ 1662.066492] EC = 0x21: IABT (current EL), IL = 32 bits [ 1662.072479] SET = 0, FnV = 0 [ 1662.075915] EA = 0, S1PTW = 0 [ 1662.079457] FSC = 0x04: level 0 translation fault [ 1662.084957] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000013a1e000 [ 1662.092202] [0000000000000000] pgd=0000000000000000, p4d=0000000000000000