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 16A193E3D80 for ; Tue, 6 Oct 2026 10:30:00 +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=1791282602; cv=none; b=hulZNdMO2M6xTJunJRhFqjzQl5DgCQ6/NTujVGWySWZJlnEO/9olpWJzTjUfGBtFSO7vEJL+VrelktOozn6C9ewzDzufQKHpQ4sZjYakPzRpc6zBnbEX6loSYhJB5dkvU+yTZtlM8Utt9SybyGVMYCyzWbeiFGGDVvfJ5uJB5VI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282602; c=relaxed/simple; bh=W645jPiM+Wptv76Ty1dcntFtvkS7P4W7IXoZ76KeW/s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q0vri02irxoVz8T46nTD9cfR5Qo46KxhzQd42unmV7PFCBXxs5zKa/kXKcSpYBK+p/7FU06xWO5FVmqKNP0QEKunQYgaw9vtQ/KF8z8aBiGPB77bhzWpI5/Euc0MfAgGGd3nu4lU50eO0chTnKOZqUpAOFLksbzeptSaNRbCQW0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FRnMorEt; 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="FRnMorEt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0EE01F00898; Tue, 6 Oct 2026 10:29:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282600; bh=uzziO7L9q4fFPA3lCWizWV+2+u9ZEuPUQdD7BOl663o=; h=From:To:Cc:Subject:Date:Reply-To; b=FRnMorEtVkVmh/VtGmZoCyfSh8NfPaSllEvvnjQQuBNeDF1N1m1z4vsCPPpC2ZDeS ayMOL8v0f0yQReM+yfuF9wFtQU+0LqQsXDsOwgAkLDmWH1UCwO1xmpIA1gOSdaDNpA laot0rm3JL2selTSsmeSSt5tz63RIEBiVpk5I4K8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98327: wifi: mac80211: mesh: reset the CSA state when leaving Date: Tue, 6 Oct 2026 10:47:08 +0200 Message-ID: <2026100614-CVE-2026-98327-c682@gregkh> X-Mailer: git-send-email 2.56.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=2654; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UTUZhAj7Ql+i6eM+iUabubwNsl072w05uaaWdqXFAag=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtkqtN/3XtjPu/b+IqScdgyY2tJlnST8y37j0q86Et rwcrYcbOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi7UcZ5sqozb6d9vnvfJdD Z7vTgq566/fNnc0wzzx398QMRc3VX0smdqyapHXv70r5TgA= 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: mesh: reset the CSA state when leaving ifmsh->csa is allocated in ieee80211_mesh_csa_beacon() and only freed in ieee80211_mesh_finish_csa(), i.e. when the channel switch completes. Leaving the mesh while a switch is still pending therefore leaks it. Additionally, ifmsh->csa_role and ifmsh->chsw_ttl have their state leak in this case, so things can get mixed up in addition to the memory leak. Refactor the reset and call it in ieee80211_stop_mesh() to fix it all. The Linux kernel CVE team has assigned CVE-2026-98327 to this issue. Affected and fixed versions =========================== Issue introduced in 3.13 with commit b8456a14e9d2770846fcf74de18ff95b676149a3 and fixed in 6.12.112 with commit aba8dfb45864441199748c33ce3c1c8ca121c8bd Issue introduced in 3.13 with commit b8456a14e9d2770846fcf74de18ff95b676149a3 and fixed in 6.18.54 with commit bd3b21145ae2e781daac1bbd19216a63ab4e0cbd Issue introduced in 3.13 with commit b8456a14e9d2770846fcf74de18ff95b676149a3 and fixed in 7.2.8 with commit ba5bf83a81e8832cb84bb3a2da67512f81f57a02 Issue introduced in 3.13 with commit b8456a14e9d2770846fcf74de18ff95b676149a3 and fixed in 7.3-rc4 with commit 860134b3af77970e006feab7e5decb8c84771c7f 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-98327 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/aba8dfb45864441199748c33ce3c1c8ca121c8bd https://git.kernel.org/stable/c/bd3b21145ae2e781daac1bbd19216a63ab4e0cbd https://git.kernel.org/stable/c/ba5bf83a81e8832cb84bb3a2da67512f81f57a02 https://git.kernel.org/stable/c/860134b3af77970e006feab7e5decb8c84771c7f