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 40A4F19C552 for ; Wed, 9 Oct 2024 14:49:35 +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=1728485375; cv=none; b=rOg82dQIbnRJP0en4vb+dhz+NEMo8LS1ebrp3KhGNhyjpsckk8OY9iG9E0X6ZGEE4I21NO/m/xJv+EVThQ6PI8LnBflmlHzUxM6SJ0N3JTGLzk1PIKUMrzcRYTk+4wSDljPOhbQh5GKxLWU2H4uBbKS4lCvYkul6AkyNhS4QWLU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728485375; c=relaxed/simple; bh=OpkbGcOzz4bY/62ew12q4gnSyU3ya5oDEA3jZhaxToM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lZN8gpgxf4jyNaXQdk6cKp05znJyCAOqWtvDgOi9HDfixB1qLUOgFOC8yqgQicC8x5T0xkn80rz9Tsczcy0QT0geeDxlnbFHozvIFHJq5ue7mdagCIj+cs9VqGEaUKTGbYUm82RFtFjk0NAwLMMYIidIx8boPLnGulZLy+6zVrk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CjbiUtPV; 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="CjbiUtPV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6657BC4CEC3; Wed, 9 Oct 2024 14:49:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728485374; bh=OpkbGcOzz4bY/62ew12q4gnSyU3ya5oDEA3jZhaxToM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=CjbiUtPV1Qn7elQMKEj+Zt3FbWPkzk+UGOFaH84wTLpHRWAlcq5bd6ckS8tqcDL97 NvF4ERAnncFRiWQgLrupbTaNya0KOaWCUkBrgohyV+IuBWDBvDZjgk9cjkz0gViywM z3VEBB6ekslz3lE4oGII0PC/a5t86ilmga2mC8KE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-47672: wifi: iwlwifi: mvm: don't wait for tx queues if firmware is dead Date: Wed, 9 Oct 2024 16:49:22 +0200 Message-ID: <2024100922-CVE-2024-47672-9bef@gregkh> X-Mailer: git-send-email 2.47.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=2383; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OpkbGcOzz4bY/62ew12q4gnSyU3ya5oDEA3jZhaxToM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOls0z/5zV3+Lu/ghc+37GY4dn/VNjosWO32fe+Ljy8Ve OK5GLfydcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEGncwLJjKzlKgcOrYg8eG 11fxfHm0TMhQcRPDgp6G1bdfxLqKWaRvc+I3LQ43t+48BwA= 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: don't wait for tx queues if firmware is dead There is a WARNING in iwl_trans_wait_tx_queues_empty() (that was recently converted from just a message), that can be hit if we wait for TX queues to become empty after firmware died. Clearly, we can't expect anything from the firmware after it's declared dead. Don't call iwl_trans_wait_tx_queues_empty() in this case. While it could be a good idea to stop the flow earlier, the flush functions do some maintenance work that is not related to the firmware, so keep that part of the code running even when the firmware is not running. [edit commit message] The Linux kernel CVE team has assigned CVE-2024-47672 to this issue. Affected and fixed versions =========================== Fixed in 6.1.112 with commit 1b0cd832c960 Fixed in 6.6.53 with commit 4d0a900ec470 Fixed in 6.10.12 with commit 7188b7a72320 Fixed in 6.11 with commit 3a84454f5204 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-2024-47672 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/mac80211.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/1b0cd832c9607f41f84053b818e0b7908510a3b9 https://git.kernel.org/stable/c/4d0a900ec470d392476c428875dbf053f8a0ae5e https://git.kernel.org/stable/c/7188b7a72320367554b76d8f298417b070b05dd3 https://git.kernel.org/stable/c/3a84454f5204718ca5b4ad2c1f0bf2031e2403d1