From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754791AbbEPFby (ORCPT ); Sat, 16 May 2015 01:31:54 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:37908 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752928AbbEPFbx (ORCPT ); Sat, 16 May 2015 01:31:53 -0400 Date: Sat, 16 May 2015 07:31:43 +0200 From: Willy Tarreau To: Ben Hutchings Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Ani Sinha , "David S. Miller" Subject: Re: [ 26/48] net:socket: set msg_namelen to 0 if msg_name is passed as NULL in msghdr struct from userland. Message-ID: <20150516053142.GA7712@1wt.eu> References: <20150515080531.395264813@1wt.eu> <1431724102.6315.130.camel@decadent.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431724102.6315.130.camel@decadent.org.uk> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ben, On Fri, May 15, 2015 at 10:08:22PM +0100, Ben Hutchings wrote: > I think you'll also want this related fix: > > commit 91edd096e224941131f896b86838b1e59553696a > Author: Catalin Marinas > Date: Fri Mar 20 16:48:13 2015 +0000 > > net: compat: Update get_compat_msghdr() to match copy_msghdr_from_user() behaviour Ah good catch, I missed it. Now merged and tested. BTW, I've added your s-o-b on the two other patches. Thanks! Willy