Bug 2586528 (CVE-2026-138852) - CVE-2026-138852 kernel: kernel: ath12k: out-of-bounds write via excessive PHY capability count
Summary: CVE-2026-138852 kernel: kernel: ath12k: out-of-bounds write via excessive PHY...
Keywords:
Status: NEW
Alias: CVE-2026-138852
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 13:55 UTC by OSIDB Bzimport
Modified: 2026-12-01 01:00 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:55:01 UTC
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.


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