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 05AFE20B7FC for ; Tue, 1 Apr 2025 15:42:30 +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=1743522150; cv=none; b=dv4CKkEocmri9AJVGUXs//McwbCMqIkuj1foxonf/xqLN02uGxAVytUolHlPLTrOBAyXfV7e33ZkDT6qKsbBWd8CQSAnRDTpmD/PEygS5+Yx6r4oCj/wGUL0BjLziG+5w/PPDeO0zXtoQd16Vk7vKsNJ0F2NNw06LwCK7aEeSvE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743522150; c=relaxed/simple; bh=F4/wbzJbgvjMitWQRE086nB9ls0I17nIA6tJZR2e4tU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NWXawiQJDEn/LCXyrLjSsdefxpX41csMpQIaFrP/225P8NolPeUmd/aR/ESOdg/UrlgPDA50d4vi53SogxZqRBLIHtJURFBzTevfoHwFTPltMxGUuKyXuMb80ET2r1oLxep856ZlyJqTGs0cYZ3nnE7TC+EzcS/jgVYCzEuEn/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ICVFcYqU; 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="ICVFcYqU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 954C8C4CEE4; Tue, 1 Apr 2025 15:42:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743522149; bh=F4/wbzJbgvjMitWQRE086nB9ls0I17nIA6tJZR2e4tU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ICVFcYqUzt/RxIwGbIcRrxVnRKPRmNAlpllqsqbNlZsbWyXKbzFeMp58wHYGWIcqj QlmdKWsfJQQ+aoMp2IjXLQ7daX+jEqpSTP1o1CBMvidFfI/LnNIS5zqvYtkPl1qf8W JaPnNkRE3R6oYqW4/6fwt/x8vcct1uX97IGhebyw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21906: wifi: iwlwifi: mvm: clean up ROC on failure Date: Tue, 1 Apr 2025 16:39:30 +0100 Message-ID: <2025040129-CVE-2025-21906-de63@gregkh> X-Mailer: git-send-email 2.49.0 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=2547; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=F4/wbzJbgvjMitWQRE086nB9ls0I17nIA6tJZR2e4tU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlvODa2S6/t++hSqmZwchtj4c7UcwbJp1P9TL/t27z46 I7fc5K2d8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEthkxzGIyKPXKbE6yvJ/3 qNHFY8NLOcUlvQzzDHzerTl79fflX3bRIUc43x39P8m+FAA= 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: iwlwifi: mvm: clean up ROC on failure If the firmware fails to start the session protection, then we do call iwl_mvm_roc_finished() here, but that won't do anything at all because IWL_MVM_STATUS_ROC_P2P_RUNNING was never set. Set IWL_MVM_STATUS_ROC_P2P_RUNNING in the failure/stop path. If it started successfully before, it's already set, so that doesn't matter, and if it didn't start it needs to be set to clean up. Not doing so will lead to a WARN_ON() later on a fresh remain- on-channel, since the link is already active when activated as it was never deactivated. The Linux kernel CVE team has assigned CVE-2025-21906 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8 and fixed in 6.12.19 with commit a88c18409b5d69f426d5acc583c053eac71756a3 Issue introduced in 6.9 with commit 35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8 and fixed in 6.13.7 with commit d1a12fcb9051bbf38b2e5af310ffb102a0fab6f9 Issue introduced in 6.9 with commit 35c1bbd93c4e6969b3ac238b48a8bdff3e223ed8 and fixed in 6.14 with commit f9751163bffd3fe60794929829f810968c6de73d 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-21906 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: drivers/net/wireless/intel/iwlwifi/mvm/time-event.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/a88c18409b5d69f426d5acc583c053eac71756a3 https://git.kernel.org/stable/c/d1a12fcb9051bbf38b2e5af310ffb102a0fab6f9 https://git.kernel.org/stable/c/f9751163bffd3fe60794929829f810968c6de73d