Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1358721pxa; Fri, 28 Aug 2020 10:24:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrW6wHJXuVYvBrlR8KvaZamcSoiIsz6IERDQDfYQsVfW2uWs0FJINwHdDVPGUbIm2xmU8p X-Received: by 2002:aa7:cfc7:: with SMTP id r7mr3082366edy.24.1598635452793; Fri, 28 Aug 2020 10:24:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598635452; cv=none; d=google.com; s=arc-20160816; b=yGAD9Ytj6fv+mOmWqum5mOCxVzO1nN8bMZJW18Bmg6SVEV5thL5ckR9/zBHGHOaRYU jb75cZK7Dj/6KEn718WmMPhuZOvKcqKg26TEcxLU8dsmo1ZnFAABmh8an6SiIRh8zc9B Tj7PnfBNEduuoBecfwykKxPpZf7qqYuEan6d0XHxzeiyG8vMjQlDzpZz1bIEMXV1NGhK hJ2fi1863XYK1rPL2XgoeWW8VQsmt3CPXM3LHQr17/uAs97NhZjOuIuEp8cDjHPX2HoX HpvrwZ9tFoGsIVS6HeuO2Z7qrHokKBDAXJzz937gT8Zt41dxeEqWKxda52CFGmYFq/hE UiOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Zzh3PbGada1OY8fLlqpa+6q3z5O52tfvY2fxGw0A+NU=; b=iQnWbeX+S6CE4uGMe7kAe3Iavx3gfE9cK3ezkBQpjNrmX9yyYYlB4CZ/XDJjjDVtlc mT238oZUiLQNlx8uWPIr9Rqp1dcrpGjORcePG8PnDeUpbKdle6WpDKV0t4+PqD5tbCF6 g90rcqSvbRZDOC3crexOlJRf3RTYCLDLlLOzZuvwiwtB8k0bBVtXJ8UHC/m3hV+lHjLB 2sAd4pI4zxQaYFX7ZQiySziQGpt5VajixBUg/4kbWmjLyAduHvi52/oGFWuXR2V+sJJ4 0wyPhfSMP2O7O0UOr5O2T4N5GlrXrWe7/gwIlQv0khM1Lvz+pS5nXQ4plH9DjOKGWEJ2 w/Fw== 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 t4si73451eju.531.2020.08.28.10.23.50; Fri, 28 Aug 2020 10:24:12 -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 S1727937AbgH1RWH (ORCPT + 99 others); Fri, 28 Aug 2020 13:22:07 -0400 Received: from correo.us.es ([193.147.175.20]:54696 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727889AbgH1RV7 (ORCPT ); Fri, 28 Aug 2020 13:21:59 -0400 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id 218711C436B for ; Fri, 28 Aug 2020 19:21:58 +0200 (CEST) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id 1095FDA78D for ; Fri, 28 Aug 2020 19:21:58 +0200 (CEST) Received: by antivirus1-rhel7.int (Postfix, from userid 99) id 04FD1DA73F; Fri, 28 Aug 2020 19:21:58 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on antivirus1-rhel7.int X-Spam-Level: X-Spam-Status: No, score=-108.2 required=7.5 tests=ALL_TRUSTED,BAYES_50, SMTPAUTH_US2,USER_IN_WELCOMELIST,USER_IN_WHITELIST autolearn=disabled version=3.4.1 Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id E174EDA730; Fri, 28 Aug 2020 19:21:55 +0200 (CEST) Received: from 192.168.1.97 (192.168.1.97) by antivirus1-rhel7.int (F-Secure/fsigk_smtp/550/antivirus1-rhel7.int); Fri, 28 Aug 2020 19:21:55 +0200 (CEST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/antivirus1-rhel7.int) Received: from us.es (unknown [90.77.255.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 1984lsi) by entrada.int (Postfix) with ESMTPSA id A052142EF4E1; Fri, 28 Aug 2020 19:21:55 +0200 (CEST) Date: Fri, 28 Aug 2020 19:21:55 +0200 X-SMTPAUTHUS: auth mail.us.es From: Pablo Neira Ayuso To: Peilin Ye Cc: Wensong Zhang , Simon Horman , Julian Anastasov , Cong Wang , 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: <20200828172155.GA6651@salvia> References: <20200810220703.796718-1-yepeilin.cs@gmail.com> <20200811074640.841693-1-yepeilin.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200811074640.841693-1-yepeilin.cs@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Virus-Scanned: ClamAV using ClamSMTP 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 03:46:40AM -0400, Peilin Ye wrote: > do_ip_vs_set_ctl() is referencing uninitialized stack value when `len` is > zero. Fix it. Applied to nf-next, thanks.