Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 63C8D4BE458 for ; Thu, 24 Sep 2026 16:06:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266002; cv=none; b=qDigND9XvsJwCi/0oHiZw89wyshbvnNEMA978E0cK3OMi57djDmRai89aNP/wH687avnTEOaEnxHGNW5DtWJJiXEUPybJ4+J942LZxweLaWzBPeyNYoHhYSLzfgOS6ztXPj6yBsi534nmEXlioL11gnfFCj1JNc5jH0PQZAVzS8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266002; c=relaxed/simple; bh=vv5eso/7mIi/U3/Zhvhsp4zubZHGBvTZ4BXvubMciPk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Zns7/xDn2/EeEJRqNxH0inwKZ1C93Tp/oleFl7qOaDVF/G/rHvuXKaUb5UYup/DTGHiKg0Em1Abv3wkLIqm9r1hC/YmJJjok2KKrSBYR6gQsdYL7CzquhKXCn3XODFpqZJlPRGKa9/2aJRr0UIwecDPjFtXv6kD++H1XvC2tZnE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bhOfeaMa; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="bhOfeaMa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1025B1F000FF; Thu, 24 Sep 2026 16:06:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790265999; bh=OaK8cy6BtMG1cpVGGZwPIllLiPDZDLxSghuPaPPhRiQ=; h=From:To:Cc:Subject:Date:Reply-To; b=bhOfeaMaQ69KqopeXVCTmGewC9F+PQOYi4qwWXRAaaB5SmdysnDs+E5nr/vbTSWaE 1irh35fmTs1q9LJWf32JtdoSIf2SGVapAsz72MOTSoly7Ue8DYRl6VXSwxUBiu9aEg NMVah6pTEqni0WUN+Wp9u1JE84vur1cv1Ala/mGw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93805: wifi: cfg80211: validate rx/tx MLME callback frame lengths before access Date: Thu, 24 Sep 2026 18:02:41 +0200 Message-ID: <2026092419-CVE-2026-93805-a8ec@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3528; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NdKfIgPQQ8HxR4CVveuVn6NNq3Cc+YkmCjeGRj9EtQM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPbu19953aT3Vd7/tTbxYuP0k0emMTR2vzmfMkip9w HonOUikI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZieoxhvvtON6GZKi/5su/Y 9vot0ueru2qqxjBXQkFOdM3/Q3F/I1hn1DcsEvqwt0EUAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== 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. The Linux kernel CVE team has assigned CVE-2026-93805 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit 0ec738a0d361d7eb37188117166d201f9df622d3 Fixed in 6.18.53 with commit 8f4127a93cf60d561ad39849a9ac763ba0e14db5 Fixed in 7.2 with commit d5e4586546974179feca305a94e07fac3e9727fe 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-93805 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/0ec738a0d361d7eb37188117166d201f9df622d3 https://git.kernel.org/stable/c/8f4127a93cf60d561ad39849a9ac763ba0e14db5 https://git.kernel.org/stable/c/d5e4586546974179feca305a94e07fac3e9727fe