CVE-2026-90398: wifi: ath11k: fix stride mismatch in mac_phy_caps_parse()

Published Sep 17, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath11k: fix stride mismatch in macphycapsparse()

Currently, in ath11kwmitlvmacphycapsparse(), kcalloc() sizes the macphycaps buffer as totphyid len, where len is clamped to min(firmwarelen, sizeof(struct wmimacphycapabilities)). The subsequent memcpy() destination advances by sizeof(full struct) per slot via C pointer arithmetic, not by the clamped len. When firmware sends short TLVs, the second and later slots are written past the end of the allocation.

The reader in ath11kpullmacphycapsvcreadyext() also indexes the buffer with full-struct pointer arithmetic, so the allocation must match that stride.

Fix by using kzallocobjs(), which derives the element size from the pointer type, making allocation size and pointer stride provably consistent regardless of what len the firmware provides.

Compile tested only.

Affected Software

1 affected component
The Linux Kernel Organization Linux kernel

Event History

Sep 17, 2026
CVE Published
via MITRE·04:09 PM
Data Sourced
via MITRE·04:09 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger the out-of-bounds write?

The ath11k driver must process firmware MAC/PHY capability TLVs containing more than one PHY entry, where the firmware-provided TLV length is shorter than the full wmi_mac_phy_capabilities structure. The mismatch between the clamped allocation length and full-structure pointer stride causes later entries to be written beyond the allocated buffer.

2

Is this issue tied to a normal host-side input path?

The affected parsing path consumes capability information supplied by the Wi-Fi firmware. The provided information does not indicate that ordinary network traffic or a local user-controlled input alone can trigger it.

3

What should be done if an update cannot be applied immediately?

No mitigation is provided in the available data. The described fix changes the allocation to kzalloc_objs() so the allocation element size matches the pointer arithmetic used by the parser and reader.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203