CVE-2026-93805
wifi: cfg80211: validate rx/tx MLME callback frame lengths before access
Reported by linux · Published September 24, 2026
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 check is kept as the guard before dereferencing frame_control, but without the warning: these are exported callbacks and a malformed frame from a driver should be dropped silently rather than backtraced. - cfg80211_tx_mlme_mgmt() previously routed every non-deauth subtype through disassociation handling; it now silently ignores unrecognised subtypes.
EPSS 0.17% · 6.9th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6829c878ecd24ff0ae41b4668c7e9d0f11b66942, 6829c878ecd24ff0ae41b4668c7e9d0f11b66942, 6829c878ecd24ff0ae41b4668c7e9d0f11b66942 |
| Linux | Linux | 2.6.32, 0, 5.15.222 |
| linux | linux_kernel | 2.6.32, 2.6.32, 2.6.32 |
| Linux | Linux | 6.12.111, 6.18.53, 7.2 |
Timeline
- Sep 24, 2026 Coalition ESS Score
- Sep 24, 2026 CVE Published
- Sep 25, 2026 EPSS Score (9 in total, the first dated here)
- Oct 3, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-93805
vulnetix vdb fixes CVE-2026-93805
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-93805/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart