From mboxrd@z Thu Jan 1 00:00:00 1970 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 2D3B812DD95 for ; Fri, 24 May 2024 15:10:34 +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=1716563434; cv=none; b=GgvjgdhpGZ8FPDZkkqROwOcoeU6D7GYCZXHP0vDVOb1Dj0+ZefookaVpeQrSkg01udRiz2y6z27v3I2UpKqHUBd7w+j9GuEaKE8juQE+KYq3/Of8bMRmK8XiUBgmktLupxK9MkjsNQEfXGGWI3Df3YHaTwgxo+pyP/tUDqFgkDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716563434; c=relaxed/simple; bh=KB9cMebWsTJbiGCr54kwFm5Y6e3QdGzed3gEiMKJefQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XOjbKGZqu7L6y6eTykrShOncM9yEqCFFW/+e0qlyYS4+3WyxE/Dc33270YbAH8sNWHzPy8TTDiXB6dYE33dWKCHKWuJSMM2mKKvm8DVHaboI8jpJUcQycb4+/EPXSxwh9kJ8hEpSJPUdQ19hJk3aHP75Hqf5bqIC23l4ddGzUHw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HRHtkqXm; 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="HRHtkqXm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5EC5C4AF09; Fri, 24 May 2024 15:10:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716563434; bh=KB9cMebWsTJbiGCr54kwFm5Y6e3QdGzed3gEiMKJefQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=HRHtkqXmX2hz2bzXKEjifkxMVkLVndR8/3+xu5o79PYdPMenGf1PKab9dSlxnav21 1G4uRjU9ni4fz8W+30MANQIK2dhAwQ+Xynoy4mxsfrh0vuE4AnzQkKhv2w6bveeXsB h+fB/NLkHKYfd0gElWAq1PqKRyO5i30BwYEozUfg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47529: iwlwifi: Fix memory leaks in error handling path Date: Fri, 24 May 2024 17:09:49 +0200 Message-ID: <2024052435-CVE-2021-47529-a476@gregkh> X-Mailer: git-send-email 2.45.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=1846; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KB9cMebWsTJbiGCr54kwFm5Y6e3QdGzed3gEiMKJefQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkBa9cLzI+XvBhfNMG7feLEZrnsLZ82tjZ9neK9kTEhR 8s8f8v6jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIyn+G+UFHGOJd/OckPEk/ IFLFLmOS+In7KMOCPY9Xyc66vXxvZEltps+//zMCLhbMBgA= 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: iwlwifi: Fix memory leaks in error handling path Should an error occur (invalid TLV len or memory allocation failure), the memory already allocated in 'reduce_power_data' should be freed before returning, otherwise it is leaking. The Linux kernel CVE team has assigned CVE-2021-47529 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 9dad325f9d57 and fixed in 5.15.7 with commit 4768935c2540 Issue introduced in 5.14 with commit 9dad325f9d57 and fixed in 5.16 with commit a571bc28326d 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-2021-47529 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/fw/uefi.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/4768935c25403ba96e7a745645df24a51a774b7e https://git.kernel.org/stable/c/a571bc28326d9f3e13f5f2d9cda2883e0631b0ce