From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752738AbdA3K4N (ORCPT ); Mon, 30 Jan 2017 05:56:13 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:48992 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751434AbdA3Kz4 (ORCPT ); Mon, 30 Jan 2017 05:55:56 -0500 Date: Mon, 30 Jan 2017 13:54:46 +0300 From: Dan Carpenter To: James Simmons , Liang Zhen , Amir Shehata Cc: Greg Kroah-Hartman , devel@driverdev.osuosl.org, Andreas Dilger , Oleg Drokin , Linux Kernel Mailing List , Lustre Development List Subject: Re: [PATCH 60/60] staging: lustre: libcfs: fix minimum size check for libcfs ioctl Message-ID: <20170130105446.GA6970@mwanda> References: <1485648328-2141-1-git-send-email-jsimmons@infradead.org> <1485648328-2141-61-git-send-email-jsimmons@infradead.org> <20170130105156.GA6881@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170130105156.GA6881@mwanda> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 30, 2017 at 01:51:56PM +0300, Dan Carpenter wrote: > The lstcon_ioctl_entry() function doesn't have enough size checking. Actually, the lstcon_ioctl_entry() would have been fine before we apply this [patch 60/60]... As near as I can tell, no in kernel code is negatively affected by the bug this patch fixes. regards, dan carpenter