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 1E7C820E71F for ; Thu, 6 Mar 2025 16:04:56 +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=1741277096; cv=none; b=YGmJpBPhcAEPWm5zaReyMbo0+6NnycjZ2IwawTlNTSHjv+sTQdHQYknVXoT7gBpSaqPqiMxt+OJeCti7cw9Kmja81/ZhDmajA3nUO/BYETJN+eCEgQYIo21FruveDjY3ERREKM+RdmgV7r8irMYzOQaw1+lAQvapHFrkiN9/0kQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741277096; c=relaxed/simple; bh=T406MqjsKPmqtHV5PuIjfJS8+8Uatclq8JR9E+YSVa4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=upCO3qD/9P4jwaKq5PaYWf4L6IQZwSoWdK1JF1xxlOtnFmj/7dDrTv/45rvJiastva/cPd8DAlCYpf+6fvn/03Mg3JuiZ8AT87QtshI7wM38iS6E16AUWDB+jrtfeiAk8MNLLJP9Qxh4OLRWv1pTEgTr+yDVQmsIHF/Lv+UNkL8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dquV2YbI; 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="dquV2YbI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91422C4CEE0; Thu, 6 Mar 2025 16:04:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741277096; bh=T406MqjsKPmqtHV5PuIjfJS8+8Uatclq8JR9E+YSVa4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=dquV2YbIsxVjsKnykvRwPDhoBRSM0fu1PFlwWG4zxja8N/zTBTZbB0S1It0d0q5e9 IDLVa3kIQps7CKwupjeY6sT3H20FX1KHRT2Db6kIoRpbLgM1XvQxLhI4wa6h6ouNUK rJZLVi45o96UkeP5tH7ay4tmhxGNCn26zQln9j88= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21828: wifi: mac80211: don't flush non-uploaded STAs Date: Thu, 6 Mar 2025 17:04:33 +0100 Message-ID: <2025030630-CVE-2025-21828-cb05@gregkh> X-Mailer: git-send-email 2.48.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=2499; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=T406MqjsKPmqtHV5PuIjfJS8+8Uatclq8JR9E+YSVa4=; b=owGbwMvMwCRo6H6F97bub03G02pJDOknj/f3PxffN2HiH5k1je0azXqxk84ESaiHT4jhzwqbJ Vp2Zv2ZjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIDlOGBQdCfH7nn7DPio95 oO9+rtXeUN7AmGG+d2rSv2Uf9yucdZJKu/pFP1L14c35AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: don't flush non-uploaded STAs If STA state is pre-moved to AUTHORIZED (such as in IBSS scenarios) and insertion fails, the station is freed. In this case, the driver never knew about the station, so trying to flush it is unexpected and may crash. Check if the sta was uploaded to the driver before and fix this. The Linux kernel CVE team has assigned CVE-2025-21828 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit d00800a289c9349bb659a698cbd7bc04521dc927 and fixed in 6.6.76 with commit cf21ef3d430847ba864bbc9b2774fffcc03ce321 Issue introduced in 6.4 with commit d00800a289c9349bb659a698cbd7bc04521dc927 and fixed in 6.12.13 with commit cd10b7fcb95a6a86c67adc54304c59a578ab16af Issue introduced in 6.4 with commit d00800a289c9349bb659a698cbd7bc04521dc927 and fixed in 6.13.2 with commit 9efb5531271fa7ebae993b2a33a705d9947c7ce6 Issue introduced in 6.4 with commit d00800a289c9349bb659a698cbd7bc04521dc927 and fixed in 6.14-rc1 with commit aa3ce3f8fafa0b8fb062f28024855ea8cb3f3450 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-21828 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/driver-ops.h 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/cf21ef3d430847ba864bbc9b2774fffcc03ce321 https://git.kernel.org/stable/c/cd10b7fcb95a6a86c67adc54304c59a578ab16af https://git.kernel.org/stable/c/9efb5531271fa7ebae993b2a33a705d9947c7ce6 https://git.kernel.org/stable/c/aa3ce3f8fafa0b8fb062f28024855ea8cb3f3450