In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: fix stride mismatch in mac_phy_caps_parse() Currently, in… (CVE-2026-90398)
A vulnerability in the Linux kernel's ath11k WiFi driver was fixed to address a stride mismatch in the mac_phy_caps_parse() function. The issue involved incorrect memory allocation size leading to out-of-bounds writes when processing firmware TLVs. This could cause memory corruption. The fix ensures allocation size matches the pointer stride by using kzalloc_objs().
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's ath11k driver arises from a stride mismatch in the mac_phy_caps_parse() function. The function kcalloc() allocates a buffer sized as tot_phy_id * len, where len is clamped to the minimum of firmware_len and the size of struct wmi_mac_phy_capabilities. However, the subsequent memcpy() advances the destination pointer by the full struct size per slot, not by the clamped len. This mismatch leads to out-of-bounds writes when the firmware sends short TLVs, corrupting memory beyond the allocated buffer. The reader function ath11k_pull_mac_phy_cap_svc_ready_ext() also indexes the buffer using full-struct pointer arithmetic, requiring consistent allocation size and stride. The vulnerability was fixed by replacing kcalloc() with kzalloc_objs(), which derives the element size from the pointer type, ensuring allocation size and pointer stride are consistent regardless of firmware-provided len. The fix was compile tested only.
Potential Impact
This vulnerability can lead to memory corruption due to out-of-bounds writes when processing malformed or short TLVs from firmware in the ath11k WiFi driver. The CVSS score of 8.4 indicates high severity with potential for confidentiality, integrity, and availability impacts. However, there are no known exploits in the wild at this time.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source by replacing the allocation method to ensure consistent buffer sizing and prevent out-of-bounds writes. Users should apply the updated Linux kernel version containing this fix once it is released. Patch status is not explicitly confirmed in the provided data; check the official Linux kernel advisories or vendor updates for the exact fixed versions and remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: fix stride mismatch in mac_phy_caps_parse() Currently, in… (CVE-2026-90398)
Description
A vulnerability in the Linux kernel's ath11k WiFi driver was fixed to address a stride mismatch in the mac_phy_caps_parse() function. The issue involved incorrect memory allocation size leading to out-of-bounds writes when processing firmware TLVs. This could cause memory corruption. The fix ensures allocation size matches the pointer stride by using kzalloc_objs().
CVSS v3.1
Score 8.4high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's ath11k driver arises from a stride mismatch in the mac_phy_caps_parse() function. The function kcalloc() allocates a buffer sized as tot_phy_id * len, where len is clamped to the minimum of firmware_len and the size of struct wmi_mac_phy_capabilities. However, the subsequent memcpy() advances the destination pointer by the full struct size per slot, not by the clamped len. This mismatch leads to out-of-bounds writes when the firmware sends short TLVs, corrupting memory beyond the allocated buffer. The reader function ath11k_pull_mac_phy_cap_svc_ready_ext() also indexes the buffer using full-struct pointer arithmetic, requiring consistent allocation size and stride. The vulnerability was fixed by replacing kcalloc() with kzalloc_objs(), which derives the element size from the pointer type, ensuring allocation size and pointer stride are consistent regardless of firmware-provided len. The fix was compile tested only.
Potential Impact
This vulnerability can lead to memory corruption due to out-of-bounds writes when processing malformed or short TLVs from firmware in the ath11k WiFi driver. The CVSS score of 8.4 indicates high severity with potential for confidentiality, integrity, and availability impacts. However, there are no known exploits in the wild at this time.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source by replacing the allocation method to ensure consistent buffer sizing and prevent out-of-bounds writes. Users should apply the updated Linux kernel version containing this fix once it is released. Patch status is not explicitly confirmed in the provided data; check the official Linux kernel advisories or vendor updates for the exact fixed versions and remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vrcf-5rpv-m35r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-90398"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6aade51c55bf5e2cf5edc0a3
Added to database: 09/19/2026, 01:27:56 UTC
Last enriched: 09/19/2026, 01:46:10 UTC
Last updated: 09/19/2026, 01:46:10 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.