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 9599221A42B for ; Wed, 26 Feb 2025 02:24:33 +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=1740536673; cv=none; b=i6g1LFnYuv1PnpFaY5N7vK7Lm8I7/LmOa5T0rj1LNpcOY17PNxOQidIFIKGC80Wxg8oYzOYxz75M3Uwc5gGWIvQ6cMdqWHNwWmYgqh6cmzGI4fjQjGHlVfHf+yvprqBfWez+ShLIAgvXbnP41SWE6Tt+i3AJhTVLRlRRdvDB3H0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536673; c=relaxed/simple; bh=K8xHPjgfUXNf3K20s+FsZNlwNZzp6RrIeOmVkjNifhc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YPK0pcGbPkDrwi5aCtO4DObqjnW8KvgsNBRd8aSXWrHgNN0tlvp5+k/L41v94ly7++e3b8YaMAF5CkBVjEW4RPTQI3s2gVNxRnf3h/C0tYb8tXELaxCs5FbhDE4++0QmQGm0At5jUmfH/DUQ7vQQaBB8osdg4UqjURIPNPGJnMM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qe3+fOXO; 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="qe3+fOXO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65439C4CEDD; Wed, 26 Feb 2025 02:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536673; bh=K8xHPjgfUXNf3K20s+FsZNlwNZzp6RrIeOmVkjNifhc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qe3+fOXOtWqoaWa2u6Dlz3+euYnjmXPn7V8nuy9aMAID8nMLVLvewlK3AP+PMDqLh NqmnDtplZsKZBjSoed8M7WlZ9AlxoYvT5lrn9bzxsd3fMXx3O5EC1WeWd59RjpqmvU WRdKz4+gd/W0wqjeugFZtk7ZmW5rBvwG3LxL6llM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49628: net: stmmac: fix leaks in probe Date: Wed, 26 Feb 2025 03:23:11 +0100 Message-ID: <2025022616-CVE-2022-49628-0794@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=2051; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=K8xHPjgfUXNf3K20s+FsZNlwNZzp6RrIeOmVkjNifhc=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qm4cC569iuHrmqvvfi3NC87QjJ5UIukT5pGQXpBUe PH58vszO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiFjkMCw78zJ91+LPukoW3 WcPntWf4Jh+Mn8+wYGvdkr0LS9Quuxkou3XZNtx8u0qABwA= 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: net: stmmac: fix leaks in probe These two error paths should clean up before returning. The Linux kernel CVE team has assigned CVE-2022-49628 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 2bb4b98b60d7dc89fc0a5bb64534be348ab654df and fixed in 5.15.56 with commit f4bd3202a2b4194ab6c0ce61628095d54f994db4 Issue introduced in 5.14 with commit 2bb4b98b60d7dc89fc0a5bb64534be348ab654df and fixed in 5.18.13 with commit dd91bc60f305610401b2196bedb573693d6c8e46 Issue introduced in 5.14 with commit 2bb4b98b60d7dc89fc0a5bb64534be348ab654df and fixed in 5.19 with commit 23aa6d5088e3bd65de77c5c307237b9937f8b48a 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-49628 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/ethernet/stmicro/stmmac/dwmac-ingenic.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/f4bd3202a2b4194ab6c0ce61628095d54f994db4 https://git.kernel.org/stable/c/dd91bc60f305610401b2196bedb573693d6c8e46 https://git.kernel.org/stable/c/23aa6d5088e3bd65de77c5c307237b9937f8b48a