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 79B99296BD0 for ; Tue, 30 Dec 2025 12:11:19 +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=1767096679; cv=none; b=tqz1GVA1PmmcVNuQEP2OH1shNfoUhby58ae7Jv1OYpx1Ku68rLkOHVZ6qo46cdP7bipDoOjXYDcglWA35ApwBN3zgl3aA7kSYGszVnz78QBpG2rZRBO+smqoKdr2ELWRYAgzotBsCQo4JfMfplqPicPJkyzfatOpfgvBMenmnm0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096679; c=relaxed/simple; bh=y98lnyGYKSgXE2EKYTkUNWVM35u3qSinYVswFw2Xn+M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SyGi8WKjCxSD4ALy9BdL6bnyT920Y4VKtjjtiPuoZxzK/lt8Exp/dGV/vGA0qMup4LUtA8RLuIDRUcjYgCgeB0buFZumfR3b23uPCZt/IeTAoNGWx1Yqq7VM8e/zot5KMf39JBLNozFy2E/Fifgi2cwoaL1IwU/GbPH9Ju6zD8M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gKwvlOF9; 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="gKwvlOF9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09855C116C6; Tue, 30 Dec 2025 12:11:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096679; bh=y98lnyGYKSgXE2EKYTkUNWVM35u3qSinYVswFw2Xn+M=; h=From:To:Cc:Subject:Date:Reply-To:From; b=gKwvlOF9SMLHcIb2ViDvdjuruwgzHv03RlUKo9RHb/FiiQtwzHnF7sD+LVxsoM+sa qMTJz4qtJfqXlJaxrHBW2IHyvbGPCPsBPqZ/leA4//dFB9bdSmxb7Ajlo9TzaQqkpA eBkrCak5kLyF/KH6xrTMXIo4iLJap5gE1+KSvulU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54190: leds: led-core: Fix refcount leak in of_led_get() Date: Tue, 30 Dec 2025 13:09:58 +0100 Message-ID: <2025123027-CVE-2023-54190-7c7d@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=2590; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/GIHs620DLHDjq7wEZA0bXHxOEQ9beDlBi3whsf3scA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB76r535g6PSdu/L46dddFb4Pyvaxxb29/PlHQ8lOh /N3Xlc4dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBESp0Z5gpkaDjs19X106uv Wdnm0vL+g6rQVYb5kfM3t1rpbuKb825X4kJfEd4nSmJ3AQ== 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: leds: led-core: Fix refcount leak in of_led_get() class_find_device_by_of_node() calls class_find_device(), it will take the reference, use the put_device() to drop the reference when not need anymore. The Linux kernel CVE team has assigned CVE-2023-54190 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit 699a8c7c4bd376aee4808e6272188319e900c8af and fixed in 5.10.173 with commit 1d6101d9222e1ca8c01b3fa9ebf0dcf7bcd82564 Issue introduced in 5.6 with commit 699a8c7c4bd376aee4808e6272188319e900c8af and fixed in 5.15.99 with commit 690efcb5827c3bacbf1de90cd14907b91bf8cb7b Issue introduced in 5.6 with commit 699a8c7c4bd376aee4808e6272188319e900c8af and fixed in 6.1.16 with commit d880981b82223f9bf128dfdd2424abb0c658f345 Issue introduced in 5.6 with commit 699a8c7c4bd376aee4808e6272188319e900c8af and fixed in 6.2.3 with commit ddf3e82164afd9381b1d52c9f00b3878f7b6d308 Issue introduced in 5.6 with commit 699a8c7c4bd376aee4808e6272188319e900c8af and fixed in 6.3 with commit da1afe8e6099980fe1e2fd7436dca284af9d3f29 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-54190 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/leds/led-class.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/1d6101d9222e1ca8c01b3fa9ebf0dcf7bcd82564 https://git.kernel.org/stable/c/690efcb5827c3bacbf1de90cd14907b91bf8cb7b https://git.kernel.org/stable/c/d880981b82223f9bf128dfdd2424abb0c658f345 https://git.kernel.org/stable/c/ddf3e82164afd9381b1d52c9f00b3878f7b6d308 https://git.kernel.org/stable/c/da1afe8e6099980fe1e2fd7436dca284af9d3f29