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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_98E69D461A9CE773D3611822369100FE5A06@qq.com>
Date: Thu, 15 Jan 2026 21:22:41 +0800
From: Felix Gu <gu_0233@...com>
To: gu_0233@...com,
	Guenter Roeck <linux@...ck-us.net>,
	Ban Feng <kcfeng0@...oton.com>
Cc: linux-hwmon@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] hwmon: Fix resource leaks for device_node

When calling of_parse_phandle_with_args(), the caller is responsible
to call of_node_put() to release the reference of device node.
In current code, it does not release the reference, causing a resource leak.

Signed-off-by: Felix Gu <gu_0233@...com>
---
Felix Gu (2):
      hwmon: emc2305: Fix a resource leak in emc2305_of_parse_pwm_child
      hwmon: nct7353: Fix a resource leak in nct7363_present_pwm_fanin

 drivers/hwmon/emc2305.c | 1 +
 drivers/hwmon/nct7363.c | 1 +
 2 files changed, 2 insertions(+)
---
base-commit: 9b7977f9e39b7768c70c2aa497f04e7569fd3e00
change-id: 20260115-hwmon-fixes-3d29ded39dbf

Best regards,
-- 
Felix Gu <gu_0233@...com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ