From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3FEEC5DF63 for ; Wed, 6 Nov 2019 18:13:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BD9B0217D7 for ; Wed, 6 Nov 2019 18:13:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573064031; bh=Ta1ybKjmi0q0KWQZNpGJKfbd9zOitUNAQZVj6Hxc294=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=eTpSFO1Ayyoz24wE0ZEWz7SkNgIJIyVthlr+Tl+cOuoF00/TP9VIIa6e5zuXqhnvm kUFpC0nWogxZQiSr9rJx1ROEXpzbmZeHoMbQmcMlfctvnouIwtorvSGcK4W2coOLTC qMS4A+efMsw9fmr3Y6Pv/oYXWbxEiL0P12fYrF8Q= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732487AbfKFSNu (ORCPT ); Wed, 6 Nov 2019 13:13:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:58990 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727286AbfKFSNu (ORCPT ); Wed, 6 Nov 2019 13:13:50 -0500 Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8358D2166E; Wed, 6 Nov 2019 18:13:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573064029; bh=Ta1ybKjmi0q0KWQZNpGJKfbd9zOitUNAQZVj6Hxc294=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LdWzgySPOwqFPRp6S8W/AdVCXFeh0qivlwI4NKVsoiWM2TbBGXUlRJIR1GIYzWxcV 8kGunXPENoww38XldDZxprZcnF4nPE2X9i01z4pWt3OC6eVVUwSZMkMMTI/J/WcgpN HMIBcYWinzHjE3tBtxfuy4b1RLfkAtoTZ3GaUzvw= Date: Wed, 6 Nov 2019 10:13:49 -0800 From: Andrew Morton To: Kees Cook Cc: Daniel Vetter , DRI Development , LKML , syzbot+fb77e97ebf0612ee6914@syzkaller.appspotmail.com, Alexander Viro , Stephen Rothwell , Daniel Vetter Subject: Re: [PATCH] drm: Limit to INT_MAX in create_blob ioctl Message-Id: <20191106101349.7dfaa4282db4c7a0239b96f2@linux-foundation.org> In-Reply-To: <201911060920.71D7E76E@keescook> References: <20191106164755.31478-1-daniel.vetter@ffwll.ch> <201911060920.71D7E76E@keescook> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 6 Nov 2019 09:24:18 -0800 Kees Cook wrote: > > Since this is -mm can I have a stable sha1 or something for > > referencing? Or do you want to include this in the -mm patch bomb for > > the merge window? > > Traditionally these things live in akpm's tree when they are fixes for > patches in there. I have no idea how the Fixes tags work in that case, > though... I queued it immediately ahead of uaccess-disallow-int_max-copy-sizes.patch so all should be good, thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0336C5DF65 for ; Wed, 6 Nov 2019 18:13:52 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BE09E217D7 for ; Wed, 6 Nov 2019 18:13:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BE09E217D7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F2A1F6E402; Wed, 6 Nov 2019 18:13:51 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0650D6E271 for ; Wed, 6 Nov 2019 18:13:49 +0000 (UTC) Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8358D2166E; Wed, 6 Nov 2019 18:13:49 +0000 (UTC) Date: Wed, 6 Nov 2019 10:13:49 -0800 From: Andrew Morton To: Kees Cook Subject: Re: [PATCH] drm: Limit to INT_MAX in create_blob ioctl Message-Id: <20191106101349.7dfaa4282db4c7a0239b96f2@linux-foundation.org> In-Reply-To: <201911060920.71D7E76E@keescook> References: <20191106164755.31478-1-daniel.vetter@ffwll.ch> <201911060920.71D7E76E@keescook> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573064029; bh=Ta1ybKjmi0q0KWQZNpGJKfbd9zOitUNAQZVj6Hxc294=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LdWzgySPOwqFPRp6S8W/AdVCXFeh0qivlwI4NKVsoiWM2TbBGXUlRJIR1GIYzWxcV 8kGunXPENoww38XldDZxprZcnF4nPE2X9i01z4pWt3OC6eVVUwSZMkMMTI/J/WcgpN HMIBcYWinzHjE3tBtxfuy4b1RLfkAtoTZ3GaUzvw= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Rothwell , syzbot+fb77e97ebf0612ee6914@syzkaller.appspotmail.com, Daniel Vetter , LKML , DRI Development , Alexander Viro , Daniel Vetter Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Message-ID: <20191106181349.7ghDqJbceo19uj45ho2z0G_s7c_4d7qyS15moOSTxXg@z> T24gV2VkLCA2IE5vdiAyMDE5IDA5OjI0OjE4IC0wODAwIEtlZXMgQ29vayA8a2Vlc2Nvb2tAY2hy b21pdW0ub3JnPiB3cm90ZToKCj4gPiBTaW5jZSB0aGlzIGlzIC1tbSBjYW4gSSBoYXZlIGEgc3Rh YmxlIHNoYTEgb3Igc29tZXRoaW5nIGZvcgo+ID4gcmVmZXJlbmNpbmc/IE9yIGRvIHlvdSB3YW50 IHRvIGluY2x1ZGUgdGhpcyBpbiB0aGUgLW1tIHBhdGNoIGJvbWIgZm9yCj4gPiB0aGUgbWVyZ2Ug d2luZG93Pwo+IAo+IFRyYWRpdGlvbmFsbHkgdGhlc2UgdGhpbmdzIGxpdmUgaW4gYWtwbSdzIHRy ZWUgd2hlbiB0aGV5IGFyZSBmaXhlcyBmb3IKPiBwYXRjaGVzIGluIHRoZXJlLiBJIGhhdmUgbm8g aWRlYSBob3cgdGhlIEZpeGVzIHRhZ3Mgd29yayBpbiB0aGF0IGNhc2UsCj4gdGhvdWdoLi4uCgpJ IHF1ZXVlZCBpdCBpbW1lZGlhdGVseSBhaGVhZCBvZgp1YWNjZXNzLWRpc2FsbG93LWludF9tYXgt Y29weS1zaXplcy5wYXRjaCBzbyBhbGwgc2hvdWxkIGJlIGdvb2QsCnRoYW5rcy4KCl9fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCmRyaS1kZXZlbCBtYWlsaW5n IGxpc3QKZHJpLWRldmVsQGxpc3RzLmZyZWVkZXNrdG9wLm9yZwpodHRwczovL2xpc3RzLmZyZWVk ZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2RyaS1kZXZlbA==