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 E2AB81991B0 for ; Tue, 16 Jul 2024 12:28:40 +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=1721132921; cv=none; b=qO/mhTqQS7V4lc4Ak75wk22PFLoNpchgp0hNMOVwNHM7zP/FgU5JSogkRzPhvifFv9UeGfUDyjstoyyKxYjgFXKWsfFwCbsGHYLe9mAJ4nMJAeYywVY8OeuRYWKwpYpzqjbFHjYSohj5J0CmD7yzagfe+L372vYbJxAq20VM2rc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721132921; c=relaxed/simple; bh=mMsn7fp7ziGUdrIMOup38TT76AVNH67V4A95p+EVZdc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qgJfJivwgdlRCuzGUSfZfvobZ1wWvGBAL17KNiMiiMayJxk3399FYqW1pVB/KXNrrE6yCuJtOF9fmxVNss3rBx8FLFRcEGYwsncA65U5tQT2PJFRi04yKZ33d6KQcod5kvgncJcUj0Z2wIL22IhsLKeOSlI5ElYTBHPL9WPeSJY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QRVgMccL; 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="QRVgMccL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BB21C116B1; Tue, 16 Jul 2024 12:28:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721132920; bh=mMsn7fp7ziGUdrIMOup38TT76AVNH67V4A95p+EVZdc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=QRVgMccLYKPu+32Z5qkOIbqNYwxMlaBW+nXhXP7/ZVNPOrkpRy6iJjKJWmc8jCFCz 8i7odMVnHb8OhnIpe39XRl+z6A22zw79ry4wY1cK9gNdu2lr5h5xcUs3jCFFUcUZ91 9psltfxG6Wn1uRcQbDVrzk0YinDKwUNWVJ3xChDw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48860: ethernet: Fix error handling in xemaclite_of_probe Date: Tue, 16 Jul 2024 14:27:45 +0200 Message-ID: <2024071628-CVE-2022-48860-92e9@gregkh> X-Mailer: git-send-email 2.45.2 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=2899; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mMsn7fp7ziGUdrIMOup38TT76AVNH67V4A95p+EVZdc=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnT0g22CTG/Y7LbxpDyZz+b2xOhvVcT4hffNJp4u1HYV t86UlO/I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaiv4Jhfhz33V9Ks398feC4 PHLdLpMP5++bpjLMj2Bzktt13rzO2/zc6x++KtaXSpiMAA== 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: ethernet: Fix error handling in xemaclite_of_probe This node pointer is returned by of_parse_phandle() with refcount incremented in this function. Calling of_node_put() to avoid the refcount leak. As the remove function do. The Linux kernel CVE team has assigned CVE-2022-48860 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.34 with commit 5cdaaa12866e and fixed in 4.9.307 with commit 669172ce9766 Issue introduced in 2.6.34 with commit 5cdaaa12866e and fixed in 4.14.272 with commit b7220f8e9d6c Issue introduced in 2.6.34 with commit 5cdaaa12866e and fixed in 4.19.235 with commit 8609e29611be Issue introduced in 2.6.34 with commit 5cdaaa12866e and fixed in 5.4.185 with commit 8ee065a7a9b6 Issue introduced in 2.6.34 with commit 5cdaaa12866e and fixed in 5.10.106 with commit 979b418b96e3 Issue introduced in 2.6.34 with commit 5cdaaa12866e and fixed in 5.15.29 with commit 5e7c402892e1 Issue introduced in 2.6.34 with commit 5cdaaa12866e and fixed in 5.16.15 with commit 1852854ee349 Issue introduced in 2.6.34 with commit 5cdaaa12866e and fixed in 5.17 with commit b19ab4b38b06 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-48860 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/xilinx/xilinx_emaclite.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/669172ce976608b25a2f76f3c65d47f042d125c9 https://git.kernel.org/stable/c/b7220f8e9d6c6b9594ddfb3125dad938cd478b1f https://git.kernel.org/stable/c/8609e29611befc4bfbe7a91bb50fc65ae72ff549 https://git.kernel.org/stable/c/8ee065a7a9b6a3976c16340503677efc4d8351f6 https://git.kernel.org/stable/c/979b418b96e35f07136f77962ccfaa54cf3e30e1 https://git.kernel.org/stable/c/5e7c402892e189a7bc152b125e72261154aa585d https://git.kernel.org/stable/c/1852854ee349881efb78ccdbbb237838975902e4 https://git.kernel.org/stable/c/b19ab4b38b06aae12442b2de95ccf58b5dc53584