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 6EA4D2F49E9 for ; Wed, 22 Oct 2025 13:24:51 +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=1761139491; cv=none; b=ts6WI5lAaspXvyx68NdMcmogttleFRiQNaaJPkhZ16Gqu9x8c9hTpbE84f9HJ7Tk1xi76Mvu27Ehuh9TWJdngWCJfmD7hXjrJE3Stj7/FVu6X9VF96nil1aQ7S0uPBcNIQ2+s41Gw1ApSEpQawltv0XsNA92JY5Fopu/rx+WbIE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761139491; c=relaxed/simple; bh=UfuRyhMssin1Rhfz6waF2w+Fub7oR7lxY5TtoEKIsmU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=m1Iy4MqBY8HlQPVNMkunzSwKIMiBXckCZKFop5eH1j3lR1Fo42Nq/k5h+P+upUwXiwzGnzbV5IL5L/1fdnWC8y7pXSY/dzZ0WRPgte4KgebclFoSQvAcHdsXBzuGXpgwQ71CLU7Dg9dA4rws9rQMc7CasWXgRP0rqogImOBmcXo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BCg5+ZRU; 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="BCg5+ZRU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA16BC4CEE7; Wed, 22 Oct 2025 13:24:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761139491; bh=UfuRyhMssin1Rhfz6waF2w+Fub7oR7lxY5TtoEKIsmU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BCg5+ZRUfxTYcXKz7CSK9XTKqhyZPWbEwyk/U3O+rPkCpKap8AvAd97QG8PscUyO6 im/2qyHVvallP6+uKfVPXku0CXjhfBO2FI4VnIcJ792EQVc6xFpkjyBNr3h2/HhXEo 0XGu1TQXqmzh1J6WdyVFK4hbCO2XbMVO5sriFygI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50574: drm/omap: dss: Fix refcount leak bugs Date: Wed, 22 Oct 2025 15:24:22 +0200 Message-ID: <2025102208-CVE-2022-50574-da86@gregkh> X-Mailer: git-send-email 2.51.1 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=2846; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2pEz6io0sbSsW2idmtHRCTJxsN2szL/3a8E9MVKwjB4=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk/bv3Incd8aiX/D/YIbu+V/Cy5T6pzIpS6bRQnad3+t WFDYSZ3RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkUjXDfDc34dUfI+v+PBdb 7xEuXe2eEhVtxDC/ZIbLmrLvcs8VN9rvOHi9mUl58bxyAA== 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: drm/omap: dss: Fix refcount leak bugs In dss_init_ports() and __dss_uninit_ports(), we should call of_node_put() for the reference returned by of_graph_get_port_by_id() in fail path or when it is not used anymore. The Linux kernel CVE team has assigned CVE-2022-50574 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit 09bffa6e519256c6fa1552d6ba1f5d594337a464 and fixed in 5.4.220 with commit 9d7af9b1624dd70b67354972d7297429e6372091 Issue introduced in 4.12 with commit 09bffa6e519256c6fa1552d6ba1f5d594337a464 and fixed in 5.10.150 with commit 1f340e1c1c74d11c45a6e32663829b26acd4f47b Issue introduced in 4.12 with commit 09bffa6e519256c6fa1552d6ba1f5d594337a464 and fixed in 5.15.75 with commit a5ce83e85d795ec98697039ecc518b21d5810adc Issue introduced in 4.12 with commit 09bffa6e519256c6fa1552d6ba1f5d594337a464 and fixed in 5.19.17 with commit e55261beb86a15c190b2ff9090cb47bc06765353 Issue introduced in 4.12 with commit 09bffa6e519256c6fa1552d6ba1f5d594337a464 and fixed in 6.0.3 with commit 8f7c4114db841497e1148598e22548dd1f700b22 Issue introduced in 4.12 with commit 09bffa6e519256c6fa1552d6ba1f5d594337a464 and fixed in 6.1 with commit 8b42057e62120813ebe9274f508fa785b7cab33a 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-50574 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/gpu/drm/omapdrm/dss/dss.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/9d7af9b1624dd70b67354972d7297429e6372091 https://git.kernel.org/stable/c/1f340e1c1c74d11c45a6e32663829b26acd4f47b https://git.kernel.org/stable/c/a5ce83e85d795ec98697039ecc518b21d5810adc https://git.kernel.org/stable/c/e55261beb86a15c190b2ff9090cb47bc06765353 https://git.kernel.org/stable/c/8f7c4114db841497e1148598e22548dd1f700b22 https://git.kernel.org/stable/c/8b42057e62120813ebe9274f508fa785b7cab33a