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 29DA5433C9 for ; Wed, 9 Oct 2024 14:49:39 +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=1728485379; cv=none; b=SaABTvdickH5orrX598EZetTBN34ti7dScE5uG19G5LCxf8FopmqFpdM21uDv08LBY3lLZpoq1DZy3VHAuxrxCDPr4Z7FVggfZid4os9tBibSCMboxxVBccc8EvAfYdEBMPoSDYSmlxkGw+kQ7we5Y1ss6Lb9XpDS4/oUL489ME= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728485379; c=relaxed/simple; bh=2VZoKimj1n5TPyEGZpQqNkBe+MV0GBLtDTEWOP7Snbo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PwkN1dHMSQeDsersRdmIWDb/BXJAMgqOswuSBmmfw2zfj6B074qIl/yVbF7t6Pho3oJJeDwMXLNgQf5PQyT92VKvA2JlRb45KAM8gaYf695L+2O0PKZlB3M/zJvj2CYu2RJj+1YHajyaKdjUHXuR8e4E7bMti0WuE7iAgJXNGpw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RboCUc++; 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="RboCUc++" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64C17C4CEC3; Wed, 9 Oct 2024 14:49:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728485379; bh=2VZoKimj1n5TPyEGZpQqNkBe+MV0GBLtDTEWOP7Snbo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=RboCUc++YHB0sunrM8pH7MuLbEzi8+MZ0xju5jQWjGP98McsM5PtpnDd3qOID9L1g vwVeXV0RslF13q8hVfbgJVEvsHtIlGLuaF8Cp6vRNDVn1Tu4Uj2EUucbuQwkHZTnAp rC/wfQ3gyymW1wVs2D/Ew6L2Sy4bk/YmpdEykpJI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-47673: wifi: iwlwifi: mvm: pause TCM when the firmware is stopped Date: Wed, 9 Oct 2024 16:49:23 +0200 Message-ID: <2024100922-CVE-2024-47673-9110@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=2477; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2VZoKimj1n5TPyEGZpQqNkBe+MV0GBLtDTEWOP7Snbo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOls0z8n/395P6HplW6XdUB88yKZBa96/Jcv/z9F5znD4 o8324sdO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAibxYzLJjkG/eT11X5e6zT 708F8tyHBcrElBgWLOW6e0XnPuPqGaLbs6UCq6PvfDp0EQA= 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: pause TCM when the firmware is stopped Not doing so will make us send a host command to the transport while the firmware is not alive, which will trigger a WARNING. bad state = 0 WARNING: CPU: 2 PID: 17434 at drivers/net/wireless/intel/iwlwifi/iwl-trans.c:115 iwl_trans_send_cmd+0x1cb/0x1e0 [iwlwifi] RIP: 0010:iwl_trans_send_cmd+0x1cb/0x1e0 [iwlwifi] Call Trace: iwl_mvm_send_cmd+0x40/0xc0 [iwlmvm] iwl_mvm_config_scan+0x198/0x260 [iwlmvm] iwl_mvm_recalc_tcm+0x730/0x11d0 [iwlmvm] iwl_mvm_tcm_work+0x1d/0x30 [iwlmvm] process_one_work+0x29e/0x640 worker_thread+0x2df/0x690 ? rescuer_thread+0x540/0x540 kthread+0x192/0x1e0 ? set_kthread_struct+0x90/0x90 ret_from_fork+0x22/0x30 The Linux kernel CVE team has assigned CVE-2024-47673 to this issue. Affected and fixed versions =========================== Fixed in 6.1.112 with commit 5948a191906b Fixed in 6.6.53 with commit 2c61b561baf9 Fixed in 6.10.12 with commit 55086c97a55d Fixed in 6.11 with commit 0668ebc8c228 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-47673 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/ops.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/5948a191906b54e10f02f6b7a7670243a39f99f4 https://git.kernel.org/stable/c/2c61b561baf92a2860c76c2302a62169e22c21cc https://git.kernel.org/stable/c/55086c97a55d781b04a2667401c75ffde190135c https://git.kernel.org/stable/c/0668ebc8c2282ca1e7eb96092a347baefffb5fe7