From: Joe Hattori <joe@xxxxxxxxxxxxxxxxxxxxx> commit a266462b937beba065e934a563efe13dd246a164 upstream. phy_syscon_pll_refclk() leaks an OF node obtained by of_parse_phandle_with_fixed_args(), thus add an of_node_put() call. Cc: stable <stable@xxxxxxxxxx> Fixes: e8784c0aec03 ("drivers: usb: dwc3: Add AM62 USB wrapper driver") Signed-off-by: Joe Hattori <joe@xxxxxxxxxxxxxxxxxxxxx> Acked-by: Thinh Nguyen <Thinh.Nguyen@xxxxxxxxxxxx> Link: https://lore.kernel.org/r/20250109001638.70033-1-joe@xxxxxxxxxxxxxxxxxxxxx Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/usb/dwc3/dwc3-am62.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/usb/dwc3/dwc3-am62.c +++ b/drivers/usb/dwc3/dwc3-am62.c @@ -146,6 +146,7 @@ static int phy_syscon_pll_refclk(struct if (ret) return ret; + of_node_put(args.np); am62->offset = args.args[0]; ret = regmap_update_bits(am62->syscon, am62->offset, PHY_PLL_REFCLK_MASK, am62->rate_code); Patches currently in stable-queue which might be from joe@xxxxxxxxxxxxxxxxxxxxx are queue-6.1/memory-tegra20-emc-fix-an-of-node-reference-bug-in-t.patch queue-6.1/regulator-of-implement-the-unwind-path-of-of_regulat.patch queue-6.1/fbdev-omapfb-fix-an-of-node-leak-in-dss_of_port_get_.patch queue-6.1/opp-of-fix-an-of-node-leak-in-_opp_add_static_v2.patch queue-6.1/mtd-hyperbus-hbmc-am654-fix-an-of-node-reference-lea.patch queue-6.1/dmaengine-ti-edma-fix-of-node-reference-leaks-in-edm.patch queue-6.1/acpi-fan-cleanup-resources-in-the-error-path-of-.pro.patch queue-6.1/staging-media-imx-fix-of-node-leak-in-imx_media_add_.patch queue-6.1/crypto-ixp4xx-fix-of-node-reference-leaks-in-init_ix.patch queue-6.1/leds-netxbig-fix-an-of-node-reference-leak-in-netxbi.patch queue-6.1/usb-dwc3-am62-fix-an-of-node-leak-in-phy_syscon_pll_refclk.patch