Skip to content
Heist/ feed
Unrated

wifi: cfg80211: validate rx/tx MLME callback frame lengths before access

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: validate rx/tx MLME callback frame lengths before access cfg80211_rx_mlme_mgmt() and cfg80211_tx_mlme_mgmt() call tracepoints before rejecting frames shorter than the frame-control field. After that, they only require len >= 2 before dispatching into subtype handlers that assume their fixed fields are present. The frames that trip this are not shorter than 2 bytes; they are short relative to their subtype. mwifiex is a concrete in-tree example on the length side: mwifiex_process_mgmt_packet() only requires a 4-address ieee80211_hdr plus the 2-byte firmware length prefix before handing the frame to cfg80211_rx_mlme_mgmt(). After stripping the length prefix and removing addr4, pkt_len can be exactly 24: a bare 3-address management header with no reason-code body. The existing WARN_ON(len < 2) does not fire on such a frame, and cfg80211_process_deauth() then reads u.deauth.reason_code as a two-byte access starting at offset 24, immediately past the 24-byte buffer. Add a frame-control length gate, then validate each subtype's minimum frame size in an if/else-if chain that mirrors the dispatch logic. Trace only after the frame is known to be well-formed. Side effects of this change: - The WARN_ON(len < 2) is dropped. It only guarded the frame_control read, never the subtype fixed fields, and it does not fire on the frames that actually trigger the out-of-bounds read (which are >= 2). The len >= 2 c

Announced Group revision 1
Original source ↗

CVE-2026-93805

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-93805

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": "6829c878ecd24ff0ae41b4668c7e9d0f11b66942",
        "lessThan": "6eb4bd50be53f5afbabb3a3b5153276e08fa7a4a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6829c878ecd24ff0ae41b4668c7e9d0f11b66942",
        "lessThan": "ce2a3be6909462f49c34de96be71f0ad5f0d573f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6829c878ecd24ff0ae41b4668c7e9d0f11b66942",
        "lessThan": "6bdf4dcff98df634e04ebf99f52027a48d7f78ff",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6829c878ecd24ff0ae41b4668c7e9d0f11b66942",
        "lessThan": "0ec738a0d361d7eb37188117166d201f9df622d3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6829c878ecd24ff0ae41b4668c7e9d0f11b66942",
        "lessThan": "8f4127a93cf60d561ad39849a9ac763ba0e14db5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6829c878ecd24ff0ae41b4668c7e9d0f11b66942",
        "lessThan": "d5e4586546974179feca305a94e07fac3e9727fe",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/wireless/mlme.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "2.6.32"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "2.6.32",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.15.222",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.189",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.158",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/wireless/mlme.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-93805

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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