{"api_version":"1","generated_at":"2026-09-19T10:59:00+00:00","cve":"CVE-2026-90399","urls":{"html":"https://cve.report/CVE-2026-90399","api":"https://cve.report/api/cve/CVE-2026-90399.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-90399","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-90399"},"summary":{"title":"wifi: ath12k: fix stride mismatch in mac_phy_caps_parse()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix stride mismatch in mac_phy_caps_parse()\n\nCurrently, in ath12k_wmi_mac_phy_caps_parse(), kzalloc() sizes the\nmac_phy_caps buffer as tot_phy_id * len, where len is clamped to\nmin(firmware_len, sizeof(struct ath12k_wmi_mac_phy_caps_params)). The\nsubsequent memcpy() destination advances by sizeof(full struct) per slot\nvia C pointer arithmetic, not by the clamped len. When firmware sends\nshort TLVs, the second and later slots are written past the end of the\nallocation.\n\nThe reader in ath12k_pull_mac_phy_cap_svc_ready_ext() also indexes the\nbuffer with full-struct pointer arithmetic, so the allocation must match\nthat stride.\n\nFix by using kzalloc_objs(), which derives the element size from the\npointer type, making allocation size and pointer stride provably\nconsistent regardless of what len the firmware provides.\n\nTested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-17 17:17:39","updated_at":"2026-09-18 18:17:57"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.4","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.4,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.4","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":8.4,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/d3355e0fdbbf531ca8b82a6a3feb80a1b7306a8b","name":"https://git.kernel.org/stable/c/d3355e0fdbbf531ca8b82a6a3feb80a1b7306a8b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/26f8f87f0a556e7984366c64cebc16d49e15d22f","name":"https://git.kernel.org/stable/c/26f8f87f0a556e7984366c64cebc16d49e15d22f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b9a5d12cbdeb860306f8d47c92caee0ea6ee0e0a","name":"https://git.kernel.org/stable/c/b9a5d12cbdeb860306f8d47c92caee0ea6ee0e0a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4c6eb712a91fa079be6f9f1419c96e0ad2227081","name":"https://git.kernel.org/stable/c/4c6eb712a91fa079be6f9f1419c96e0ad2227081","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-90399","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90399","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 d3355e0fdbbf531ca8b82a6a3feb80a1b7306a8b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 b9a5d12cbdeb860306f8d47c92caee0ea6ee0e0a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 26f8f87f0a556e7984366c64cebc16d49e15d22f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 4c6eb712a91fa079be6f9f1419c96e0ad2227081 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.110 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.52 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.6 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"90399","cve":"CVE-2026-90399","epss":"0.002000000","percentile":"0.102140000","score_date":"2026-09-18","updated_at":"2026-09-19 00:06:16"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/wireless/ath/ath12k/wmi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d3355e0fdbbf531ca8b82a6a3feb80a1b7306a8b","status":"affected","version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","versionType":"git"},{"lessThan":"b9a5d12cbdeb860306f8d47c92caee0ea6ee0e0a","status":"affected","version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","versionType":"git"},{"lessThan":"26f8f87f0a556e7984366c64cebc16d49e15d22f","status":"affected","version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","versionType":"git"},{"lessThan":"4c6eb712a91fa079be6f9f1419c96e0ad2227081","status":"affected","version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/wireless/ath/ath12k/wmi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.3"},{"lessThan":"6.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.110","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.52","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.110","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.52","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"6.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix stride mismatch in mac_phy_caps_parse()\n\nCurrently, in ath12k_wmi_mac_phy_caps_parse(), kzalloc() sizes the\nmac_phy_caps buffer as tot_phy_id * len, where len is clamped to\nmin(firmware_len, sizeof(struct ath12k_wmi_mac_phy_caps_params)). The\nsubsequent memcpy() destination advances by sizeof(full struct) per slot\nvia C pointer arithmetic, not by the clamped len. When firmware sends\nshort TLVs, the second and later slots are written past the end of the\nallocation.\n\nThe reader in ath12k_pull_mac_phy_cap_svc_ready_ext() also indexes the\nbuffer with full-struct pointer arithmetic, so the allocation must match\nthat stride.\n\nFix by using kzalloc_objs(), which derives the element size from the\npointer type, making allocation size and pointer stride provably\nconsistent regardless of what len the firmware provides.\n\nTested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3"}],"metrics":[{"cvssV3_1":{"baseScore":8.4,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The malformed bytes are WMI_TAG_MAC_PHY_CAPABILITIES TLVs inside WMI_SERVICE_READY_EXT_EVENTID, DMA'd from the ath12k firmware Copy Engine (ath12k_ce_recv_process_cb → ath12k_htc_rx_completion_handler → ath12k_wmi_op_rx → ath12k_service_ready_ext_event → ath12k_wmi_mac_phy_caps_parse). That is PCIe/AHB host-firmware WMI, not an 802.11 frame.\nAC:L - Firmware sets tot_phy_id via fls(phy_id_map) in ath12k_wmi_hw_mode_caps_parse and the TLV length (no min_len for WMI_TAG_MAC_PHY_CAPABILITIES). Any tot_phy_id>=2 with len < sizeof(struct ath12k_wmi_mac_phy_caps_params) makes memcpy of slot 1+ land past the tot_phy_id*len kzalloc; no race or layout lottery.\nPR:N - The CE/HTC WMI receive path has no capable() or authentication check; ath12k_service_ready_ext_event parses whatever firmware posts. A compromised or malicious WCN7850/QCN9274 firmware needs no Linux account.\nUI:N - ath12k_core_start() blocks in ath12k_wmi_wait_for_service_ready() during probe and crash recovery (ath12k_core_reconfigure_on_crash); the overflow runs when that event arrives, with no victim ioctl, mount, or iface config.\nS:U - The GFP_ATOMIC heap overflow is in the host kernel's mac_phy_caps buffer allocated by ath12k_wmi_mac_phy_caps_parse. Impact stays in that kernel; this is not a KVM/Xen escape or IOMMU DMA-remapping bypass.\nC:H - memcpy writes firmware-chosen payloads at full-struct strides past a short tot_phy_id*len object, and ath12k_wmi_save_all_mac_phy_info()/ath12k_pull_mac_phy_cap_svc_ready_ext() then read that heap with the same stride, giving a high-confidentiality primitive from adjacent objects.\nI:H - Each overflowing slot is an out-of-bounds write of firmware-controlled contents (up to just-under-sizeof(struct ath12k_wmi_mac_phy_caps_params) bytes) into the kernel heap, enabling adjacent-object corruption and control-flow hijack.\nA:H - The same OOB write, and the later full-struct walk of the undersized mac_phy_caps buffer in ath12k_wmi_save_all_mac_phy_info(), can smash heap metadata or adjacent pointers and oops/panic the kernel."}]}],"providerMetadata":{"dateUpdated":"2026-09-18T17:55:06.735Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d3355e0fdbbf531ca8b82a6a3feb80a1b7306a8b"},{"url":"https://git.kernel.org/stable/c/b9a5d12cbdeb860306f8d47c92caee0ea6ee0e0a"},{"url":"https://git.kernel.org/stable/c/26f8f87f0a556e7984366c64cebc16d49e15d22f"},{"url":"https://git.kernel.org/stable/c/4c6eb712a91fa079be6f9f1419c96e0ad2227081"}],"title":"wifi: ath12k: fix stride mismatch in mac_phy_caps_parse()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-90399","datePublished":"2026-09-17T16:09:30.273Z","dateReserved":"2026-09-11T19:38:34.811Z","dateUpdated":"2026-09-18T17:55:06.735Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-17 17:17:39","lastModifiedDate":"2026-09-18 18:17:57","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.4,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.5,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"90399","Ordinal":"1","Title":"wifi: ath12k: fix stride mismatch in mac_phy_caps_parse()","CVE":"CVE-2026-90399","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"90399","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix stride mismatch in mac_phy_caps_parse()\n\nCurrently, in ath12k_wmi_mac_phy_caps_parse(), kzalloc() sizes the\nmac_phy_caps buffer as tot_phy_id * len, where len is clamped to\nmin(firmware_len, sizeof(struct ath12k_wmi_mac_phy_caps_params)). The\nsubsequent memcpy() destination advances by sizeof(full struct) per slot\nvia C pointer arithmetic, not by the clamped len. When firmware sends\nshort TLVs, the second and later slots are written past the end of the\nallocation.\n\nThe reader in ath12k_pull_mac_phy_cap_svc_ready_ext() also indexes the\nbuffer with full-struct pointer arithmetic, so the allocation must match\nthat stride.\n\nFix by using kzalloc_objs(), which derives the element size from the\npointer type, making allocation size and pointer stride provably\nconsistent regardless of what len the firmware provides.\n\nTested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3","Type":"Description","Title":"wifi: ath12k: fix stride mismatch in mac_phy_caps_parse()"}]}}}