From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4089FC28CC3 for ; Thu, 30 May 2019 19:49:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2B91126119 for ; Thu, 30 May 2019 19:49:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726029AbfE3TtA (ORCPT ); Thu, 30 May 2019 15:49:00 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:33763 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725897AbfE3TtA (ORCPT ); Thu, 30 May 2019 15:49:00 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126] helo=xylophone) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1hWR2n-0005UK-Dh; Thu, 30 May 2019 20:48:57 +0100 Message-ID: <1559245735.24330.6.camel@codethink.co.uk> Subject: Re: [stable] bpf: add bpf_jit_limit knob to restrict unpriv allocations From: Ben Hutchings To: Greg Kroah-Hartman Cc: Sasha Levin , stable , Daniel Borkmann , bpf@vger.kernel.org Date: Thu, 30 May 2019 20:48:55 +0100 In-Reply-To: <20190530173100.GA23688@kroah.com> References: <1558994144.2631.14.camel@codethink.co.uk> <1559236680.24330.5.camel@codethink.co.uk> <20190530173100.GA23688@kroah.com> Organization: Codethink Ltd. Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Thu, 2019-05-30 at 10:31 -0700, Greg Kroah-Hartman wrote: > On Thu, May 30, 2019 at 06:18:00PM +0100, Ben Hutchings wrote: > > On Mon, 2019-05-27 at 22:55 +0100, Ben Hutchings wrote: > > > Please consider backporting this commit to 4.19-stable: > > > > > > commit ede95a63b5e84ddeea6b0c473b36ab8bfd8c6ce3 > > > Author: Daniel Borkmann > > > Date:   Tue Oct 23 01:11:04 2018 +0200 > > > > > >     bpf: add bpf_jit_limit knob to restrict unpriv allocations > > > > > > No other stable branches are affected by the issue. > > > > Actually that's wrong; the commit introducing this was backported to > > 4.4, 4.9, and 4.14.  I haven't yet checked whether this fix applies > > cleanly to them. > > It doesn't apply cleanly to those trees :( OK, then I'll try backporting it at some point. Ben. -- Ben Hutchings, Software Developer   Codethink Ltd https://www.codethink.co.uk/ Dale House, 35 Dale Street Manchester, M1 2HF, United Kingdom