Patch "drivers/perf: arm_pmu: Fix leak in error path" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
drivers/perf: arm_pmu: Fix leak in error path
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drivers-perf-arm_pmu-fix-leak-in-error-path.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
753246840d012ae34ea80a1d40bc1546c62fb957Mon Sep 17 00:00:00 2001
From: Stefan Wahren <[email protected]>
Date: Sat, 27 Aug 2016 16:19:49 +0000
Subject: drivers/perf: arm_pmu: Fix leak in error path
From: Stefan Wahren <[email protected]>
commit 753246840d012ae34ea80a1d40bc1546c62fb957 upstream.
In case of a IRQ type mismatch in of_pmu_irq_cfg() the device node for interrupt affinity isn't freed. So fix this issue by calling of_node_put().
--- drivers/perf/arm_pmu.c | 1 + 1 file changed, 1 insertion(+)
drivers/perf/arm_pmu.c +1 -0
@@ -815,6 +815,7 @@ static int of_pmu_irq_cfg(struct arm_pmuif (i >0 && spi != using_spi) {pr_err ("PPI/SPI IRQ type mismatch for %s!\n" , dn->name); +of_node_put (dn);kfree (irqs);return -EINVAL ; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/drivers-perf-arm_pmu-fix-leak-in-error-path.patch