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 76666279784 for ; Sat, 4 Oct 2025 15:53:46 +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=1759593226; cv=none; b=FHWxs4BqCrZgIRK+JOHT1RPjV68uNZnYTICyWikbhqMCUs9krnVurcvawGB/P0uYPBiEPOGEhZhBdkYDB+pU6q2nfzMViFn7/XReWMWO1APhJTezMfSPOU2ladwfqSio2fhAhULO4i53Rki1pNUQZ/y82+SVScQONMrScOWViyo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759593226; c=relaxed/simple; bh=Pl2u+P5fdHEqfWs5PlzrHwZvYiknDIdNAYsdsALOw+k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BHjCUkqN9ELC2O/doGkTASSQbt/AFhtDPe66alaJjvtXIPNa5hBd0DzHcQWsWMtpd7mwETf68KLZxjkxFcSh6SBI1GmKwKRTt57XYD+1S02Q2KwMnCWbysfSzx52SSIwxSdGGSDe64oHJOUVgk3AqQOGH65JO1foSe/kxZZZZak= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=p057inaz; 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="p057inaz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE703C4CEF1; Sat, 4 Oct 2025 15:53:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759593226; bh=Pl2u+P5fdHEqfWs5PlzrHwZvYiknDIdNAYsdsALOw+k=; h=From:To:Cc:Subject:Date:Reply-to:From; b=p057inazIk5PQjn0V+YPzCN0qS1WPHrzvrme1p0UenLuJcDSi2m0SiaU5lZOk/gFf +0RIRQ/NipFLY0dC7qWB5WQWscoYrzat+xqFqhAvke9T7gAEGfysRZ3IwYjaywDA+p NxOB0DNE8iGy4qWeRg/+iMNBuO2AuOh+hyrepa38= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53592: gpio: sifive: Fix refcount leak in sifive_gpio_probe Date: Sat, 4 Oct 2025 17:51:46 +0200 Message-ID: <2025100427-CVE-2023-53592-3da6@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=2623; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Zvm3HZunZTtHBBZHSFt71tI4pE0pdpxF5Mil688KU+E=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPneov2Kg1RzcYJAnl31HL2X7MLZH1sLnA/c2vy01qd hXt4/nbEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpADfZnmHBsjm9x3LV/57NtdXp efne/NnzOXFxDHMlkoUZOr6vdeQ7zTunVrrAwi6b4wUA 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: gpio: sifive: Fix refcount leak in sifive_gpio_probe of_irq_find_parent() 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-53592 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit 96868dce644d002383f6d5eb575a6ce3c8779f39 and fixed in 5.10.163 with commit f4a2ad1002006548e235255c65a4f1d07312be9d Issue introduced in 5.6 with commit 96868dce644d002383f6d5eb575a6ce3c8779f39 and fixed in 5.15.87 with commit 95da1882ce9372ba20278f87cdb7a34f9812c4b5 Issue introduced in 5.6 with commit 96868dce644d002383f6d5eb575a6ce3c8779f39 and fixed in 6.0.19 with commit f9fb4776ebbc16dfc512adbdc0fe218acb47c7cc Issue introduced in 5.6 with commit 96868dce644d002383f6d5eb575a6ce3c8779f39 and fixed in 6.1.5 with commit 9a402a210798662b04cbe6ca466e916a15efa03a Issue introduced in 5.6 with commit 96868dce644d002383f6d5eb575a6ce3c8779f39 and fixed in 6.2 with commit 694175cd8a1643cde3acb45c9294bca44a8e08e9 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-53592 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/gpio/gpio-sifive.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/f4a2ad1002006548e235255c65a4f1d07312be9d https://git.kernel.org/stable/c/95da1882ce9372ba20278f87cdb7a34f9812c4b5 https://git.kernel.org/stable/c/f9fb4776ebbc16dfc512adbdc0fe218acb47c7cc https://git.kernel.org/stable/c/9a402a210798662b04cbe6ca466e916a15efa03a https://git.kernel.org/stable/c/694175cd8a1643cde3acb45c9294bca44a8e08e9