I can also confirm this bug for an older iMac 12.2 running latest Kubuntu 22.04 LTS (in native EFI mode).
[ 12.611168] ================================================================================ [ 12.611173] UBSAN: invalid-load in /build/linux-WD899k/linux-5.15.0/net/mac80211/status.c:1164:21 [ 12.611175] load of value 255 is not a valid value for type '_Bool' [ 12.611178] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 5.15.0-30-generic #31-Ubuntu [ 12.611180] Hardware name: Apple Inc. iMac12,2/Mac-942B59F58194171B, BIOS IM121.88Z.004F.B00.1804101150 04/10/18 [ 12.611181] Call Trace: [ 12.611184] <IRQ> [ 12.611186] show_stack+0x52/0x58 [ 12.611192] dump_stack_lvl+0x4a/0x5f [ 12.611197] dump_stack+0x10/0x12 [ 12.611199] ubsan_epilogue+0x9/0x45 [ 12.611201] __ubsan_handle_load_invalid_value.cold+0x44/0x49 [ 12.611204] ieee80211_tx_status_ext.cold+0x4e/0x5f [mac80211] [ 12.611272] ieee80211_tx_status+0x72/0xa0 [mac80211] [ 12.611297] ath_txq_unlock_complete+0x12d/0x160 [ath9k] [ 12.611305] ath_tx_edma_tasklet+0xef/0x4c0 [ath9k] [ 12.611311] ? del_timer_sync+0x6c/0xb0 [ 12.611315] ath9k_tasklet+0x14e/0x290 [ath9k] [ 12.611320] tasklet_action_common.constprop.0+0xc0/0xf0 [ 12.611324] tasklet_action+0x22/0x30 [ 12.611326] __do_softirq+0xd9/0x2e3 [ 12.611331] irq_exit_rcu+0x8c/0xb0 [ 12.611333] common_interrupt+0x8a/0xa0 [ 12.611338] </IRQ> [ 12.611338] <TASK> [ 12.611339] asm_common_interrupt+0x1e/0x40 [ 12.611342] RIP: 0010:cpuidle_enter_state+0xd9/0x620 [ 12.611346] Code: 3d c4 4b 7e 75 e8 d7 ad 6c ff 49 89 c7 0f 1f 44 00 00 31 ff e8 28 ba 6c ff 80 7d d0 00 0f 85 5d 01 00 00 fb 66 0f 1f 44 00 00 <45> 85 f6 0f 88 69 01 00 00 4d 63 ee 49 83 fd 09 0f 87 e3 03 00 00 [ 12.611348] RSP: 0018:ffff9ee1400bfe28 EFLAGS: 00000246 [ 12.611350] RAX: ffff902ddfbb0f00 RBX: ffffbee13fd80000 RCX: 0000000000000000 [ 12.611351] RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000 [ 12.611353] RBP: ffff9ee1400bfe78 R08: 00000002efaed3d6 R09: 0000000000033838 [ 12.611354] R10: 0000000000000005 R11: 071c71c71c71c71c R12: ffffffff8bed36c0 [ 12.611355] R13: 0000000000000002 R14: 0000000000000002 R15: 00000002efaed3d6 [ 12.611357] ? cpuidle_enter_state+0xc8/0x620 [ 12.611360] cpuidle_enter+0x2e/0x40 [ 12.611362] cpuidle_idle_call+0x13e/0x1e0 [ 12.611364] do_idle+0x83/0xf0 [ 12.611366] cpu_startup_entry+0x20/0x30 [ 12.611368] start_secondary+0x12a/0x180 [ 12.611371] secondary_startup_64_no_verify+0xc2/0xcb [ 12.611375] </TASK> [ 12.611379] ================================================================================
I can also confirm this bug for an older iMac 12.2 running latest Kubuntu 22.04 LTS (in native EFI mode).
[ 12.611168] ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= === linux-WD899k/ linux-5. 15.0/net/ mac80211/ status. c:1164: 21 2/Mac-942B59F58 194171B, BIOS IM121.88Z. 004F.B00. 1804101150 04/10/18 0x52/0x58 lvl+0x4a/ 0x5f 0x10/0x12 0x9/0x45 handle_ load_invalid_ value.cold+ 0x44/0x49 tx_status_ ext.cold+ 0x4e/0x5f [mac80211] tx_status+ 0x72/0xa0 [mac80211] unlock_ complete+ 0x12d/0x160 [ath9k] edma_tasklet+ 0xef/0x4c0 [ath9k] sync+0x6c/ 0xb0 0x14e/0x290 [ath9k] action_ common. constprop. 0+0xc0/ 0xf0 action+ 0x22/0x30 0xd9/0x2e3 rcu+0x8c/ 0xb0 interrupt+ 0x8a/0xa0 interrupt+ 0x1e/0x40 enter_state+ 0xd9/0x620 0bfe28 EFLAGS: 00000246 enter_state+ 0xc8/0x620 enter+0x2e/ 0x40 idle_call+ 0x13e/0x1e0 entry+0x20/ 0x30 +0x12a/ 0x180 startup_ 64_no_verify+ 0xc2/0xcb ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ===
[ 12.611173] UBSAN: invalid-load in /build/
[ 12.611175] load of value 255 is not a valid value for type '_Bool'
[ 12.611178] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 5.15.0-30-generic #31-Ubuntu
[ 12.611180] Hardware name: Apple Inc. iMac12,
[ 12.611181] Call Trace:
[ 12.611184] <IRQ>
[ 12.611186] show_stack+
[ 12.611192] dump_stack_
[ 12.611197] dump_stack+
[ 12.611199] ubsan_epilogue+
[ 12.611201] __ubsan_
[ 12.611204] ieee80211_
[ 12.611272] ieee80211_
[ 12.611297] ath_txq_
[ 12.611305] ath_tx_
[ 12.611311] ? del_timer_
[ 12.611315] ath9k_tasklet+
[ 12.611320] tasklet_
[ 12.611324] tasklet_
[ 12.611326] __do_softirq+
[ 12.611331] irq_exit_
[ 12.611333] common_
[ 12.611338] </IRQ>
[ 12.611338] <TASK>
[ 12.611339] asm_common_
[ 12.611342] RIP: 0010:cpuidle_
[ 12.611346] Code: 3d c4 4b 7e 75 e8 d7 ad 6c ff 49 89 c7 0f 1f 44 00 00 31 ff e8 28 ba 6c ff 80 7d d0 00 0f 85 5d 01 00 00 fb 66 0f 1f 44 00 00 <45> 85 f6 0f 88 69 01 00 00 4d 63 ee 49 83 fd 09 0f 87 e3 03 00 00
[ 12.611348] RSP: 0018:ffff9ee140
[ 12.611350] RAX: ffff902ddfbb0f00 RBX: ffffbee13fd80000 RCX: 0000000000000000
[ 12.611351] RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000
[ 12.611353] RBP: ffff9ee1400bfe78 R08: 00000002efaed3d6 R09: 0000000000033838
[ 12.611354] R10: 0000000000000005 R11: 071c71c71c71c71c R12: ffffffff8bed36c0
[ 12.611355] R13: 0000000000000002 R14: 0000000000000002 R15: 00000002efaed3d6
[ 12.611357] ? cpuidle_
[ 12.611360] cpuidle_
[ 12.611362] cpuidle_
[ 12.611364] do_idle+0x83/0xf0
[ 12.611366] cpu_startup_
[ 12.611368] start_secondary
[ 12.611371] secondary_
[ 12.611375] </TASK>
[ 12.611379] =======