https://github.com/torvalds/linux
Revision a05b82d5149dfeef05254a11c3636a89a854520a authored by Vaibhav Jain on 21 October 2016, 09:23:53 UTC, committed by Michael Ellerman on 24 October 2016, 00:38:27 UTC
In some error paths in functions cxl_start_context and
afu_ioctl_start_work pid references to the current & group-leader tasks
can leak after they are taken. This patch fixes these error paths to
release these pid references before exiting the error path.

Fixes: 7b8ad495d592 ("cxl: Fix DSI misses when the context owning task exits")
Cc: stable@vger.kernel.org # v4.5+
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reported-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent 80f2393
Raw File
Tip revision: a05b82d5149dfeef05254a11c3636a89a854520a authored by Vaibhav Jain on 21 October 2016, 09:23:53 UTC
cxl: Fix leaking pid refs in some error paths
Tip revision: a05b82d
fdt_sw.c
#include <linux/libfdt_env.h>
#include "../scripts/dtc/libfdt/fdt_sw.c"
back to top