Return-path: Received: from mga02.intel.com ([134.134.136.20]:1428 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753475AbcBXSw1 (ORCPT ); Wed, 24 Feb 2016 13:52:27 -0500 Date: Wed, 24 Feb 2016 19:52:26 +0100 From: Samuel Ortiz To: Cong Wang Cc: Linux Kernel Network Developers , David Miller , Dmitry Vyukov , linux-wireless , Julian Calaby , Eric Dumazet , Lauro Ramos Venancio , Aloisio Almeida Jr Subject: Re: [PATCH v2 net] nfc: use GFP_USER for user-controlled kmalloc Message-ID: <20160224185226.GA23748@zurbaran.home> (sfid-20160224_195234_605194_D8F73710) References: <1454095465-16685-1-git-send-email-xiyou.wangcong@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Feb 24, 2016 at 10:41:29AM -0800, Cong Wang wrote: > On Fri, Jan 29, 2016 at 11:24 AM, Cong Wang wrote: > > These two functions are called in sendmsg path, and the > > 'len' is passed from user-space, so we should not allow > > malicious users to OOM kernel on purpose. > > > > Reported-by: Dmitry Vyukov > > Cc: Lauro Ramos Venancio > > Cc: Aloisio Almeida Jr > > Cc: Samuel Ortiz > > Signed-off-by: Cong Wang > > Ping... > > David, this patch seems still not applied, I guess you expect NFC > maintainer to take it, but this doesn't happen. Could you take it? I'll look at it later today. Cheers, Samuel.