All of lore.kernel.org
 help / color / mirror / Atom feed
* [stable] bpf: add bpf_jit_limit knob to restrict unpriv allocations
@ 2019-05-27 21:55 Ben Hutchings
  2019-05-28  6:52 ` Greg Kroah-Hartman
  2019-05-30 17:18 ` Ben Hutchings
  0 siblings, 2 replies; 5+ messages in thread
From: Ben Hutchings @ 2019-05-27 21:55 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin; +Cc: stable, Daniel Borkmann, bpf

Please consider backporting this commit to 4.19-stable:

commit ede95a63b5e84ddeea6b0c473b36ab8bfd8c6ce3
Author: Daniel Borkmann <daniel@iogearbox.net>
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.

Ben.

-- 
Ben Hutchings, Software Developer                         Codethink Ltd
https://www.codethink.co.uk/                 Dale House, 35 Dale Street
                                     Manchester, M1 2HF, United Kingdom

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [stable] bpf: add bpf_jit_limit knob to restrict unpriv allocations
  2019-05-27 21:55 [stable] bpf: add bpf_jit_limit knob to restrict unpriv allocations Ben Hutchings
@ 2019-05-28  6:52 ` Greg Kroah-Hartman
  2019-05-30 17:18 ` Ben Hutchings
  1 sibling, 0 replies; 5+ messages in thread
From: Greg Kroah-Hartman @ 2019-05-28  6:52 UTC (permalink / raw)
  To: Ben Hutchings; +Cc: Sasha Levin, stable, Daniel Borkmann, bpf

On Mon, May 27, 2019 at 10:55:44PM +0100, Ben Hutchings wrote:
> Please consider backporting this commit to 4.19-stable:
> 
> commit ede95a63b5e84ddeea6b0c473b36ab8bfd8c6ce3
> Author: Daniel Borkmann <daniel@iogearbox.net>
> 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.

Now queued up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [stable] bpf: add bpf_jit_limit knob to restrict unpriv allocations
  2019-05-27 21:55 [stable] bpf: add bpf_jit_limit knob to restrict unpriv allocations Ben Hutchings
  2019-05-28  6:52 ` Greg Kroah-Hartman
@ 2019-05-30 17:18 ` Ben Hutchings
  2019-05-30 17:31   ` Greg Kroah-Hartman
  1 sibling, 1 reply; 5+ messages in thread
From: Ben Hutchings @ 2019-05-30 17:18 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin; +Cc: stable, Daniel Borkmann, bpf

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 <daniel@iogearbox.net>
> 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.

Ben.

-- 
Ben Hutchings, Software Developer                         Codethink Ltd
https://www.codethink.co.uk/                 Dale House, 35 Dale Street
                                     Manchester, M1 2HF, United Kingdom

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [stable] bpf: add bpf_jit_limit knob to restrict unpriv allocations
  2019-05-30 17:18 ` Ben Hutchings
@ 2019-05-30 17:31   ` Greg Kroah-Hartman
  2019-05-30 19:48     ` Ben Hutchings
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2019-05-30 17:31 UTC (permalink / raw)
  To: Ben Hutchings; +Cc: Sasha Levin, stable, Daniel Borkmann, bpf

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 <daniel@iogearbox.net>
> > 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 :(

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [stable] bpf: add bpf_jit_limit knob to restrict unpriv allocations
  2019-05-30 17:31   ` Greg Kroah-Hartman
@ 2019-05-30 19:48     ` Ben Hutchings
  0 siblings, 0 replies; 5+ messages in thread
From: Ben Hutchings @ 2019-05-30 19:48 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Sasha Levin, stable, Daniel Borkmann, bpf

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 <daniel@iogearbox.net>
> > > 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-30 19:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27 21:55 [stable] bpf: add bpf_jit_limit knob to restrict unpriv allocations Ben Hutchings
2019-05-28  6:52 ` Greg Kroah-Hartman
2019-05-30 17:18 ` Ben Hutchings
2019-05-30 17:31   ` Greg Kroah-Hartman
2019-05-30 19:48     ` Ben Hutchings

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.