The patch titled Fix AIO completion signal notification possible ref leak has been removed from the -mm tree. Its filename was aio-completion-signal-notification-fix.patch This patch was dropped because it is obsolete ------------------------------------------------------ Subject: Fix AIO completion signal notification possible ref leak From: Sébastien Dugué <sebastien.dugue@xxxxxxxx> Make sure we only accept valid sigev_notify values in aio_setup_sigevent(), namely SIGEV_NONE, SIGEV_THREAD_ID or SIGEV_SIGNAL. Signed-off-by: Sébastien Dugué <sebastien.dugue@xxxxxxxx> Cc: Laurent Vivier <laurent.vivier@xxxxxxxx> Cc: Bharata B Rao <bharata@xxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx> Cc: Suparna Bhattacharya <suparna@xxxxxxxxxx> Cc: Zach Brown <zach.brown@xxxxxxxxxx> Cc: Oleg Nesterov <oleg@xxxxxxxxxx> Cc: Badari Pulavarty <pbadari@xxxxxxxxxx> Cc: Benjamin LaHaise <bcrl@xxxxxxxxxxxxxxx> Cc: Jean Pierre Dion <jean-pierre.dion@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/aio.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletion(-) diff -puN fs/aio.c~aio-completion-signal-notification-fix fs/aio.c --- a/fs/aio.c~aio-completion-signal-notification-fix +++ a/fs/aio.c @@ -938,7 +938,7 @@ static int aio_send_signal(struct aio_no info->si_uid = 0; info->si_value = notify->value; - if (notify->notify & SIGEV_THREAD_ID) + if (notify->notify == SIGEV_THREAD_ID) ret = send_sigqueue(notify->signo, sigq, notify->target); else ret = send_group_sigqueue(notify->signo, sigq, notify->target); @@ -958,6 +958,10 @@ static long aio_setup_sigevent(struct ai if (event.sigev_notify == SIGEV_NONE) return 0; + if (event.sigev_notify != SIGEV_SIGNAL && + event.sigev_notify != SIGEV_THREAD_ID) + return -EINVAL; + notify->notify = event.sigev_notify; notify->signo = event.sigev_signo; notify->value = event.sigev_value; _ Patches currently in -mm which might be from sebastien.dugue@xxxxxxxx are origin.patch futex-priority-based-wakeup.patch make-futex_wait-use-an-hrtimer-for-timeout.patch aio-completion-signal-notification-fix.patch aio-completion-signal-notification-fixes-and-cleanups.patch aio-completion-signal-notification-small-cleanup.patch add-listio-syscall-support.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html