diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2013-02-15 11:08:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-28 06:32:23 -0800 |
commit | c56dec21a605c9cad4e37492ca292f114d2aad34 (patch) | |
tree | cb42a485e3d2e8272e35d510aef9a40f7e177ee1 /sound/parisc | |
parent | 890914e9fc7b9c12714a58f1e1318f3de500f241 (diff) | |
download | kernel_samsung_tuna-c56dec21a605c9cad4e37492ca292f114d2aad34.zip kernel_samsung_tuna-c56dec21a605c9cad4e37492ca292f114d2aad34.tar.gz kernel_samsung_tuna-c56dec21a605c9cad4e37492ca292f114d2aad34.tar.bz2 |
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>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions