Skip to content
Heist/ feed
High

wifi: ath11k: fix stride mismatch in mac_phy_caps_parse()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: fix stride mismatch in mac_phy_caps_parse() Currently, in ath11k_wmi_tlv_mac_phy_caps_parse(), kcalloc() sizes the mac_phy_caps buffer as tot_phy_id * len, where len is clamped to min(firmware_len, sizeof(struct wmi_mac_phy_capabilities)). 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 ath11k_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. Compile tested only.

Announced Group revision 1
Original source ↗

CVE-2026-90398

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-90398

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5b90fc760db5a969ed26d70f8e62c91915f012bd",
        "lessThan": "b2ecd548f89a4a6c14b5eb4abc825f92b3068dda",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5b90fc760db5a969ed26d70f8e62c91915f012bd",
        "lessThan": "bbb3b3334a9ed850c5b332eedea107796e691237",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5b90fc760db5a969ed26d70f8e62c91915f012bd",
        "lessThan": "75185e2b214e842b7e0af29e5d1fef155662b8b1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5b90fc760db5a969ed26d70f8e62c91915f012bd",
        "lessThan": "acff2713c3212ade15051e7b421f15c89927e70f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5b90fc760db5a969ed26d70f8e62c91915f012bd",
        "lessThan": "7a246c72132eb943b5844ba79dad597b47429dba",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/wireless/ath/ath11k/wmi.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.6"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.6",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.110",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.52",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/wireless/ath/ath11k/wmi.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-90398

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#48687 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement