[PATCH v2] wifi: ath12k: validate MAC/PHY capability count before saving
Jeff Johnson
jeff.johnson at oss.qualcomm.com
Fri Oct 9 06:52:13 PDT 2026
On Sat, 03 Oct 2026 18:19:43 +0800, Jiale Yao wrote:
> Firmware supplies the hardware mode count and the PHY bitmap for each
> mode in the service-ready-ext event. ath12k_wmi_save_all_mac_phy_info()
> uses those bitmaps to populate svc_ext_info->mac_phy_info, but the
> destination is a fixed array of ATH12K_MAX_MAC_PHY_CAP elements.
>
> If the total number of advertised PHY entries exceeds that limit, the
> loop writes beyond mac_phy_info and corrupts adjacent memory.
>
> [...]
Applied, thanks!
[1/1] wifi: ath12k: validate MAC/PHY capability count before saving
commit: 86f2537877d6029487811bc3e0cd9e086a196000
Best regards,
--
Jeff Johnson <jeff.johnson at oss.qualcomm.com>
More information about the ath12k
mailing list