Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1270011imm; Tue, 2 Oct 2018 05:44:55 -0700 (PDT) X-Google-Smtp-Source: ACcGV62x1ktCllT/ORh5PTk3q5dBpEs8wMv1V10vyI2dArWIRhZ8TAkGbd+ItcrToDZ9SRVhSggO X-Received: by 2002:a62:41d6:: with SMTP id g83-v6mr16377865pfd.44.1538484295318; Tue, 02 Oct 2018 05:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538484295; cv=none; d=google.com; s=arc-20160816; b=b1wCbCypwmPUdlgVvl1yrM250qvwYb1t+TKuTzXNN31lNC3ezU4VPnF58lvHPnWIj9 Mxeyiex6Qt79l67mPpgzIno882xbNiYp3YOTjSCji04ge54llw0n7X4fPjZmdRSQ/Boi VK6xFV0WIMbHtVq7UV9XOrnQUgLQsKrzDDqoBH9PTicV9zdBzssOWc47ivkQqNwBFZ7e AwehKsqOevzBOHviEVNhVFUwE4qjsqgJ1srIsmFRsFltLjPGgN0lhk+hEpjTiNB4yUFR iu5FsDFgE6EhcWy0oZu0mQyRuABsoVcC8CX64KWtaMEAuMw8Dr5eTefI9uPIAs55G5JK ePhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ryg0tRwH+jiLmbqpqFgG6y4p556qiVsaWhOmm4ZhW+4=; b=msAQ300woTWovK/0saeWfjAPWebTOdVsdW1d79PRKdBVKZVx07OffFwoghsMVrNeg3 +M1kmw0Dpram+4voaLjY5HrejMPyv/fPR53FgOyAbmOUAEosuOvbc04oUdaDYHLZY5iQ L2n5EyMZeHH/2w7Da8XRYs4jwRurONCgAEKSyKH88Q/QRIwZBk9GoBlEQztljFkpSOXQ JzAFxGb9MitMzrtyY/M7kwO5VG1Usk3805DaI1TeX2eKIk3YndLtL+jwim+eWohs+gfb sIYAB7DTL3XnRJ37Wq719JK/b+UMaxfS8De43RMpBA6S9jqCwoR+Sveb+8/MTIuWxefa zM1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e83-v6si15339414pfk.198.2018.10.02.05.44.39; Tue, 02 Oct 2018 05:44:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727789AbeJBT1F (ORCPT + 99 others); Tue, 2 Oct 2018 15:27:05 -0400 Received: from www62.your-server.de ([213.133.104.62]:39856 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727690AbeJBT1E (ORCPT ); Tue, 2 Oct 2018 15:27:04 -0400 Received: from [88.198.220.130] (helo=sslproxy01.your-server.de) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1g7K1p-0008St-CJ; Tue, 02 Oct 2018 14:43:53 +0200 Received: from [62.203.87.61] (helo=linux.home) by sslproxy01.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1g7K1p-0001ll-52; Tue, 02 Oct 2018 14:43:53 +0200 Subject: Re: [PATCH bpf] bpf: don't accept cgroup local storage with zero value size To: Roman Gushchin , "netdev@vger.kernel.org" Cc: "linux-kernel@vger.kernel.org" , Kernel Team , Alexei Starovoitov References: <20181002024003.25635-1-guro@fb.com> From: Daniel Borkmann Message-ID: <8e6010ef-4e72-d167-8016-dda3fbbf8e5e@iogearbox.net> Date: Tue, 2 Oct 2018 14:43:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20181002024003.25635-1-guro@fb.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.100.1/24999/Tue Oct 2 06:46:11 2018) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/02/2018 04:41 AM, Roman Gushchin wrote: > Explicitly forbid creating cgroup local storage maps with zero value > size, as it makes no sense and might even cause a panic. > > Reported-by: syzbot+18628320d3b14a5c459c@syzkaller.appspotmail.com > Signed-off-by: Roman Gushchin > Cc: Alexei Starovoitov > Cc: Daniel Borkmann Applied to bpf, thanks Roman!