{"api_version":"1","generated_at":"2026-09-19T10:58:47+00:00","cve":"CVE-2026-90398","urls":{"html":"https://cve.report/CVE-2026-90398","api":"https://cve.report/api/cve/CVE-2026-90398.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-90398","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-90398"},"summary":{"title":"wifi: ath11k: fix stride mismatch in mac_phy_caps_parse()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath11k: fix stride mismatch in mac_phy_caps_parse()\n\nCurrently, in ath11k_wmi_tlv_mac_phy_caps_parse(), kcalloc() sizes the\nmac_phy_caps buffer as tot_phy_id * len, where len is clamped to\nmin(firmware_len, sizeof(struct wmi_mac_phy_capabilities)). The subsequent\nmemcpy() destination advances by sizeof(full struct) per slot via C\npointer arithmetic, not by the clamped len. When firmware sends short\nTLVs, the second and later slots are written past the end of the\nallocation.\n\nThe reader in ath11k_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\nCompile tested only.","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/acff2713c3212ade15051e7b421f15c89927e70f","name":"https://git.kernel.org/stable/c/acff2713c3212ade15051e7b421f15c89927e70f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bbb3b3334a9ed850c5b332eedea107796e691237","name":"https://git.kernel.org/stable/c/bbb3b3334a9ed850c5b332eedea107796e691237","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7a246c72132eb943b5844ba79dad597b47429dba","name":"https://git.kernel.org/stable/c/7a246c72132eb943b5844ba79dad597b47429dba","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/75185e2b214e842b7e0af29e5d1fef155662b8b1","name":"https://git.kernel.org/stable/c/75185e2b214e842b7e0af29e5d1fef155662b8b1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-90398","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90398","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5b90fc760db5a969ed26d70f8e62c91915f012bd bbb3b3334a9ed850c5b332eedea107796e691237 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5b90fc760db5a969ed26d70f8e62c91915f012bd 75185e2b214e842b7e0af29e5d1fef155662b8b1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5b90fc760db5a969ed26d70f8e62c91915f012bd acff2713c3212ade15051e7b421f15c89927e70f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5b90fc760db5a969ed26d70f8e62c91915f012bd 7a246c72132eb943b5844ba79dad597b47429dba git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.6","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.6 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":"90398","cve":"CVE-2026-90398","epss":"0.001680000","percentile":"0.064920000","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/ath11k/wmi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"bbb3b3334a9ed850c5b332eedea107796e691237","status":"affected","version":"5b90fc760db5a969ed26d70f8e62c91915f012bd","versionType":"git"},{"lessThan":"75185e2b214e842b7e0af29e5d1fef155662b8b1","status":"affected","version":"5b90fc760db5a969ed26d70f8e62c91915f012bd","versionType":"git"},{"lessThan":"acff2713c3212ade15051e7b421f15c89927e70f","status":"affected","version":"5b90fc760db5a969ed26d70f8e62c91915f012bd","versionType":"git"},{"lessThan":"7a246c72132eb943b5844ba79dad597b47429dba","status":"affected","version":"5b90fc760db5a969ed26d70f8e62c91915f012bd","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/wireless/ath/ath11k/wmi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.6"},{"lessThan":"5.6","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":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.52","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"5.6","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath11k: fix stride mismatch in mac_phy_caps_parse()\n\nCurrently, in ath11k_wmi_tlv_mac_phy_caps_parse(), kcalloc() sizes the\nmac_phy_caps buffer as tot_phy_id * len, where len is clamped to\nmin(firmware_len, sizeof(struct wmi_mac_phy_capabilities)). The subsequent\nmemcpy() destination advances by sizeof(full struct) per slot via C\npointer arithmetic, not by the clamped len. When firmware sends short\nTLVs, the second and later slots are written past the end of the\nallocation.\n\nThe reader in ath11k_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\nCompile tested only."}],"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 short WMI_TAG_MAC_PHY_CAPABILITIES lengths that undersize kcalloc() arrive in WMI_SERVICE_READY_EXT_EVENTID on the target-to-host WMI Copy Engine (CE2 → ath11k_ce_recv_process_cb → ath11k_htc_rx_completion_handler → ath11k_wmi_tlv_op_rx), a host-firmware HTC path, not over-the-air 802.11 frames.\nAC:L - wmi_tlv_policies has no min_len for WMI_TAG_MAC_PHY_CAPABILITIES, and tot_phy_id is the firmware phy_id_map shift-count from ath11k_wmi_tlv_hw_mode_caps_parse(); a SERVICE_READY_EXT with tot_phy_id>=2 and TLV len < sizeof(struct wmi_mac_phy_capabilities) makes the memcpy() past the allocation deterministic, with no race.\nPR:N - ath11k_service_ready_ext_event() runs from the WMI HTC rx callback during ath11k_core_start() with no capability, credential, or host authentication check; the device firmware is the sole source of the MAC_PHY_CAPABILITIES TLVs.\nUI:N - ath11k_wmi_wait_for_service_ready() in ath11k_core_start() consumes SERVICE_READY_EXT on probe and again from ath11k_core_reconfigure_on_crash(); no victim action such as mounting a volume or opening a file is required.\nS:U - The overflowed memcpy() corrupts the GFP_ATOMIC mac_phy_caps heap object inside the host kernel's ath11k WMI parser and does not cross a VM, IOMMU, or other separate security authority.\nC:H - Firmware-chosen bytes are written past the tot_phy_id*len kcalloc() at sizeof(struct wmi_mac_phy_capabilities) strides (~232 bytes), which is heap memory corruption that can be leveraged for arbitrary disclosure.\nI:H - Each overflowed memcpy() in ath11k_wmi_tlv_mac_phy_caps_parse() stores firmware-chosen TLV payload past the mac_phy_caps heap object, an out-of-bounds kernel write of attacker-controlled length and contents.\nA:H - The same heap overflow of mac_phy_caps, and later full-struct indexing in ath11k_pull_mac_phy_cap_svc_ready_ext(), can oops or panic the kernel."}]}],"providerMetadata":{"dateUpdated":"2026-09-18T17:55:05.394Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/bbb3b3334a9ed850c5b332eedea107796e691237"},{"url":"https://git.kernel.org/stable/c/75185e2b214e842b7e0af29e5d1fef155662b8b1"},{"url":"https://git.kernel.org/stable/c/acff2713c3212ade15051e7b421f15c89927e70f"},{"url":"https://git.kernel.org/stable/c/7a246c72132eb943b5844ba79dad597b47429dba"}],"title":"wifi: ath11k: 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-90398","datePublished":"2026-09-17T16:09:29.626Z","dateReserved":"2026-09-11T19:38:34.811Z","dateUpdated":"2026-09-18T17:55:05.394Z","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":"90398","Ordinal":"1","Title":"wifi: ath11k: fix stride mismatch in mac_phy_caps_parse()","CVE":"CVE-2026-90398","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"90398","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath11k: fix stride mismatch in mac_phy_caps_parse()\n\nCurrently, in ath11k_wmi_tlv_mac_phy_caps_parse(), kcalloc() sizes the\nmac_phy_caps buffer as tot_phy_id * len, where len is clamped to\nmin(firmware_len, sizeof(struct wmi_mac_phy_capabilities)). The subsequent\nmemcpy() destination advances by sizeof(full struct) per slot via C\npointer arithmetic, not by the clamped len. When firmware sends short\nTLVs, the second and later slots are written past the end of the\nallocation.\n\nThe reader in ath11k_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\nCompile tested only.","Type":"Description","Title":"wifi: ath11k: fix stride mismatch in mac_phy_caps_parse()"}]}}}