lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100427-CVE-2023-53592-3da6@gregkh>
Date: Sat,  4 Oct 2025 17:51:46 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53592: gpio: sifive: Fix refcount leak in sifive_gpio_probe

From: Greg Kroah-Hartman <gregkh@...nel.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ