aboutsummaryrefslogtreecommitdiff
path: root/kernel/slow-work.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2013-02-15 11:08:11 +0100
committerWilly Tarreau <w@1wt.eu>2013-06-10 11:42:12 +0200
commit820e8b30ea5fcc708b49078d1746131a158ba8bb (patch)
treebbb3398309964bcb5a67dec1ebf1b21c41ac5913 /kernel/slow-work.c
parent30145daa32a9f20f6de2cdcff698365f72d2d4b6 (diff)
posix-cpu-timers: Fix nanosleep task_struct leak
commit e6c42c295e071dd74a66b5a9fcf4f44049888ed8 upstream. The trinity fuzzer triggered a task_struct reference leak via clock_nanosleep with CPU_TIMERs. do_cpu_nanosleep() calls posic_cpu_timer_create(), but misses a corresponding posix_cpu_timer_del() which leads to the task_struct reference leak. Reported-and-tested-by: Tommi Rantala <tt.rantala@gmail.com> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Cc: Dave Jones <davej@redhat.com> Cc: John Stultz <john.stultz@linaro.org> Cc: Oleg Nesterov <oleg@redhat.com> Link: http://lkml.kernel.org/r/20130215100810.GF4392@redhat.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'kernel/slow-work.c')
0 files changed, 0 insertions, 0 deletions