From: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> commit 15a62b81175885b5adfcaf49870466e3603f06c7 upstream. Driver code is leaking OF node reference from of_find_matching_node() in probe(). Fixes: ccea5e8a5918 ("bus: Add driver for Integrator/AP logic modules") Cc: stable@xxxxxxxxxxxxxxx Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> Acked-by: Liviu Dudau <liviu.dudau@xxxxxxx> Link: https://lore.kernel.org/20240826054934.10724-2-krzysztof.kozlowski@xxxxxxxxxx Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/bus/arm-integrator-lm.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/bus/arm-integrator-lm.c +++ b/drivers/bus/arm-integrator-lm.c @@ -85,6 +85,7 @@ static int integrator_ap_lm_probe(struct return -ENODEV; } map = syscon_node_to_regmap(syscon); + of_node_put(syscon); if (IS_ERR(map)) { dev_err(dev, "could not find Integrator/AP system controller\n"); Patches currently in stable-queue which might be from krzysztof.kozlowski@xxxxxxxxxx are queue-6.11/reset-k210-fix-of-node-leak-in-probe-error-path.patch queue-6.11/power-supply-axp20x_battery-remove-design-from-min-a.patch queue-6.11/arm64-dts-exynos-exynos7885-jackpotlte-correct-ram-a.patch queue-6.11/soc-versatile-integrator-fix-of-node-leak-in-probe-error-path.patch queue-6.11/reset-berlin-fix-of-node-leak-in-probe-error-path.patch queue-6.11/iio-magnetometer-ak8975-drop-incorrect-ak09116-compa.patch queue-6.11/bus-integrator-lm-fix-of-node-leak-in-probe.patch queue-6.11/power-supply-max17042_battery-fix-soc-threshold-calc.patch queue-6.11/arm-versatile-fix-of-node-leak-in-cpus-prepare.patch queue-6.11/dt-bindings-iio-asahi-kasei-ak8975-drop-incorrect-ak.patch queue-6.11/arm-dts-imx7d-zii-rmu2-fix-ethernet-phy-pinctrl-prop.patch