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 7447A296176 for ; Wed, 18 Jun 2025 11:16:10 +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=1750245370; cv=none; b=OMPkSPEsaMzbzvZxdc+AqSc9D4MZemPIjsp7gXhOTK0l7rKkOxOxp6GfprIHK7tg0QurLw+0b7AJ7uFmR2GKcwS5LL1SLvAhl++BR7SsjWp/cSasnQcFbglDH+hPRyyoYYi6/5pzS5Na9rQYt79ImtDrpMak0vOo/NEfhp/ZjTc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750245370; c=relaxed/simple; bh=yEHSBvqj1hgGMbvIIvFlsegRGFledFgfrIXzYPVYFeY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=r6nT6eDDDn8n7F6i9NgcHtIFwLZDD2wUZv+lI+DKNt+MOO40MbEUzLuJaASqeI8dEqvGL6MgZ3yXN1bD5Z9dcC2sZbFnSyRS3Ul2Qk0jZYw9aTyWZ+t73CHcOQLD+4e/HLgCQHDKqvjuT53tT9HaIGOxpq3JGqAb5i7j9o8oAeI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fwdtD5M9; 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="fwdtD5M9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF11CC4CEF1; Wed, 18 Jun 2025 11:16:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750245370; bh=yEHSBvqj1hgGMbvIIvFlsegRGFledFgfrIXzYPVYFeY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=fwdtD5M9oJ/9MbEMPKfXkKfTDxE81pYSSjWNEF8pTDHzhQIqRPB9x1SM3Y0++slL2 WTBPQ+21f2YPNWs0CSRIi5S2H8H+izSEumldzlcv7gI7z2QKBdR+RIRhyty6gLKCRf bq29oDD01/8IomEmFaLveZhZjva1QaF/+qYYLw0Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50204: ARM: OMAP2+: pdata-quirks: Fix refcount leak bug Date: Wed, 18 Jun 2025 13:04:29 +0200 Message-ID: <2025061841-CVE-2022-50204-d358@gregkh> X-Mailer: git-send-email 2.49.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=2008; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ACfCP/op18E84CNzUsRTIWnLT51RbL6FXYrXvDYgF14=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc6ZOPJchuZB9QZdUTuSDxV5los5Vds37vnOt8di0V OgqL4dqRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEeyXDgpbZrP+az1W5Oz84 U9j2ikHmMeO9SoYF2638teveR0h/7rfKbGG23n226e0hAA== 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: ARM: OMAP2+: pdata-quirks: Fix refcount leak bug In pdata_quirks_init_clocks(), the loop contains of_find_node_by_name() but without corresponding of_node_put(). The Linux kernel CVE team has assigned CVE-2022-50204 to this issue. Affected and fixed versions =========================== Fixed in 5.15.61 with commit 75f23d72b6e0a34c8a0e8d275b69ba1e6dd0f15f Fixed in 5.18.18 with commit ebca6870fc0cb5470dbc058cc94f3c53ea886eaa Fixed in 5.19.2 with commit 37f0c89778576ce3d52f40c1e9e727fbddedb28e Fixed in 6.0 with commit 5cdbab96bab314c6f2f5e4e8b8a019181328bf5f 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-50204 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: arch/arm/mach-omap2/pdata-quirks.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/75f23d72b6e0a34c8a0e8d275b69ba1e6dd0f15f https://git.kernel.org/stable/c/ebca6870fc0cb5470dbc058cc94f3c53ea886eaa https://git.kernel.org/stable/c/37f0c89778576ce3d52f40c1e9e727fbddedb28e https://git.kernel.org/stable/c/5cdbab96bab314c6f2f5e4e8b8a019181328bf5f