CVE-2026-138852

Source
https://cve.org/CVERecord?id=CVE-2026-138852
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138852.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138852
Downstream
Published
2026-11-30T13:25:35Z
Modified
2026-12-01T07:00:31Z
Severity
  • 8.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
wifi: ath12k: validate MAC/PHY capability count before saving
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138852.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
062ade23991e556a14bbb27c1cf873c34dbd9d28
Fixed
ada2a9bcb9c49bce7091a30a6bb4e4551fbdd0d9
Fixed
3ba642864653dbcece500b510e330abec42fc128
Fixed
86f2537877d6029487811bc3e0cd9e086a196000

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138852.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138852.json"