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 410EC3101B8 for ; Mon, 15 Sep 2025 14:09:55 +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=1757945395; cv=none; b=uuIsCg8j/t3VOjCUex8zx0amyYkf8WGCDv0wJx1yRPiPYpmXjSaA+iERL17gzP5102W00IX2+t9YkDuv8Cu3bLricaxKmyTIK2szea54BrBh7MwuUBsCv80rkwAA8XzkZT4f7U73gxX2w/IM+4U/qqpgEgs7+nTqrsTvzBcrgds= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757945395; c=relaxed/simple; bh=Xa4oUsc0Sm+vV/8WqMJ2OHsQzwffyHtWwm/eKj5YJu0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=llVkDDQCqMD+V+XPsyoZvqKj9hNTKxgvXa8coywfb8ojGqOYEJDqFMp+jtEWqQbHqekBz51M/3MGhrYoTHLe2okpinw0Gr/8KJptRpsFkunZOUCb/r8ex9lotI4BN5dFMoql36M7a6TYnD7R7QEYeszobmyto3Sn7tAry8otdEU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CGpRgWcN; 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="CGpRgWcN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 579CEC4CEF1; Mon, 15 Sep 2025 14:09:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757945395; bh=Xa4oUsc0Sm+vV/8WqMJ2OHsQzwffyHtWwm/eKj5YJu0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=CGpRgWcNDXAVFy9FeWWuXY98HoL8klklT/DC2nNsiL3l3n7MrzZI06LhfhRCIRNlB L7shZsxSdSjmuGBY7bNOskIU42L+Vn5/5Zn7y6fxvGUCptAkQOMgLe2zRtVKnBHdLh 0UoMqZSMXfnoQ7z/zq2UG6IOd5yISd/C4smkq8wQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53170: net: dsa: Removed unneeded of_node_put in felix_parse_ports_node Date: Mon, 15 Sep 2025 16:02:24 +0200 Message-ID: <2025091554-CVE-2023-53170-d187@gregkh> X-Mailer: git-send-email 2.51.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=1938; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FqGkDfDEOAnZ24hdAI5yUI1Oj6ghTMhNcnCVICVQBGw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknZIJY3prtPJws3iST0HcsV/DUO6XH2RLClyWk3xX5n LzyYjljRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk8GyGBbsOLJ57N+72meYc rmniqySZ3k5rtmBYsNLl2/29wde0elfrsGj2ndzJE359FwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: net: dsa: Removed unneeded of_node_put in felix_parse_ports_node Remove unnecessary of_node_put from the continue path to prevent child node from being released twice, which could avoid resource leak or other unexpected issues. The Linux kernel CVE team has assigned CVE-2023-53170 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit de879a016a94a670fafeb3eb03b3d5803d81ab37 and fixed in 6.4.5 with commit 7ead10b44b79ce8bfcd51e749d54e009de5f511a Issue introduced in 6.3 with commit de879a016a94a670fafeb3eb03b3d5803d81ab37 and fixed in 6.5 with commit 04499f28b40bfc24f20b0e2331008bb90a54a6cf 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-2023-53170 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/dsa/ocelot/felix.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/7ead10b44b79ce8bfcd51e749d54e009de5f511a https://git.kernel.org/stable/c/04499f28b40bfc24f20b0e2331008bb90a54a6cf