CVE-2026-93806: wifi: cfg80211: validate assoc response length before status and IE access
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: cfg80211: validate assoc response length before status and IE access
cfg80211_rx_assoc_resp() initialises the status and response-IE fields of cfg80211_connect_resp_params from the management frame before proving that the frame is long enough for those offsets. S1G and regular association responses also have different IE offsets, but the S1G path only patched resp_ie after the unsafe initialiser had already run.
Defer resp_ie, resp_ie_len, and status to after the link-iteration loop. Use a bool to remember whether the frame is S1G, then validate the appropriate minimum length and set all three fields in a single if/else block. Funnel short-frame and SME-reject cleanup through a shared free_bss label for the abandon paths.
The Linux kernel CVE team has assigned CVE-2026-93806 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.111 with commit a57310600c1e2b9ada0f37c96e8f48aef47d3093 Fixed in 6.18.53 with commit 78ac450ad4624d6b2999cb4eeb28916767f81247 Fixed in 7.2 with commit b760113aeca2e9362d56bf9e9263373ffe6c8eb3
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93806
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/wireless/mlme.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/a57310600c1e2b9ada0f37c96e8f48aef47d3093 https://git.kernel.org/stable/c/78ac450ad4624d6b2999cb4eeb28916767f81247 https://git.kernel.org/stable/c/b760113aeca2e9362d56bf9e9263373ffe6c8eb3