Re: [PATCH 4.4-stable 0/6] bpf: prevent out-of-bounds speculation

2018-01-13 Thread Greg KH
On Fri, Jan 12, 2018 at 05:17:15PM +0100, Jiri Slaby wrote: > Hi, > > this is a backport of these patches which I did for our kernels: > c237ee5eb33b bpf: add bpf_patch_insn_single helper > 3df126f35f88 bpf: don't (ab)use instructions to store state > e245c5c6a565 bpf: move fixup_bpf_calls() funct

Re: [PATCH 4.4-stable 0/6] bpf: prevent out-of-bounds speculation

2018-01-12 Thread Daniel Borkmann
Hi Jiri, On 01/12/2018 05:17 PM, Jiri Slaby wrote: > Hi, > > this is a backport of these patches which I did for our kernels: Thanks for doing! One comment below: > c237ee5eb33b bpf: add bpf_patch_insn_single helper > 3df126f35f88 bpf: don't (ab)use instructions to store state > e245c5c6a565 bp

[PATCH 4.4-stable 0/6] bpf: prevent out-of-bounds speculation

2018-01-12 Thread Jiri Slaby
Hi, this is a backport of these patches which I did for our kernels: c237ee5eb33b bpf: add bpf_patch_insn_single helper 3df126f35f88 bpf: don't (ab)use instructions to store state e245c5c6a565 bpf: move fixup_bpf_calls() function 79741b3bdec0 bpf: refactor fixup_bpf_calls() 8041902dae52 bpf: adjus