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 0AC3D2571A2 for ; Fri, 22 Aug 2025 16:02:55 +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=1755878575; cv=none; b=r64d5vA37defI+fpFW9TCcvWEuP6SeQgcNycHD1AWQZyp7juUbBwpOCSIcpz6gcaSJs+OMN3k73EJvIS5iJURmcGaKtO3DHhu1DpyeNsvdqU16qWS6qOLxVv1OnOy+IKzY1Ij/XW1fno6Jq3c4Nh7395vY4keA5HJGFKKFESjXQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755878575; c=relaxed/simple; bh=dXI6+lLGo/eimYnYwHUvhulQBa/HrJlRztF+23lfJ5w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XNGA/4TQ2Y7gPzbr4sGM5kdYPuFjoptnXhOyjqESDvKdvtw2Eg0JUXUvkxHj+XES/DLpc9dLAMBTN4hdI6c969apqjsuVCx7QTANepyfqAdRelJRuV0onAkskJWWIjCjoo5oroNQ81Dl7enbkFAJoatLw6rs/SNevTngJY+xb04= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cWZUohQG; 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="cWZUohQG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85D64C4CEED; Fri, 22 Aug 2025 16:02:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755878574; bh=dXI6+lLGo/eimYnYwHUvhulQBa/HrJlRztF+23lfJ5w=; h=From:To:Cc:Subject:Date:Reply-to:From; b=cWZUohQGIpVsCbDiFfun/n1jrcv4vxvkTzzLYiReesJDH/ghx0Id2L229ZZlXpnB1 jJUna5AQB6NftAFd4uovCHZ4qjdS0R/g2hcMpmmTIiGEZFU7NUd9J6Ck64eT2liDEb nVN+RJk1i/KiuhvkVAAKhx9yfnTDn5bFATv3vjJ4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38644: wifi: mac80211: reject TDLS operations when station is not associated Date: Fri, 22 Aug 2025 18:00:52 +0200 Message-ID: <2025082235-CVE-2025-38644-39b4@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3084; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aMKYK3B3zEM01B2UfuDXlBfYMwYG148qFwUUptKh2Jc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkrpiibVjJU377m+rP0kHz0WXPmSU89agUtRCw3OKx+f pP7+PIlHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRumUMC6b8XaFlvXxhfmjE ja47yhEZHEceOzAsmJxgpbnbINHbqTVJzUamSN00/aYrAA== 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: reject TDLS operations when station is not associated syzbot triggered a WARN in ieee80211_tdls_oper() by sending NL80211_TDLS_ENABLE_LINK immediately after NL80211_CMD_CONNECT, before association completed and without prior TDLS setup. This left internal state like sdata->u.mgd.tdls_peer uninitialized, leading to a WARN_ON() in code paths that assumed it was valid. Reject the operation early if not in station mode or not associated. The Linux kernel CVE team has assigned CVE-2025-38644 to this issue. Affected and fixed versions =========================== Issue introduced in 3.17 with commit 81dd2b8822410e56048b927be779d95a2b6dc186 and fixed in 6.1.148 with commit 0c84204cf0bbe89e454a5caccc6a908bc7db1542 Issue introduced in 3.17 with commit 81dd2b8822410e56048b927be779d95a2b6dc186 and fixed in 6.6.102 with commit 378ae9ccaea3f445838a087962a067b5cb2e8577 Issue introduced in 3.17 with commit 81dd2b8822410e56048b927be779d95a2b6dc186 and fixed in 6.12.42 with commit af72badd5ee423eb16f6ad7fe0a62f1b4252d848 Issue introduced in 3.17 with commit 81dd2b8822410e56048b927be779d95a2b6dc186 and fixed in 6.15.10 with commit 4df663d4c1ca386dcab2f743dfc9f0cc07aef73c Issue introduced in 3.17 with commit 81dd2b8822410e56048b927be779d95a2b6dc186 and fixed in 6.16.1 with commit 31af06b574394530f68a4310c45ecbe2f68853c4 Issue introduced in 3.17 with commit 81dd2b8822410e56048b927be779d95a2b6dc186 and fixed in 6.17-rc1 with commit 16ecdab5446f15a61ec88eb0d23d25d009821db0 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-2025-38644 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/tdls.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/0c84204cf0bbe89e454a5caccc6a908bc7db1542 https://git.kernel.org/stable/c/378ae9ccaea3f445838a087962a067b5cb2e8577 https://git.kernel.org/stable/c/af72badd5ee423eb16f6ad7fe0a62f1b4252d848 https://git.kernel.org/stable/c/4df663d4c1ca386dcab2f743dfc9f0cc07aef73c https://git.kernel.org/stable/c/31af06b574394530f68a4310c45ecbe2f68853c4 https://git.kernel.org/stable/c/16ecdab5446f15a61ec88eb0d23d25d009821db0