commit 94cd8fa09f5f1ebdd4e90964b08b7f2cc4b36c43 upstream.
In a scenario where kcalloc() fails to allocate memory, the futex_waitv
system call immediately returns -ENOMEM without invoking
destroy_hrtimer_on_stack(). When CONFIG_DEBUG_OBJECTS_TIMERS=y, this
results in leaking a timer debug object.
Fixes:
|
||
|---|---|---|
| .. | ||
| core.c | ||
| futex.h | ||
| Makefile | ||
| pi.c | ||
| requeue.c | ||
| syscalls.c | ||
| waitwake.c | ||