Suspend/resume error with AWUS036ACM

From: Gonsolo
Date: Thu May 05 2022 - 02:30:30 EST


Hi all.

After a resume I get the following error:

+0,000007] UBSAN: invalid-load in
/build/linux-lowlatency-fSdu7c/linux-lowlatency-5.15.0/net/mac80211/status.c:1164:21
[ +0,000004] load of value 255 is not a valid value for type '_Bool'
[ +0,000004] CPU: 22 PID: 387 Comm: kworker/u256:5 Tainted: P
OE 5.15.0-27-lowlatency #28-Ubuntu
[ +0,000004] Hardware name: To Be Filled By O.E.M. To Be Filled By
O.E.M./X399 Phantom Gaming 6, BIOS P1.31 01/14/2021
[ +0,000003] Workqueue: phy0 mt76x02_mac_work [mt76x02_lib]
[ +0,000014] Call Trace:
[ +0,000003] <TASK>
[ +0,000003] show_stack+0x52/0x58
[ +0,000006] dump_stack_lvl+0x4a/0x5f
[ +0,000007] dump_stack+0x10/0x12
[ +0,000003] ubsan_epilogue+0x9/0x45
[ +0,000002] __ubsan_handle_load_invalid_value.cold+0x44/0x49
[ +0,000004] ieee80211_tx_status_ext.cold+0x4e/0x5f [mac80211]
[ +0,000068] mt76_tx_status_unlock+0x111/0x160 [mt76]
[ +0,000010] mt76_tx_status_check+0x68/0x90 [mt76]
[ +0,000009] mt76x02_mac_work+0x14b/0x240 [mt76x02_lib]
[ +0,000008] process_one_work+0x222/0x3f0
[ +0,000006] worker_thread+0x50/0x3f0
[ +0,000004] ? process_one_work+0x3f0/0x3f0
[ +0,000004] kthread+0x13b/0x160
[ +0,000003] ? set_kthread_struct+0x50/0x50
[ +0,000004] ret_from_fork+0x22/0x30
[ +0,000006] </TASK>
[ +0,000001] ================================================================================

This is a stock Ubuntu Jammy lowlatency kernel (with Nvidia drivers).

I would be happy to provide all the needed information to resolve this.

I also want to note that the device is running quite unstable (lots of
deauthenticating, network lost, etc...).

Regards,
g