Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F3C603A3E60 for ; Wed, 25 Mar 2026 10:28:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434497; cv=none; b=I9ImnP4gmpam1Ck+OJgvMPfK2kxPHbdAIUb9Nxvs+e39CxDSb5j/ESvTEt2ahZRG0LeJhoBYpOEs5lGtd/e+OU5gjbwqDg5PfsFoVmRWqGBxZWhfN3QslWy0NzEXgC4GlyrgcebES1p0UZcIEZ3MwvPODY+qOT1kMqKznM7Wa+Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434497; c=relaxed/simple; bh=mgNztvHm0SxG473ruLs0XLpV1KdBgV2LJbpLOhVkC28=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pgZzhHg4JOV5OWdL3HBRq92rihEjT/ZGG6xNVxKAkFUnbgiW1KecJzMGZRarX+BjDzxxs8e7xWeDAHrHLAP46iw/2bD5RFMvssEVvR7NxtEIf/SQw5aN7Rc4UnoKYaDk2UgKWjAieK/qRQaibsLixyWxCmtYWpe3O7bwYDgI/4M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=s9fCc6gW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="s9fCc6gW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84487C4CEF7; Wed, 25 Mar 2026 10:28:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434496; bh=mgNztvHm0SxG473ruLs0XLpV1KdBgV2LJbpLOhVkC28=; h=From:To:Cc:Subject:Date:Reply-To:From; b=s9fCc6gWAU6GnBuc8IbPOs9O7h/FJJ77i8IXK7Bz3CaoDJExRFsxaKCJS19ZzcxPK iU8uWLVOcpQbPHegaJiog+8TXmtHPQUhwLPzu0RT0en5ZEuGAwWO6hVDyb7H5v+KGZ lDoI+mC8sVCCS7IKj3cSM6cnWOeKM9lJEog/GUhU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23279: wifi: mac80211: fix NULL pointer dereference in mesh_rx_csa_frame() Date: Wed, 25 Mar 2026 11:26:23 +0100 Message-ID: <2026032522-CVE-2026-23279-cf34@gregkh> X-Mailer: git-send-email 2.53.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=4181; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EUH0t+ytf8l0PdPozVO1tA9Kfeyv6h/GMXueSwESynM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd/j/yxHnueG10/GB0t4PG97cvhLwPihri7z2D7Vj1 h0F0UrZHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR7e8M8wOiJtn9Xdx90uo6 R9/OqyGMjxt63zLMlQ6IfxBVa3tlz0crg5h9VndOzcsQAwA= 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: mac80211: fix NULL pointer dereference in mesh_rx_csa_frame() In mesh_rx_csa_frame(), elems->mesh_chansw_params_ie is dereferenced at lines 1638 and 1642 without a prior NULL check: ifmsh->chsw_ttl = elems->mesh_chansw_params_ie->mesh_ttl; ... pre_value = le16_to_cpu(elems->mesh_chansw_params_ie->mesh_pre_value); The mesh_matches_local() check above only validates the Mesh ID, Mesh Configuration, and Supported Rates IEs. It does not verify the presence of the Mesh Channel Switch Parameters IE (element ID 118). When a received CSA action frame omits that IE, ieee802_11_parse_elems() leaves elems->mesh_chansw_params_ie as NULL, and the unconditional dereference causes a kernel NULL pointer dereference. A remote mesh peer with an established peer link (PLINK_ESTAB) can trigger this by sending a crafted SPECTRUM_MGMT/CHL_SWITCH action frame that includes a matching Mesh ID and Mesh Configuration IE but omits the Mesh Channel Switch Parameters IE. No authentication beyond the default open mesh peering is required. Crash confirmed on kernel 6.17.0-5-generic via mac80211_hwsim: BUG: kernel NULL pointer dereference, address: 0000000000000000 Oops: Oops: 0000 [#1] SMP NOPTI RIP: 0010:ieee80211_mesh_rx_queued_mgmt+0x143/0x2a0 [mac80211] CR2: 0000000000000000 Fix by adding a NULL check for mesh_chansw_params_ie after mesh_matches_local() returns, consistent with how other optional IEs are guarded throughout the mesh code. The bug has been present since v3.13 (released 2014-01-19). The Linux kernel CVE team has assigned CVE-2026-23279 to this issue. Affected and fixed versions =========================== Issue introduced in 3.13 with commit 8f2535b92d685c68db4bc699dd78462a646f6ef9 and fixed in 6.1.167 with commit 2b5f282b1b7241ef624c3399a1cdff0bb1a3eeab Issue introduced in 3.13 with commit 8f2535b92d685c68db4bc699dd78462a646f6ef9 and fixed in 6.6.130 with commit 22a9adea7e26d236406edc0ea00b54351dd56b9c Issue introduced in 3.13 with commit 8f2535b92d685c68db4bc699dd78462a646f6ef9 and fixed in 6.12.77 with commit f5d8af683410a8c82e48b51291915bd612523d9a Issue introduced in 3.13 with commit 8f2535b92d685c68db4bc699dd78462a646f6ef9 and fixed in 6.18.17 with commit cc6d5a3c0a854aeae00915fc5386570c86029c60 Issue introduced in 3.13 with commit 8f2535b92d685c68db4bc699dd78462a646f6ef9 and fixed in 6.19.7 with commit be8b82c567fda86f2cbb43b7208825125bb31421 Issue introduced in 3.13 with commit 8f2535b92d685c68db4bc699dd78462a646f6ef9 and fixed in 7.0-rc2 with commit 017c1792525064a723971f0216e6ef86a8c7af11 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-23279 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/mac80211/mesh.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/2b5f282b1b7241ef624c3399a1cdff0bb1a3eeab https://git.kernel.org/stable/c/22a9adea7e26d236406edc0ea00b54351dd56b9c https://git.kernel.org/stable/c/f5d8af683410a8c82e48b51291915bd612523d9a https://git.kernel.org/stable/c/cc6d5a3c0a854aeae00915fc5386570c86029c60 https://git.kernel.org/stable/c/be8b82c567fda86f2cbb43b7208825125bb31421 https://git.kernel.org/stable/c/017c1792525064a723971f0216e6ef86a8c7af11