From: Greg Kroah-Hartman Date: Tue, 1 Oct 2024 09:56:44 +0000 (+0200) Subject: 4.19-stable patches X-Git-Tag: v6.6.54~93 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aebb0158a1a66a67b84fb40d51e094f1041f82b1;p=thirdparty%2Fkernel%2Fstable-queue.git 4.19-stable patches added patches: soc-versatile-integrator-fix-of-node-leak-in-probe-error-path.patch --- diff --git a/queue-4.19/series b/queue-4.19/series index a828ba29e0a..1af868ed390 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -111,3 +111,4 @@ net-qrtr-update-packets-cloning-when-broadcasting.patch netfilter-ctnetlink-compile-ctnetlink_label_size-wit.patch crypto-aead-cipher-zeroize-key-buffer-after-use.patch remove-.orig-pattern-from-.gitignore.patch +soc-versatile-integrator-fix-of-node-leak-in-probe-error-path.patch diff --git a/queue-4.19/soc-versatile-integrator-fix-of-node-leak-in-probe-error-path.patch b/queue-4.19/soc-versatile-integrator-fix-of-node-leak-in-probe-error-path.patch new file mode 100644 index 00000000000..c0ab84ae60d --- /dev/null +++ b/queue-4.19/soc-versatile-integrator-fix-of-node-leak-in-probe-error-path.patch @@ -0,0 +1,32 @@ +From 874c5b601856adbfda10846b9770a6c66c41e229 Mon Sep 17 00:00:00 2001 +From: Krzysztof Kozlowski +Date: Sun, 25 Aug 2024 20:05:22 +0200 +Subject: soc: versatile: integrator: fix OF node leak in probe() error path + +From: Krzysztof Kozlowski + +commit 874c5b601856adbfda10846b9770a6c66c41e229 upstream. + +Driver is leaking OF node reference obtained from +of_find_matching_node(). + +Fixes: f956a785a282 ("soc: move SoC driver for the ARM Integrator") +Cc: stable@vger.kernel.org +Signed-off-by: Krzysztof Kozlowski +Link: https://lore.kernel.org/20240825-soc-dev-fixes-v1-1-ff4b35abed83@linaro.org +Signed-off-by: Linus Walleij +Signed-off-by: Greg Kroah-Hartman +--- + drivers/soc/versatile/soc-integrator.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/soc/versatile/soc-integrator.c ++++ b/drivers/soc/versatile/soc-integrator.c +@@ -115,6 +115,7 @@ static int __init integrator_soc_init(vo + return -ENODEV; + + syscon_regmap = syscon_node_to_regmap(np); ++ of_node_put(np); + if (IS_ERR(syscon_regmap)) + return PTR_ERR(syscon_regmap); +