From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f200.google.com (mail-ua0-f200.google.com [209.85.217.200]) by kanga.kvack.org (Postfix) with ESMTP id 93D426B025F for ; Tue, 19 Dec 2017 16:54:58 -0500 (EST) Received: by mail-ua0-f200.google.com with SMTP id x25so6472961uax.16 for ; Tue, 19 Dec 2017 13:54:58 -0800 (PST) Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id x64sor5542736vkc.219.2017.12.19.13.54.57 for (Google Transport Security); Tue, 19 Dec 2017 13:54:57 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <001a113e9ca8a3affd05609d7ccf@google.com> <6a50d160-56d0-29f9-cfed-6c9202140b43@I-love.SAKURA.ne.jp> <20171219083746.GR19604@eros> <20171219132246.GD13680@bombadil.infradead.org> From: Kees Cook Date: Tue, 19 Dec 2017 13:54:56 -0800 Message-ID: Subject: Re: BUG: bad usercopy in memdup_user Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds Cc: Matthew Wilcox , "Tobin C. Harding" , Dmitry Vyukov , Tetsuo Handa , Linux-MM , syzbot , David Windsor , keun-o.park@darkmatter.ae, Laura Abbott , LKML , Mark Rutland , Ingo Molnar , syzkaller-bugs@googlegroups.com, Will Deacon On Tue, Dec 19, 2017 at 1:36 PM, Linus Torvalds wrote: > In this case, there's obviously no permission issue: it's an error > report. So it's either "remove it, or switch to %px". Yup, my intention was to kill this %p and enhance the report to actually include the useful information like, "what is the offset from the start of the object", etc. That's what really matters. -Kees -- Kees Cook Pixel Security -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org