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 C468F20C00B for ; Wed, 26 Feb 2025 02:00:12 +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=1740535212; cv=none; b=R7fPoYoY72y5Y3dxizFz5K1Th1ShfTjsm4r4OLRqPAxlWjdTyf32GKPBAxlQ8crwLNB+pAy3le/a9NJ7GC4c38E+DAy8RYxGkONkCKlLyyzia+biuFNvRJyOMc0RTh7Vg1C8ANyGM3Uyg3/t2zETdqfy+01L9SwR91P+VoJex1U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535212; c=relaxed/simple; bh=y10j8cCNfkcDgDavMltDv2RGJuM2vTIvnm0aegX9CUA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UfLySiQqAMLdyThSTPqSvkxXwzDs+46DSy/gn1au6aX/X1+ITPuv0tx2Oma9yY4i3pOhcZNQnW/htD6gT8i5aQrW/PwxnmML7qqVKaz2dWiVr2I7WN9fZR3VzSJPvvTM+bf8pDE435ddLOAyAPL0cPqHUHwHsU8XPiLa4FgMoVw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Z7sRzllD; 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="Z7sRzllD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38909C4CEE8; Wed, 26 Feb 2025 02:00:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535212; bh=y10j8cCNfkcDgDavMltDv2RGJuM2vTIvnm0aegX9CUA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Z7sRzllD8g19jYQf1IGFeXqbWh8nJQddKieb7CeSkKZqpKFDs+1fgGRYwNLKqZY8l Gre4bg+ldONTXRkb6PxPnISN+Twsblew7Im5pms1/Nt0/OnP44y1KHD3vIV2/HE/Cw D7QEY7UKRh+CEMELCNSWobD9S5Zsud23L0TjxElI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49263: brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path Date: Wed, 26 Feb 2025 02:57:48 +0100 Message-ID: <2025022628-CVE-2022-49263-2e87@gregkh> X-Mailer: git-send-email 2.48.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=2840; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=y10j8cCNfkcDgDavMltDv2RGJuM2vTIvnm0aegX9CUA=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SkJ+W0V6y0ganT6/NNeBQanA9d+C4842HGcfpAizr fwu+uRbRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykn51hfslV8/xzPtYfDlX4 MOROiJzl1Rd+kGHBRc67E1rclZco7j6brbI4ateCbxvOAgA= 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: brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path This avoids leaking memory if brcmf_chip_get_raminfo fails. Note that the CLM blob is released in the device remove path. The Linux kernel CVE team has assigned CVE-2022-49263 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit 82f93cf46d6007ffa003b2d4a2834563b6b84d21 and fixed in 5.4.189 with commit d0ab87f8dcdfe72dc1d763be3392c1fc51a1ace2 Issue introduced in 5.4 with commit 82f93cf46d6007ffa003b2d4a2834563b6b84d21 and fixed in 5.10.110 with commit f3820ddaf4f3ac80c7401ccc6a42e663c9317f31 Issue introduced in 5.4 with commit 82f93cf46d6007ffa003b2d4a2834563b6b84d21 and fixed in 5.15.33 with commit a88337a06966f2d733ad9a97714b874469133f14 Issue introduced in 5.4 with commit 82f93cf46d6007ffa003b2d4a2834563b6b84d21 and fixed in 5.16.19 with commit 4e0b507597e1a86e9b4c056ab274c427223cf8ea Issue introduced in 5.4 with commit 82f93cf46d6007ffa003b2d4a2834563b6b84d21 and fixed in 5.17.2 with commit 0347bdfdb1529994ac3a4cb425087c477a74eb2c Issue introduced in 5.4 with commit 82f93cf46d6007ffa003b2d4a2834563b6b84d21 and fixed in 5.18 with commit 5e90f0f3ead014867dade7a22f93958119f5efab 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-2022-49263 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/broadcom/brcm80211/brcmfmac/pcie.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/d0ab87f8dcdfe72dc1d763be3392c1fc51a1ace2 https://git.kernel.org/stable/c/f3820ddaf4f3ac80c7401ccc6a42e663c9317f31 https://git.kernel.org/stable/c/a88337a06966f2d733ad9a97714b874469133f14 https://git.kernel.org/stable/c/4e0b507597e1a86e9b4c056ab274c427223cf8ea https://git.kernel.org/stable/c/0347bdfdb1529994ac3a4cb425087c477a74eb2c https://git.kernel.org/stable/c/5e90f0f3ead014867dade7a22f93958119f5efab