The patch titled Subject: kmsg: /dev/kmsg - properly return possible copy_from_user() failure has been removed from the -mm tree. Its filename was kmsg-dev-kmsg-properly-return-possible-copy_from_user-failure.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Kay Sievers <kay@xxxxxxxx> Subject: kmsg: /dev/kmsg - properly return possible copy_from_user() failure Reported-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Kay Sievers <kay@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/printk.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN kernel/printk.c~kmsg-dev-kmsg-properly-return-possible-copy_from_user-failure kernel/printk.c --- a/kernel/printk.c~kmsg-dev-kmsg-properly-return-possible-copy_from_user-failure +++ a/kernel/printk.c @@ -389,8 +389,10 @@ static ssize_t devkmsg_writev(struct kio line = buf; for (i = 0; i < count; i++) { - if (copy_from_user(line, iv[i].iov_base, iv[i].iov_len)) + if (copy_from_user(line, iv[i].iov_base, iv[i].iov_len)) { + ret = -EFAULT; goto out; + } line += iv[i].iov_len; } _ Patches currently in -mm which might be from kay@xxxxxxxx are origin.patch dynamic_debug-restore-dev_dbg-netdev_dbg-functionality-reduce-stack-use.patch dynamic_debug-restore-dev_dbg-netdev_dbg-functionality-reduce-stack-use-v2.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