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 575F028DB54 for ; Tue, 30 Dec 2025 12:09:55 +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=1767096595; cv=none; b=Gl2IrGIiI+OSNLacb2lV3PgML+F9s0BKQpQYrlaRoq40c2Mr0v2arVOcE/W63BDKcZMiQ7fFIh2vfq/VwaGbpGVdE6nVdKwaFa6ctKXCyXkr7irR6kZPC14eSBWha15ntv4ONVWAbB9fmRq5pth/1RCjYkXKkOGz+DDmhNpklzg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096595; c=relaxed/simple; bh=B3gjkdU6xUJgNgeWEzP5Nb10eXJ5SyJ80VIgixaUdfY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YLTE7kW7K676fqFMzb0Q08rmHm7L7/ovGYezx0U5+8ZGPQw91fr4tcLVGRCXuI4E/B1q27sWB5v/BLirGBXqqsfeXjx6Z7/FHLenjrkzgWya8ez9JNTMe7xzuwpKQ9vhd7aDF638wQHEmyho00bCRi5mL67vtaaxBis9YV1F/7Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Yeerl/cH; 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="Yeerl/cH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5108C4CEFB; Tue, 30 Dec 2025 12:09:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096595; bh=B3gjkdU6xUJgNgeWEzP5Nb10eXJ5SyJ80VIgixaUdfY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Yeerl/cHNhxL5EoZOrS0t8aB+OcOi50pqTH1/rq57AbgqYNSniiWbogK/omwl4E6S rnQQpw6xA6TNZndGc6maRX8bpwK44Eeouqgdvj084XSTt0GAs4mkoOj67fv9noa+Xu vp8dwHrDJStDhaA0O6+lIkOuzW1Lm14AWWO+YgVU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50823: clk: tegra: Fix refcount leak in tegra114_clock_init Date: Tue, 30 Dec 2025 13:09:27 +0100 Message-ID: <2025123017-CVE-2022-50823-8c3a@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=3554; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PfZUr5u+bymIlqMdnp9XiJPSSW4nEYGugqgbH5YLl8U=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB95e1KxZOvXuuTcO7Y+ych7biWYfX6ZVxLm+W15A2 9VU5u/FjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI5SmG+dEWG04EGPA8nxOz xNVO8eGJ4J7IPQzzzK+5PtaPFV/qn1Ml8/3E39KeUHlLAA== 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: clk: tegra: Fix refcount leak in tegra114_clock_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-50823 to this issue. Affected and fixed versions =========================== Issue introduced in 3.10 with commit 2cb5efefd6f7d3e7df9a7430b910a80515821256 and fixed in 4.9.331 with commit 1f0e1cbbaffd729560716e9592aa5e609ea93bb6 Issue introduced in 3.10 with commit 2cb5efefd6f7d3e7df9a7430b910a80515821256 and fixed in 4.14.296 with commit ce699dcdac2bfdb6b238f2517ba41d9623b15f46 Issue introduced in 3.10 with commit 2cb5efefd6f7d3e7df9a7430b910a80515821256 and fixed in 4.19.262 with commit 8cc87a9c142ae0e276a3ff9ce50f78a1668da36f Issue introduced in 3.10 with commit 2cb5efefd6f7d3e7df9a7430b910a80515821256 and fixed in 5.4.220 with commit 5984b1d66126b024ee77482602ac6e51b53f4116 Issue introduced in 3.10 with commit 2cb5efefd6f7d3e7df9a7430b910a80515821256 and fixed in 5.10.150 with commit c01bfd23cc13a420b3f6a36bcab98410f49d480d Issue introduced in 3.10 with commit 2cb5efefd6f7d3e7df9a7430b910a80515821256 and fixed in 5.15.75 with commit e7a57fb92af52c4da69cd947752e8946e5ada50a Issue introduced in 3.10 with commit 2cb5efefd6f7d3e7df9a7430b910a80515821256 and fixed in 5.19.17 with commit 8e1fe30253930c6a67385c19802c5ab8706a76d9 Issue introduced in 3.10 with commit 2cb5efefd6f7d3e7df9a7430b910a80515821256 and fixed in 6.0.3 with commit a7d3fb5814c73d7d49913e4294f8f508a3038bb4 Issue introduced in 3.10 with commit 2cb5efefd6f7d3e7df9a7430b910a80515821256 and fixed in 6.1 with commit db16a80c76ea395766913082b1e3f939dde29b2c 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-50823 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/clk/tegra/clk-tegra114.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/1f0e1cbbaffd729560716e9592aa5e609ea93bb6 https://git.kernel.org/stable/c/ce699dcdac2bfdb6b238f2517ba41d9623b15f46 https://git.kernel.org/stable/c/8cc87a9c142ae0e276a3ff9ce50f78a1668da36f https://git.kernel.org/stable/c/5984b1d66126b024ee77482602ac6e51b53f4116 https://git.kernel.org/stable/c/c01bfd23cc13a420b3f6a36bcab98410f49d480d https://git.kernel.org/stable/c/e7a57fb92af52c4da69cd947752e8946e5ada50a https://git.kernel.org/stable/c/8e1fe30253930c6a67385c19802c5ab8706a76d9 https://git.kernel.org/stable/c/a7d3fb5814c73d7d49913e4294f8f508a3038bb4 https://git.kernel.org/stable/c/db16a80c76ea395766913082b1e3f939dde29b2c