Bug 215749 - UBSAN: invalid-load in net/mac80211/status.c:1164:21
Summary: UBSAN: invalid-load in net/mac80211/status.c:1164:21
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: x86-64 Linux
: P1 high
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-26 21:03 UTC by sander44
Modified: 2022-04-04 14:03 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.17.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description sander44 2022-03-26 21:03:17 UTC
Hi Kernel Team,

Today i try to check this new version kernel.
But i notice more issue with mediatek wifi driver.

Vanilla Kernel 5.17.0 with Fedora Workstation 35

Please help me with this poor performance that I see on the wifi and bluetooth driver. 

[    9.807240] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[   11.012492] wlp2s0: authenticate with 
[   11.212551] wlp2s0: send auth to  (try 1/3)
[   11.213154] ================================================================================
[   11.215134] UBSAN: invalid-load in net/mac80211/status.c:1164:21
[   11.216802] load of value 255 is not a valid value for type '_Bool'
[   11.218543] CPU: 2 PID: 806 Comm: napi/phy0-8195 Not tainted 5.17.0-custom #2
[   11.218549] Hardware name: ASUSTeK COMPUTER INC. ROG Zephyrus G14 GA401QM_GA401QM/GA401QM, BIOS GA401QM.410 12/13/2021
[   11.218552] Call Trace:
[   11.218554]  <TASK>
[   11.218559]  dump_stack_lvl+0x4c/0x63
[   11.218573]  dump_stack+0x10/0x12
[   11.218578]  ubsan_epilogue+0x9/0x45
[   11.218582]  __ubsan_handle_load_invalid_value.cold+0x44/0x49
[   11.218588]  ieee80211_tx_status_ext.cold+0x1e/0xb8 [mac80211]
[   11.218684]  mt76_tx_status_unlock+0x119/0x170 [mt76]
[   11.218698]  __mt76_tx_complete_skb+0x16b/0x1f0 [mt76]
[   11.218710]  mt7921e_queue_rx_skb+0x1ff/0x370 [mt7921e]
[   11.218716]  mt76_dma_rx_poll+0x420/0x4c0 [mt76]
[   11.218728]  ? __napi_poll+0x1a0/0x1a0
[   11.218735]  mt7921_poll_rx+0x4f/0xe0 [mt7921e]
[   11.218740]  __napi_poll+0x33/0x1a0
[   11.218745]  ? __napi_poll+0x1a0/0x1a0
[   11.218748]  napi_threaded_poll+0x15b/0x170
[   11.218753]  kthread+0xed/0x120
[   11.218760]  ? kthread_complete_and_exit+0x20/0x20
[   11.218765]  ret_from_fork+0x22/0x30
[   11.218773]  </TASK>
[   11.218774] ================================================================================
[   11.234876] wlp2s0: authenticated
[   11.236974] wlp2s0: associate with (try 1/3)
[   11.275111] wlp2s0: RX AssocResp from (capab=0x1511 status=0 aid=2)
[   11.303721] wlp2s0: associated
[   11.368385] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
Comment 1 The Linux kernel's regression tracker (Thorsten Leemhuis) 2022-04-04 14:03:56 UTC
To clarify: did this machine work fine with earlier kernel series, like 5.16 or 5.15? And you filed this separately, as you assume the problem is different from https://bugzilla.kernel.org/show_bug.cgi?id=215748 ?

Note You need to log in before you can comment on or make changes to this bug.