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 E1CD1293C62 for ; Wed, 18 Jun 2025 11:14:38 +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=1750245279; cv=none; b=eLk+B8EDJhqTj67kNF8MuGdzJUypJJQBZ0uEZDSk1o1koT86/Bandz4pNmWhBj8g1zvllL0ZUhtXj/DsajpNAk2mQN8YPy3aPpt/pSkW5QVmZEKQZz1bqYQ1AmXsM6D1giG49aqLmRz9MfDdhTaC9t/V1u8NxBDRT3E/ztQwcnA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750245279; c=relaxed/simple; bh=ekeOnHbWt9dOzS5Fdq1HFN+N3iC+UOriK6OHLOQgfHc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uGhbbEpJ4ga6eu1dBoXz/jHZQpZLTp24H63h6ch2NMvJlaD7wAVll5utM9eHUSEBxSU5Fi4S52/K5Q1MDeYxKlX/wyHtoZv6+/xSYNre6GiLd7kqaU0R45jZfUtx7oHMe7m1ss6mb/4V2QU2FQMbpxtM4T8i3NJ3XvV8eNHVyQg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fDSMVbh0; 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="fDSMVbh0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50A58C4CEE7; Wed, 18 Jun 2025 11:14:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750245278; bh=ekeOnHbWt9dOzS5Fdq1HFN+N3iC+UOriK6OHLOQgfHc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=fDSMVbh0pGI06JHh+kDN6De/K3w2SxIS3PfA0Pq59o6Twohw0V73QTC41BnlrOLul FeibAt7EBsi6bnM9yqTTnsw9BLZa5Sh59Uvk3re2/MMm+T+hKYx/oF83Jg5Q5H9Kzm 3PUV/KD5aTMmSfECjtes7KbRbgYFPcfFrLrwGwgs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50184: drm/meson: encoder_hdmi: Fix refcount leak in meson_encoder_hdmi_init Date: Wed, 18 Jun 2025 13:04:09 +0200 Message-ID: <2025061834-CVE-2022-50184-4476@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=2522; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2AgOrfgBauf+h/rYVTmbfrVmV68z+yxpj+U2/pQvk5M=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc/oeNITZv3mdqza71+p8tw/v2aUhF4vPX/98Tv5a4 0zVx26hHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRLToMC7Z+FQ+JYrZJvvuM TWDyl2PXv9cuPs+w4Liu/DeOVyevMQq99c55cu/bfZ8/WgA= 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/meson: encoder_hdmi: Fix refcount leak in meson_encoder_hdmi_init of_graph_get_remote_node() returns remote device nodepointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() to avoid refcount leak. The Linux kernel CVE team has assigned CVE-2022-50184 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15.33 with commit 1c5439a716122cd86530d261cd1bf7ba43b3cdd8 and fixed in 5.15.61 with commit 275fed7142fff5b27e176e53508196715043de5c Issue introduced in 5.17 with commit e67f6037ae1be34b2b686bab72caa41d57714534 and fixed in 5.18.18 with commit 994bc82df85564d948037f1dfdd47c907e8a084b Issue introduced in 5.17 with commit e67f6037ae1be34b2b686bab72caa41d57714534 and fixed in 5.19.2 with commit 013e67e7dd898170cbf54981cf1ed7616f822566 Issue introduced in 5.17 with commit e67f6037ae1be34b2b686bab72caa41d57714534 and fixed in 6.0 with commit d82a5a4aae9d0203234737caed1bf470aa317568 Issue introduced in 5.16.19 with commit 7e88f6d40f5875212f9d9ee8ba19147159908d4a 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-50184 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/meson/meson_encoder_hdmi.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/275fed7142fff5b27e176e53508196715043de5c https://git.kernel.org/stable/c/994bc82df85564d948037f1dfdd47c907e8a084b https://git.kernel.org/stable/c/013e67e7dd898170cbf54981cf1ed7616f822566 https://git.kernel.org/stable/c/d82a5a4aae9d0203234737caed1bf470aa317568