Re: [PATCH v2] wifi: ath5k: do not access array OOB
From: Jeff Johnson
Date: Mon May 04 2026 - 10:23:39 EST
On Tue, 09 Dec 2025 11:04:59 +0100, Jiri Slaby (SUSE) wrote:
> Vincent reports:
> > The ath5k driver seems to do an array-index-out-of-bounds access as
> > shown by the UBSAN kernel message:
> > UBSAN: array-index-out-of-bounds in drivers/net/wireless/ath/ath5k/base.c:1741:20
> > index 4 is out of range for type 'ieee80211_tx_rate [4]'
> > ...
> > Call Trace:
> > <TASK>
> > dump_stack_lvl+0x5d/0x80
> > ubsan_epilogue+0x5/0x2b
> > __ubsan_handle_out_of_bounds.cold+0x46/0x4b
> > ath5k_tasklet_tx+0x4e0/0x560 [ath5k]
> > tasklet_action_common+0xb5/0x1c0
>
> [...]
Applied, thanks!
[1/1] wifi: ath5k: do not access array OOB
commit: d748603f12baff112caa3ab7d39f50100f010dbd
Best regards,
--
Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>