Skip to contentSkip to conversation

bpf: add bpf_jit_limit knob to restrict unpriv allocations

stable Ben Hutchings 2 participants 5 messages May 27, 2019 – May 30, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Please consider backporting this commit to 4.19-stable:

commit ede95a63b5e84ddeea6b0c473b36ab8bfd8c6ce3
Author: Daniel Borkmann <[email protected]>
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.

Signature · 3 lines
Ben Hutchings, Software Developer                         Codethink Ltd
https://www.codethink.co.uk/                 Dale House, 35 Dale Street
                                     Manchester, M1 2HF, United Kingdom
#1 lore raw
Quoted 9 lines · Ben Hutchings

Please consider backporting this commit to 4.19-stable:

commit ede95a63b5e84ddeea6b0c473b36ab8bfd8c6ce3
Author: Daniel Borkmann <[email protected]>
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

#2 lore raw
In reply to Ben Hutchings
Quoted 9 lines · Ben Hutchings

Please consider backporting this commit to 4.19-stable:

commit ede95a63b5e84ddeea6b0c473b36ab8bfd8c6ce3
Author: Daniel Borkmann <[email protected]>
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.

Signature · 3 lines
Ben Hutchings, Software Developer                         Codethink Ltd
https://www.codethink.co.uk/                 Dale House, 35 Dale Street
                                     Manchester, M1 2HF, United Kingdom
#3 lore raw
Quoted 7 lines · Ben Hutchings
Quoted 6 lines · Ben Hutchings

Please consider backporting this commit to 4.19-stable:

commit ede95a63b5e84ddeea6b0c473b36ab8bfd8c6ce3
Author: Daniel Borkmann <[email protected]>
Date:   Tue Oct 23 01:11:04 2018 +0200

Quoted 7 lines
Quoted 3 lines

    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

#4 lore raw
Quoted 10 lines · Greg Kroah-Hartman
Quoted 9 lines · Ben Hutchings
Quoted 8 lines · Ben Hutchings

Please consider backporting this commit to 4.19-stable:

commit ede95a63b5e84ddeea6b0c473b36ab8bfd8c6ce3
Author: Daniel Borkmann <[email protected]>
Date:   Tue Oct 23 01:11:04 2018 +0200

    bpf: add bpf_jit_limit knob to restrict unpriv allocations

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

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.

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