# CVE-2026-90399: wifi: ath12k: fix stride mismatch in mac\_phy\_caps\_parse()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-09-17T16:09:30.273Z
- **Modified:** 2026-10-21T13:20:53.897Z

## Who should check

- Anyone running Linux \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 79c6f4f7d16eea1bcb8bc5c8fd6ec04a01b0614f; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< d3355e0fdbbf531ca8b82a6a3feb80a1b7306a8b; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< b9a5d12cbdeb860306f8d47c92caee0ea6ee0e0a; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 26f8f87f0a556e7984366c64cebc16d49e15d22f; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 4c6eb712a91fa079be6f9f1419c96e0ad2227081
- Anyone running Linux 6.3

## Description

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

wifi: ath12k: fix stride mismatch in mac\_phy\_caps\_parse()

Currently, in ath12k\_wmi\_mac\_phy\_caps\_parse(), kzalloc() sizes the
mac\_phy\_caps buffer as tot\_phy\_id \* len, where len is clamped to
min(firmware\_len, sizeof(struct ath12k\_wmi\_mac\_phy\_caps\_params)). 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 ath12k\_pull\_mac\_phy\_cap\_svc\_ready\_ext() also indexes the
buffer with full-struct pointer arithmetic, so the allocation must match
that stride.

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

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL\_V1.0\_V2.0\_SILICONZ\_UPSTREAM-3

## Affected and fixed versions

- Linux: \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 79c6f4f7d16eea1bcb8bc5c8fd6ec04a01b0614f; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< d3355e0fdbbf531ca8b82a6a3feb80a1b7306a8b; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< b9a5d12cbdeb860306f8d47c92caee0ea6ee0e0a; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 26f8f87f0a556e7984366c64cebc16d49e15d22f; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 4c6eb712a91fa079be6f9f1419c96e0ad2227081 (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 4c6eb712a91fa079be6f9f1419c96e0ad2227081 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90399. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90399.md
Affected: Linux >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 79c6f4f7d16eea1bcb8bc5c8fd6ec04a01b0614f; >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < d3355e0fdbbf531ca8b82a6a3feb80a1b7306a8b; >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < b9a5d12cbdeb860306f8d47c92caee0ea6ee0e0a; >= d889913205cf7ebda905b1e…
Fixed in: Linux 79c6f4f7d16eea1bcb8bc5c8fd6ec04a01b0614f, Linux 26f8f87f0a556e7984366c64cebc16d49e15d22f, Linux 4c6eb712a91fa079be6f9f1419c96e0ad2227081

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90399 being exploited?

There is no confirmed exploitation: CVE-2026-90399 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90399?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-90399?

Linux \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 79c6f4f7d16eea1bcb8bc5c8fd6ec04a01b0614f; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< d3355e0fdbbf531ca8b82a6a3feb80a1b7306a8b; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< b9a5d12cbdeb860306f8d47c92caee0ea6ee0e0a; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 26f8f87f0a556e7984366c64cebc16d49e15d22f; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 4c6eb712a91fa079be6f9f1419c96e0ad2227081; Linux 6.3.

### Is there a fix for CVE-2026-90399?

Yes. Fixed in Linux 79c6f4f7d16eea1bcb8bc5c8fd6ec04a01b0614f, Linux 26f8f87f0a556e7984366c64cebc16d49e15d22f, Linux 4c6eb712a91fa079be6f9f1419c96e0ad2227081. Upgrade Linux to 4c6eb712a91fa079be6f9f1419c96e0ad2227081 or later.

### How do I check if I'm affected by CVE-2026-90399?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/79c6f4f7d16eea1bcb8bc5c8fd6ec04a01b0614f>
- other: <https://git.kernel.org/stable/c/d3355e0fdbbf531ca8b82a6a3feb80a1b7306a8b>
- other: <https://git.kernel.org/stable/c/b9a5d12cbdeb860306f8d47c92caee0ea6ee0e0a>
- other: <https://git.kernel.org/stable/c/26f8f87f0a556e7984366c64cebc16d49e15d22f>
- other: <https://git.kernel.org/stable/c/4c6eb712a91fa079be6f9f1419c96e0ad2227081>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90399>

HTML: <https://flawdb.com/CVE-2026-90399> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90399>
