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 A595C1C8FBA for ; Wed, 18 Jun 2025 11:15:31 +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=1750245331; cv=none; b=NICBsVcCmkhikIIzp7jEVfXxecYb08WUuPMmewSJ0eKEnWRy/KHIyV1ccoZq3k7/ybANoGZlDHahzhDoOlRAy+tWwSOjwvZam0tKsYlmnsgk8EYTuP5qI9x2Dq3CnDZbKgH2gpct8VdiDwsViJaHYPcCmUurnkyZeOq5iEZHqRk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750245331; c=relaxed/simple; bh=ls2K8HRGUH0DjLwP26aks6VN38gjXuIEW9xKBBy9dZE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=k/byp68gq3M30uiPy+AEnJES1zNN/Vie9ASMRXe7QHUBt2Gz4PiYHrWZ55ELn+9zSGThcGAV/5fwzBSYl4j7Rd/322ufHUlkJxjGBMcbSSQpVQKfwEo/70fVo3AO1kWigcz/S7CEbHHOCWFw8nY5D0VkyHfsfD01V2gAwsP6EKw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DcSwuwb5; 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="DcSwuwb5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FCE3C4CEE7; Wed, 18 Jun 2025 11:15:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750245331; bh=ls2K8HRGUH0DjLwP26aks6VN38gjXuIEW9xKBBy9dZE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DcSwuwb543g6+e1eDq2vyn0KEe3vUZXtN9EQKz/hR2Hs10FKbDm7wEM6USjzKN54z JA/hqRX1/9y2VbyyBLFDKRGq/4kgyCjUDj4tNlUm3/acmoc01WZYozWg3SgT6KP+Fz k51gJ/jeOlG1J31TG3aFIDW4HUHgS0PpdrOL/P2Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50198: ARM: OMAP2+: Fix refcount leak in omap3xxx_prm_late_init Date: Wed, 18 Jun 2025 13:04:23 +0200 Message-ID: <2025061839-CVE-2022-50198-23b1@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=3097; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gjfW2/AS7JJuh+GxdstDS0OGug1MoRK6G98+4UytJQs=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBcyafinSxNIpJ2niKZ+mcV39OL6lZcT9vWoVS+PNNU kr3vKMndcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEVJMZ5uf/yGWYETs33/Am R6SaxEYZNiujZIYF7YsOKjF+0V70ZO/G+qsf09J+X1pTAAA= 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+: Fix refcount leak in omap3xxx_prm_late_init of_find_matching_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. The Linux kernel CVE team has assigned CVE-2022-50198 to this issue. Affected and fixed versions =========================== Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 4.19.256 with commit c9ec7993d00250a394d367c8a19fcfe8211c258b Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 5.4.211 with commit c4f92af7fc8cecb8eb426ad187e39c7bcc6679c7 Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 5.10.137 with commit d294d60dc68550fee0fbbe8a638d798dcd40b2c5 Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 5.15.61 with commit 1bf747824a8ca4008879fd7d2ce6b03d7b428858 Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 5.18.18 with commit e5ab8a4967d68a8e9f8f4559d144207d085a8c02 Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 5.19.2 with commit c652e0f51665f3fa575449909bbd9d7b45dfab1c Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 6.0 with commit 942228fbf5d4901112178b93d41225be7c0dd9de 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-50198 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/prm3xxx.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/c9ec7993d00250a394d367c8a19fcfe8211c258b https://git.kernel.org/stable/c/c4f92af7fc8cecb8eb426ad187e39c7bcc6679c7 https://git.kernel.org/stable/c/d294d60dc68550fee0fbbe8a638d798dcd40b2c5 https://git.kernel.org/stable/c/1bf747824a8ca4008879fd7d2ce6b03d7b428858 https://git.kernel.org/stable/c/e5ab8a4967d68a8e9f8f4559d144207d085a8c02 https://git.kernel.org/stable/c/c652e0f51665f3fa575449909bbd9d7b45dfab1c https://git.kernel.org/stable/c/942228fbf5d4901112178b93d41225be7c0dd9de