The patch titled Subject: fs/compat_ioctl.c: VIDEO_SET_SPU_PALETTE missing error check has been removed from the -mm tree. Its filename was fs-compat_ioctlc-video_set_spu_palette-missing-error-check.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Kees Cook <keescook@xxxxxxxxxxxx> Subject: fs/compat_ioctl.c: VIDEO_SET_SPU_PALETTE missing error check The compat ioctl for VIDEO_SET_SPU_PALETTE was missing an error check while converting ioctl arguments. This could lead to leaking kernel stack contents into userspace. Patch extracted from existing fix in grsecurity. Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx> Cc: David Miller <davem@xxxxxxxxxxxxx> Cc: Brad Spengler <spender@xxxxxxxxxxxxxx> Cc: PaX Team <pageexec@xxxxxxxxxxx> Cc: <stable@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/compat_ioctl.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN fs/compat_ioctl.c~fs-compat_ioctlc-video_set_spu_palette-missing-error-check fs/compat_ioctl.c --- a/fs/compat_ioctl.c~fs-compat_ioctlc-video_set_spu_palette-missing-error-check +++ a/fs/compat_ioctl.c @@ -210,6 +210,8 @@ static int do_video_set_spu_palette(unsi err = get_user(palp, &up->palette); err |= get_user(length, &up->length); + if (err) + return -EFAULT; up_native = compat_alloc_user_space(sizeof(struct video_spu_palette)); err = put_user(compat_ptr(palp), &up_native->palette); _ Patches currently in -mm which might be from keescook@xxxxxxxxxxxx are linux-next.patch fs-pstore-ramc-fix-up-section-annotations.patch proc-dont-show-nonexistent-capabilities.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