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 4E209291864 for ; Mon, 15 Sep 2025 14:47:22 +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=1757947642; cv=none; b=oU1iHMLby3z0vp/DU+EFQ9iMIE0oLd5ZSPKHGbAp6yD99itvtByG7aedWKfOeXBf/UIvFnr2YAqTCH41OxLAugNBUKot6UOGCIEraT+yIEa8/WxzY9oUkpuHa2TPBG4KO0An0PFlZQ7utkFNqfF6RdyOmdoKwg26Aq66Qymz6z0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757947642; c=relaxed/simple; bh=iPy1cCSfXc9gIEjuwuYBOe4X6S2zU7dmuZ/VsLpCeBo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jsMOzcQ57dcbSzJhkY3f+udI1MpkGO/+VBI6rNMXLRRx2XQ4NvmPT2rlosQ+nqC9k3bcH33IRk2xMrOAJer22dHSm/J2nn0xEYA9B8OiHD4hMSC1hJ8hKiWOhoizE2St2NcsAWc+nI+ECgDZHwZDgySrBuzohOhZ+QZ/h2M+YHc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uUYV7mXN; 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="uUYV7mXN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A06CC4CEF1; Mon, 15 Sep 2025 14:47:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757947642; bh=iPy1cCSfXc9gIEjuwuYBOe4X6S2zU7dmuZ/VsLpCeBo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=uUYV7mXND70Jl1QNC//bEdWkKifit+0GIQrXyegzmEt70lJHI7TyowEA9MogM0uew qBLsV5uhjl70bH0gxkcAiYAMpErxmoXN7PEliCeTk1W8virxi2Vxa81qjryOgjQUJv g8BcmjG0cVGeMg561bP+Sw/R/+fZ8BuiC5ZQvTUM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50309: media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init Date: Mon, 15 Sep 2025 16:46:11 +0200 Message-ID: <2025091559-CVE-2022-50309-f82b@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=3564; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SWP6zW/jwIw5aO0jo+uG+3jANAvWIKPFbQIz4nAbReE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkn1JZbybWrWCXv8FgR/MrrrXVV+awUzUe9vQ+XhXAdU RQJb4rsiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIkcsGJYsPvqgvXlN69urf/X /CF65l77A/zl0xnmh99L1kv7NH/le0btCt1/rQYVexfOAgA= 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: media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init of_get_child_by_name() 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-50309 to this issue. Affected and fixed versions =========================== Issue introduced in 4.1 with commit df3305156f989339529b3d6744b898d498fb1f7b and fixed in 4.9.331 with commit 7b0efe7534071e0153708886355d80db69525d50 Issue introduced in 4.1 with commit df3305156f989339529b3d6744b898d498fb1f7b and fixed in 4.14.296 with commit 6e7b3b1e4e9f739800cd8010b75a9bee8d808cee Issue introduced in 4.1 with commit df3305156f989339529b3d6744b898d498fb1f7b and fixed in 4.19.262 with commit 3c38467c3255c428cdbd3cefaccca4662f302dc9 Issue introduced in 4.1 with commit df3305156f989339529b3d6744b898d498fb1f7b and fixed in 5.4.220 with commit 59b315353252abe7b8fdb8651ca31b8484ce287a Issue introduced in 4.1 with commit df3305156f989339529b3d6744b898d498fb1f7b and fixed in 5.10.150 with commit 2630cc88327a5557aa0d9cc63be95e3c6e0a55b3 Issue introduced in 4.1 with commit df3305156f989339529b3d6744b898d498fb1f7b and fixed in 5.15.75 with commit 2ea7caa9684687cf3adc1467cf4af3653a776192 Issue introduced in 4.1 with commit df3305156f989339529b3d6744b898d498fb1f7b and fixed in 5.19.17 with commit 22b93530bbe6af9dce8e520bb6e978d1bda39d2b Issue introduced in 4.1 with commit df3305156f989339529b3d6744b898d498fb1f7b and fixed in 6.0.3 with commit 3336210948b22c2db43e9df2ea403d251b4d24ab Issue introduced in 4.1 with commit df3305156f989339529b3d6744b898d498fb1f7b and fixed in 6.1 with commit 1c78f19c3a0ea312a8178a6bfd8934eb93e9b10a 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-50309 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/media/platform/xilinx/xilinx-vipp.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/7b0efe7534071e0153708886355d80db69525d50 https://git.kernel.org/stable/c/6e7b3b1e4e9f739800cd8010b75a9bee8d808cee https://git.kernel.org/stable/c/3c38467c3255c428cdbd3cefaccca4662f302dc9 https://git.kernel.org/stable/c/59b315353252abe7b8fdb8651ca31b8484ce287a https://git.kernel.org/stable/c/2630cc88327a5557aa0d9cc63be95e3c6e0a55b3 https://git.kernel.org/stable/c/2ea7caa9684687cf3adc1467cf4af3653a776192 https://git.kernel.org/stable/c/22b93530bbe6af9dce8e520bb6e978d1bda39d2b https://git.kernel.org/stable/c/3336210948b22c2db43e9df2ea403d251b4d24ab https://git.kernel.org/stable/c/1c78f19c3a0ea312a8178a6bfd8934eb93e9b10a