Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp396410pxa; Tue, 11 Aug 2020 06:01:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjK2GX7/b95ynX8X2UZ33VCz+Ju+kwfuh7MJpgoISiMh+b6rkiilXGvm48f5XDXCdlSx6W X-Received: by 2002:aa7:cd04:: with SMTP id b4mr25145534edw.254.1597150860217; Tue, 11 Aug 2020 06:01:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597150860; cv=none; d=google.com; s=arc-20160816; b=bin+5pnWkB8SAkijIOf5BdAwMHbgfwXdoFFkRRDfvXkn4hFyair8f/uNPmLBs2SuTU F9beBkn9HFF6bjVrh+PaKjRXLZHAGVLJNlH5GfQfG/AAJPNUTPpAYPI8YXrUSKOkhUEz r/MJ+NsgImHr1txsPBOXOX0NF0TQKiKNF/E/JtY+qOCBUIG0/4s7fbqh6ZIGccPxEDVt hdptxR/y8Q7QqdJ/DHbwAO/SmmPfLe/JgCrrx1aAIaq1Jr9V++hhRymqF3wTlgfzlKi6 y3zFT1+OeBVDnVWpmclAxLQ+ewgUV/wEi5u1zp4o0dRKZVy9mSYPNWYtoLpaWjwBqei0 O+2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=vpLBJAjmP/wXBj8VX7iL+4OsbAJUeLxb2Roz43dxafQ=; b=J7NeYJyNjxUQaPU0Xedm3tsTPw7TLouJDX1pDkCDfua12joIlBjlPbAk5V65Vvpawd kc3QKrYYsq6tqEhBZKPY3cxVBPEaO/ta6g55+4NV2fUeZTlsaOLTvGj+Us/WaTMDE/uq UQ08Y91EP4T/jSR0IIe/3gNg+6xMsCYAE4dGz1sdqftYQ0GFQVyxk72NMTcqs01JEoM8 uwr9acrF2OkzHH7ostnafozmKd41h4lwFcox1WvmCb+ZMfJverBLKzS7m+lPm3GI90QY lP7Rfgf4WkUbfZxpy4yqgmJkbIQclYY8coAq5uyEiiL7MFMULraUMtJD4MwhvWyO5Xn+ SBHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s11si12768219edi.214.2020.08.11.06.00.36; Tue, 11 Aug 2020 06:01:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728776AbgHKNAF (ORCPT + 99 others); Tue, 11 Aug 2020 09:00:05 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:35482 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728556AbgHKNAD (ORCPT ); Tue, 11 Aug 2020 09:00:03 -0400 Received: from madeliefje.horms.nl (unknown [83.161.246.101]) by kirsty.vergenet.net (Postfix) with ESMTPA id 3DE1225B73C; Tue, 11 Aug 2020 23:00:01 +1000 (AEST) Received: by madeliefje.horms.nl (Postfix, from userid 7100) id 1E5F7A93; Tue, 11 Aug 2020 14:59:59 +0200 (CEST) Date: Tue, 11 Aug 2020 14:59:59 +0200 From: Simon Horman To: Julian Anastasov Cc: Peilin Ye , Wensong Zhang , Cong Wang , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , Jakub Kicinski , Greg Kroah-Hartman , netdev@vger.kernel.org, lvs-devel@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, linux-kernel-mentees@lists.linuxfoundation.org, syzkaller-bugs@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [Linux-kernel-mentees] [PATCH net-next v2] ipvs: Fix uninit-value in do_ip_vs_set_ctl() Message-ID: <20200811125956.GA31293@vergenet.net> References: <20200810220703.796718-1-yepeilin.cs@gmail.com> <20200811074640.841693-1-yepeilin.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organisation: Horms Solutions BV User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 11, 2020 at 01:29:04PM +0300, Julian Anastasov wrote: > > Hello, > > On Tue, 11 Aug 2020, Peilin Ye wrote: > > > do_ip_vs_set_ctl() is referencing uninitialized stack value when `len` is > > zero. Fix it. > > > > Reported-by: syzbot+23b5f9e7caf61d9a3898@syzkaller.appspotmail.com > > Link: https://syzkaller.appspot.com/bug?id=46ebfb92a8a812621a001ef04d90dfa459520fe2 > > Suggested-by: Julian Anastasov > > Signed-off-by: Peilin Ye > > Looks good to me, thanks! > > Acked-by: Julian Anastasov Pablo, could you consider this for nf-next or should we repost when net-next re-opens? Reviewed-by: Simon Horman