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 81BA1173 for ; Tue, 9 Dec 2025 00:01:59 +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=1765238519; cv=none; b=FaHumR5BUTpYXe14p+E6Qx1TxANfG/w8DPw0zPpXG3bAD4L1v7E0+CDZXBZ42iSvIurg9j8JuQ87PsOFcfCIE4YApKKOzxzsxwIjaZ11gtSDth6FdcDFsWl5H/uPm+KNoqepowg3qlkPsfTiLSFOswiJj2Ius1bsLhY8xFwYTqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238519; c=relaxed/simple; bh=OtP1Uux28DyPD0BWeiSUHSvWkHqEQ1EpYVnhzE4mqes=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=l0TbzoG4myth4iOlO0+6kFI7vqWl3aUoh8Mca99wTi1TXOE8wNOsNJhO3YD33VbNPCmqU4s3bd4u2p2hRa9LpAtU+cEtbHe9nxITudT3AlQSdIaQvCl9kSvTCRmaW+6b/TeEhUR+8EAAip6TnThtYoEYsvZVggdPG+PK/c8+bcE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fnAGhVE1; 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="fnAGhVE1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8905BC4CEF1; Tue, 9 Dec 2025 00:01:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238519; bh=OtP1Uux28DyPD0BWeiSUHSvWkHqEQ1EpYVnhzE4mqes=; h=From:To:Cc:Subject:Date:Reply-To:From; b=fnAGhVE1O49dlxUt20AjRqTCq4vB7FWZI0sM7JkGnj0hLF1u/jnwE2NoYI9GIRZ1I gGT7jBRdpu7JhaiVaz8JS7uxPa91WwWzzA4FaCC6BdKkl3YGF/za43C7htWMEY7aVw U0NYNxr4C1OAU96SXAfH4DwyU7L+jBo5S9oxYIRY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50641: HSI: omap_ssi: Fix refcount leak in ssi_probe Date: Tue, 9 Dec 2025 09:01:42 +0900 Message-ID: <2025120936-CVE-2022-50641-edfb@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3543; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=n1H8nZbISopqa9vJezhcL613blwMz9S9FovsG7LkRKw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmaQ+c3aLuyXCxfu8sYerknNH3+rLV9PNbLs4TX2jek aKvw3K3I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbyaC/Dgt3nDRn5ZgmXNSms Dt7nISLqPyWZi2GuhHXwyn+ZMRtPTtvreEmV656EQ9VJAA== 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: HSI: omap_ssi: Fix refcount leak in ssi_probe When returning or breaking early from a for_each_available_child_of_node() loop, we need to explicitly call of_node_put() on the child node to possibly release the node. The Linux kernel CVE team has assigned CVE-2022-50641 to this issue. Affected and fixed versions =========================== Issue introduced in 3.16 with commit b209e047bc743247f74ce79e8827ae1ed556bae0 and fixed in 4.9.331 with commit 20fbaff6699ea5553c67550e867d6f90b7085447 Issue introduced in 3.16 with commit b209e047bc743247f74ce79e8827ae1ed556bae0 and fixed in 4.14.296 with commit 18e199a5541aad6dc5cf51bc3f712247b2d17894 Issue introduced in 3.16 with commit b209e047bc743247f74ce79e8827ae1ed556bae0 and fixed in 4.19.262 with commit e8a218c17d7c5c42d5609ef92d339b47f3d11d02 Issue introduced in 3.16 with commit b209e047bc743247f74ce79e8827ae1ed556bae0 and fixed in 5.4.220 with commit aa9c0598b10960ad1198044da1e277a89b4e3af6 Issue introduced in 3.16 with commit b209e047bc743247f74ce79e8827ae1ed556bae0 and fixed in 5.10.150 with commit 962f22e7f7698f7718d95bd9b63e41fb8cca01a9 Issue introduced in 3.16 with commit b209e047bc743247f74ce79e8827ae1ed556bae0 and fixed in 5.15.75 with commit 691f23a8475f04c988f7e98066b084e996b40fa0 Issue introduced in 3.16 with commit b209e047bc743247f74ce79e8827ae1ed556bae0 and fixed in 5.19.17 with commit e25f56f8bdf66126a54b5a88bc021c82bfb50b75 Issue introduced in 3.16 with commit b209e047bc743247f74ce79e8827ae1ed556bae0 and fixed in 6.0.3 with commit 0eff9ef67d91e350d2047c3e13b6c3b7d0c90bf4 Issue introduced in 3.16 with commit b209e047bc743247f74ce79e8827ae1ed556bae0 and fixed in 6.1 with commit 9a2ea132df860177b33c9fd421b26c4e9a0a9396 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-50641 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/hsi/controllers/omap_ssi_core.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/20fbaff6699ea5553c67550e867d6f90b7085447 https://git.kernel.org/stable/c/18e199a5541aad6dc5cf51bc3f712247b2d17894 https://git.kernel.org/stable/c/e8a218c17d7c5c42d5609ef92d339b47f3d11d02 https://git.kernel.org/stable/c/aa9c0598b10960ad1198044da1e277a89b4e3af6 https://git.kernel.org/stable/c/962f22e7f7698f7718d95bd9b63e41fb8cca01a9 https://git.kernel.org/stable/c/691f23a8475f04c988f7e98066b084e996b40fa0 https://git.kernel.org/stable/c/e25f56f8bdf66126a54b5a88bc021c82bfb50b75 https://git.kernel.org/stable/c/0eff9ef67d91e350d2047c3e13b6c3b7d0c90bf4 https://git.kernel.org/stable/c/9a2ea132df860177b33c9fd421b26c4e9a0a9396