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 A53271D1F5A for ; Tue, 19 Nov 2024 17:20:22 +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=1732036822; cv=none; b=lMi/my0X9UXjMuYIhSmIOSJINd3oCagCeYtNEsYUnTvxPuZaIJRXQxe2hkMMSHe2fuy3r+h6ntHOGBtjde8MgjWPUFkSRYBSfqk27WSz/XymXoHtxm8RZz/WevCG6McXAJ74Jtpj7oL9RPy3kqPx7rlsMqhKhE5J6OfbSPoSl/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732036822; c=relaxed/simple; bh=NGB5yqu5q6JoNZnf2ERozzXPJdj3Sc65wX2cZevILOo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rEKu2UZZzC471P91Ze/JDXm+KfIqsDVWJqCwwOKCynIHcTnK4ucZZne2GRpBglFRGX8w7RqTJUDvcqMaHvWkFLlSBd2ZxpI3RfAanMfY0+w5wBVBCLCZtGGiwGgMSGMpJJlznbjQb0Pl0VTHisVvkwsLbAL/c6CggFE14yXzg7o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LUKaEeHT; 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="LUKaEeHT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78E9BC4CED2; Tue, 19 Nov 2024 17:20:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1732036822; bh=NGB5yqu5q6JoNZnf2ERozzXPJdj3Sc65wX2cZevILOo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LUKaEeHTeQc9yQYLdJF/9H67hEmtR49AihrxfAWHJvgUJ3AFW5uzHkTDcmdh8Cm3s QBUrT3k1OhtQIDrCpY+SBa+EV2xq7jA31pQWm1EC8ZT9SyYKvXgqFnJ1REMRdSOXnF GS/mebrDOScDwYgICCy2Hr0m79ycpP0YvuOSicT0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53059: wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd() Date: Tue, 19 Nov 2024 18:19:41 +0100 Message-ID: <2024111928-CVE-2024-53059-4f81@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=2761; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NGB5yqu5q6JoNZnf2ERozzXPJdj3Sc65wX2cZevILOo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk2JxYKcW45yGwSwTPVP0XMi+eb0rWUx1fz+BVPxB6qm HZVIM6yI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZyIIxhQXPoZmaLqmtXXz67 NF/KM3Lf3+eifxnmmZe8V9R+MavzQrIH1/yIBzuaeGzvAAA= 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: Fix response handling in iwl_mvm_send_recovery_cmd() 1. The size of the response packet is not validated. 2. The response buffer is not freed. Resolve these issues by switching to iwl_mvm_send_cmd_status(), which handles both size validation and frees the buffer. The Linux kernel CVE team has assigned CVE-2024-53059 to this issue. Affected and fixed versions =========================== Issue introduced in 5.1 with commit f130bb75d881 and fixed in 5.4.285 with commit 9c98ee7ea463 Issue introduced in 5.1 with commit f130bb75d881 and fixed in 5.10.229 with commit 45a628911d3c Issue introduced in 5.1 with commit f130bb75d881 and fixed in 5.15.171 with commit 3f45d590ccba Issue introduced in 5.1 with commit f130bb75d881 and fixed in 6.1.116 with commit 64d63557ded6 Issue introduced in 5.1 with commit f130bb75d881 and fixed in 6.6.60 with commit 3eb986c64c6b Issue introduced in 5.1 with commit f130bb75d881 and fixed in 6.11.7 with commit 9480c3045f30 Issue introduced in 5.1 with commit f130bb75d881 and fixed in 6.12 with commit 07a6e3b78a65 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-53059 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/fw.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/9c98ee7ea463a838235e7a0e35851b38476364f2 https://git.kernel.org/stable/c/45a628911d3c68e024eed337054a0452b064f450 https://git.kernel.org/stable/c/3f45d590ccbae6dfd6faef54efe74c30bd85d3da https://git.kernel.org/stable/c/64d63557ded6ff3ce72b18ab87a6c4b1b652161c https://git.kernel.org/stable/c/3eb986c64c6bfb721950f9666a3b723cf65d043f https://git.kernel.org/stable/c/9480c3045f302f43f9910d2d556d6cf5a62c1822 https://git.kernel.org/stable/c/07a6e3b78a65f4b2796a8d0d4adb1a15a81edead