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 E2AFD345CAE for ; Wed, 24 Dec 2025 13:10:00 +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=1766581801; cv=none; b=ZaGRWGEAnlQFOKaOJ/5KWzv3hWSFeRI7deEVHeLQ124m93P+txrc+8vapH46f+5mLg7WpXzqDddyN2vWuD5yV/QTVXwBfWVJk8lK4ehZkl664q/QEMc1NuRQZghedLKHKSGpcL04wL2V743iMAhu5K+W38nCmwcW5SQg/qw946I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581801; c=relaxed/simple; bh=1gWfan1MVY8ReDV0Ij1qKTiDF43HjXYsbIwHTpSoQ8I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LanabHe3FOYgn1qbU8ryi2NJdKIvDyMMKrYJ2MOWCHAYn5SbIkn1uTHx3+x/vYo86VHCn3gluSQOvVgiAXFZMCeodyQMSh4gQbu+EdqUkT0RAggNw7uZaYzHc9vvFUFaX2ylnAlClZd/VtG1PHFZZo1x95CQzP9Iax50d+6OONo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h8rim2RC; 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="h8rim2RC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4282EC4CEFB; Wed, 24 Dec 2025 13:10:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581800; bh=1gWfan1MVY8ReDV0Ij1qKTiDF43HjXYsbIwHTpSoQ8I=; h=From:To:Cc:Subject:Date:Reply-To:From; b=h8rim2RCUx9DDb/IVSegvjjH/zqJG5n/D/atuvIZssaYiwOoMpQLiXYOXNMqCZ8ZJ qtWqnapYKE0TzBercdBvmMsP7l6DUOo6pKeGqj0WgIFTEsEKR/Pdui7dFAb1xeNhuj wzjmQtER7FmvemMizP/BqVtdyzGvDfXdM4BKN72M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54111: pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups Date: Wed, 24 Dec 2025 14:07:08 +0100 Message-ID: <2025122413-CVE-2023-54111-de3c@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=3347; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zFyAG5R3S9Z+qLafE3/1PBChwE4v6gUEEmwl9DqJC0w=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT12fVx7afrWyqTVI900Ol7yUkkxL7ZWt+SttAnJDJ B9+SBHsiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIm8Ps4wi4lHoTGtXqndb1a/ Wuv7e/xiXN87GOapcX7n3Peoe27m5IagM5EhF7Ijp94CAA== 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: pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups of_find_node_by_phandle() returns a node pointer with refcount incremented, We should use of_node_put() on it when not needed anymore. Add missing of_node_put() to avoid refcount leak. The Linux kernel CVE team has assigned CVE-2023-54111 to this issue. Affected and fixed versions =========================== Issue introduced in 3.11 with commit d3e5116119bd02ea7716bbe04b39c21bba4bcf42 and fixed in 4.14.308 with commit aa017ab5716c9157c65fdce061c4a4a568af53a8 Issue introduced in 3.11 with commit d3e5116119bd02ea7716bbe04b39c21bba4bcf42 and fixed in 4.19.276 with commit 5868013522297bf628eee4322d99d6d4de4f308e Issue introduced in 3.11 with commit d3e5116119bd02ea7716bbe04b39c21bba4bcf42 and fixed in 5.4.270 with commit 954a7a0011d94475f8ba5ceb77a5d11e01cf402f Issue introduced in 3.11 with commit d3e5116119bd02ea7716bbe04b39c21bba4bcf42 and fixed in 5.10.173 with commit d562054a3a2eede3507a5461011ee82b671fcb88 Issue introduced in 3.11 with commit d3e5116119bd02ea7716bbe04b39c21bba4bcf42 and fixed in 5.15.99 with commit 0f735f232ff59863e0b6ebac0849d637e215a9c2 Issue introduced in 3.11 with commit d3e5116119bd02ea7716bbe04b39c21bba4bcf42 and fixed in 6.1.16 with commit dbef00ef4b9b98d15183340396e5df0fa7a860d8 Issue introduced in 3.11 with commit d3e5116119bd02ea7716bbe04b39c21bba4bcf42 and fixed in 6.2.3 with commit 3c40b34e3462aab12af3dba77d2e1602afc72e80 Issue introduced in 3.11 with commit d3e5116119bd02ea7716bbe04b39c21bba4bcf42 and fixed in 6.3 with commit c818ae563bf99457f02e8170aabd6b174f629f65 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-2023-54111 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/pinctrl/pinctrl-rockchip.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/aa017ab5716c9157c65fdce061c4a4a568af53a8 https://git.kernel.org/stable/c/5868013522297bf628eee4322d99d6d4de4f308e https://git.kernel.org/stable/c/954a7a0011d94475f8ba5ceb77a5d11e01cf402f https://git.kernel.org/stable/c/d562054a3a2eede3507a5461011ee82b671fcb88 https://git.kernel.org/stable/c/0f735f232ff59863e0b6ebac0849d637e215a9c2 https://git.kernel.org/stable/c/dbef00ef4b9b98d15183340396e5df0fa7a860d8 https://git.kernel.org/stable/c/3c40b34e3462aab12af3dba77d2e1602afc72e80 https://git.kernel.org/stable/c/c818ae563bf99457f02e8170aabd6b174f629f65