Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 8.4CVE-2026-138852

wifi: ath12k: validate MAC/PHY capability count before saving

Published 30/11/2026 · Updated 01/12/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: validate MAC/PHY capability count before saving 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. ath12k_wmi_mac_phy_caps_parse() allocates the source array for tot_phy_id entries and rejects excess capability TLVs. However, if the event contains fewer capability TLVs than advertised, the remaining allocated entries stay zeroed and are saved as invalid PHY information. After parsing the MAC/PHY capability TLVs, validate the destination capacity and reject an incomplete capability list before saving any entries.

Affected products and versions

Linux Linux062ade23991e556a14bbb27c1cf873c34dbd9d28 – < ada2a9bcb9c49bce7091a30a6bb4e4551fbdd0d9 · 062ade23991e556a14bbb27c1cf873c34dbd9d28 – < 3ba642864653dbcece500b510e330abec42fc128 · 062ade23991e556a14bbb27c1cf873c34dbd9d28 – < 86f2537877d6029487811bc3e0cd9e086a196000Fixed in: ada2a9bcb9c49bce7091a30a6bb4e4551fbdd0d9 · 3ba642864653dbcece500b510e330abec42fc128 · 86f2537877d6029487811bc3e0cd9e086a196000
Linux Linux6.16Fixed in: 6.18.63 · 7.3.4 · 7.4-rc1

CVSS vector, explained

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.